After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 782696 - Background Folder Inflexible
Background Folder Inflexible
Status: RESOLVED DUPLICATE of bug 682126
Product: gnome-control-center
Classification: Core
Component: Background
3.14.x
Other All
: Normal normal
: ---
Assigned To: Debarshi Ray
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-16 15:00 UTC by jfblagden
Modified: 2017-10-02 17:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jfblagden 2017-05-16 15:00:31 UTC
It’s not possible have Backgrounds use images from specific folders. It can only use photos which are just hanging out in Photos, outside of a folder. This is very aggravating in terms of organization. It should be possible to direct Backgrounds in Gnome-Control-Center to a specific folder of backgrounds, perhaps named “Backgrounds” or “Wallpapers” or even images which are in other folders, i.e. “Hawaii Trip”.
Comment 1 Miguel Vaello Martínez 2017-07-20 15:26:49 UTC
(In reply to jfblagden from comment #0)
> It’s not possible have Backgrounds use images from specific folders. It can
> only use photos which are just hanging out in Photos, outside of a folder.
> This is very aggravating in terms of organization. It should be possible to
> direct Backgrounds in Gnome-Control-Center to a specific folder of
> backgrounds, perhaps named “Backgrounds” or “Wallpapers” or even images
> which are in other folders, i.e. “Hawaii Trip”.

That is a very recurrent complaint in some GNOME apps. In most of the cases the default folder/s are hardcoded and there is no gsetting for that, therefor I think that it doesn't be crazy to use a setting in this case.
Comment 2 Debarshi Ray 2017-08-15 15:54:02 UTC

*** This bug has been marked as a duplicate of bug 682126 ***
Comment 3 jfblagden 2017-10-02 12:28:47 UTC
(In reply to Debarshi Ray from comment #2)
> 
> *** This bug has been marked as a duplicate of bug 682126 ***

Different bug.
Comment 4 jfblagden 2017-10-02 12:29:04 UTC
I think this could be fixed in line 1011 of bg-pictures-source.c. I'm just not sure how to fix it. I learned Java, not C or C++ and I'm also not too familiar with desktop environment development, so I'm a little lost. 

I'm not sure if G_USER_DIRECTORY_PICTURES should be changed to G_USER_DIRECTORY_PICTURES/WALLPAPERS or G_USER_DIRECTORY_PICTURES_WALLPAPERS
Comment 5 Debarshi Ray 2017-10-02 14:07:24 UTC
(In reply to jfblagden from comment #3)
> (In reply to Debarshi Ray from comment #2)
> > 
> > *** This bug has been marked as a duplicate of bug 682126 ***
> 
> Different bug.

Sadly, no. This is a duplicate of bug 682126 !

The proposed solution is to same queries as Photos to show the most recent images. Those images are going to come mainly from XDG_PICTURES_DIR and online accounts added by the user. Photos also consults XDG_DOWNLOAD_DIR and XDG_DESKTOP_DIR for backwards compatibility, but maybe we should drop those.

As a user, if you want to change the location of the source then you can point XDG_PICTURES_DIR to somewhere else. Or you can add custom locations via Search panel in Settings.

*** This bug has been marked as a duplicate of bug 682126 ***
Comment 6 jfblagden 2017-10-02 14:14:35 UTC
(In reply to Debarshi Ray from comment #5)
> (In reply to jfblagden from comment #3)
> > (In reply to Debarshi Ray from comment #2)
> > > 
> > > *** This bug has been marked as a duplicate of bug 682126 ***
> > 
> > Different bug.
> 
> Sadly, no. This is a duplicate of bug 682126 !
> 
> The proposed solution is to same queries as Photos to show the most recent
> images. Those images are going to come mainly from XDG_PICTURES_DIR and
> online accounts added by the user. Photos also consults XDG_DOWNLOAD_DIR and
> XDG_DESKTOP_DIR for backwards compatibility, but maybe we should drop those.
> 
> As a user, if you want to change the location of the source then you can
> point XDG_PICTURES_DIR to somewhere else. Or you can add custom locations
> via Search panel in Settings.
> 
> *** This bug has been marked as a duplicate of bug 682126 ***

I just want to be able to be able to choose a directory or to at least have it so wallpapers/backgrounds can be chosen from a preset folder.
Comment 7 Debarshi Ray 2017-10-02 16:56:39 UTC
(In reply to jfblagden from comment #6)
> I just want to be able to be able to choose a directory or to at least have
> it so wallpapers/backgrounds can be chosen from a preset folder.

If you "just want to" do it then you could do a lot of things ranging from using a different application (eg., nautilus, your web browser, gnome-photos) to set the wallpaper, or just compile your own gnome-control-center with a hard-coded path.

Things get complicated when you want to do it the right way. One that's generic enough for upstream use.
Comment 8 jfblagden 2017-10-02 17:01:06 UTC
(In reply to Debarshi Ray from comment #7)
> (In reply to jfblagden from comment #6)
> > I just want to be able to be able to choose a directory or to at least have
> > it so wallpapers/backgrounds can be chosen from a preset folder.
> 
> If you "just want to" do it then you could do a lot of things ranging from
> using a different application (eg., nautilus, your web browser,
> gnome-photos) to set the wallpaper, or just compile your own
> gnome-control-center with a hard-coded path.
> 
> Things get complicated when you want to do it the right way. One that's
> generic enough for upstream use.

I just want to be able to have a single folder for my wallpapers and I want gnome-control-center to be able to see all of the wallpapers in that folder with minimal user input - directing it to the folder is the most I should have to do. The hardcoding solution I proposed earlier was just the quickest way I could think of for implementing this feature. I agree that it would be much better to be able to direct gnome-control-center to the wallpaper folder.