Hide Forgot
Can't change background using org.gnome.desktop.background.gschema.override on baremetal machine. I tested this on 2 VMs and 2 baremetal machines. Version-Release number of selected component (if applicable): RHEL-7.0-20131127.1 with latest updates Steps to Reproduce: Have baremetal machine with RHEL7 installed. 1. Download wallpaper: cd /usr/share/backgrounds/; wget http://wallupload.com/ wp-content/uploads/2013/03/RedHat-With-Cool-Wallpaper.png 2. Using your favorite editor create override file in: /usr/share/glib-2.0/ schemas/org.gnome.desktop.background.gschema.override 3. Paste: [org.gnome.desktop.background] picture-uri='file:///usr/share/backgrounds/RedHat-With-Cool-Wallpaper.png' 4. Run as a superuser: glib-compile-schemas /usr/share/glib-2.0/schemas/ 5. Logout and login again. Actual results: Background doesn't change. Expected results: Wallpaper image on all desktops and monitors should be changed to selected image.
Does gsettings get org.gnome.desktop.background picture-uri show the expected result?
Yes.
Florian, do you plan to fix this one in the pre RC phase? We are really close to exception process so we should have this at least acked
(In reply to Martin Holec from comment #0) > Can't change background using org.gnome.desktop.background.gschema.override > on baremetal machine. > > [...] > > 2. Using your favorite editor create override file in: /usr/share/glib-2.0/ > schemas/org.gnome.desktop.background.gschema.override Oh, so here's another observation: The default background is already set using an override file, so unless you remove /usr/share/glib-2.0/schemas/10_org.gnome.desktop.background.default.gschema.override, you'll end up with two conflicting settings. Does it work if you change the existing override instead of creating a new file?
(In reply to Vladimir Benes from comment #4) > do you plan to fix this one in the pre RC phase? To be honest, I don't think this is a bug in gnome-shell - there is no special treatment of this particular setting, so if the problem is not the observation in comment #5, then something is wrong with glib's override mechanism (e.g. a glib or dconf issue). > We are really close to exception process so we should have this at least acked OK, I've requested the necessary permissions.
(In reply to Florian Müllner from comment #5) > (In reply to Martin Holec from comment #0) > > Can't change background using org.gnome.desktop.background.gschema.override > > on baremetal machine. > > > > [...] > > > > 2. Using your favorite editor create override file in: /usr/share/glib-2.0/ > > schemas/org.gnome.desktop.background.gschema.override > > Oh, so here's another observation: > The default background is already set using an override file, so unless you > remove > /usr/share/glib-2.0/schemas/10_org.gnome.desktop.background.default.gschema. > override, you'll end up with two conflicting settings. Does it work if you > change the existing override instead of creating a new file? This doesn't work either.
Mmh, I must admit I'm out of ideas for now - I have tested the following in a RHEL-7 VM: 1. either create a new override file as indicated and remove the existing one, or change the existing file to reference a different image 2. run glib-compile-schemas /usr/share/glib-2.0/schemas 3. log out + log in again In both cases I get the new background as expected :-(
(In reply to Florian Müllner from comment #9) > Mmh, I must admit I'm out of ideas for now So here is another one (thanks Matthias!) - the override only affects the default setting, so if you changed the setting at some point in the past, the changed default value will not take effect. Does "gsettings reset org.gnome.desktop.background picture-uri" make a difference?
(In reply to Florian Müllner from comment #10) > (In reply to Florian Müllner from comment #9) > > Mmh, I must admit I'm out of ideas for now > > So here is another one (thanks Matthias!) - the override only affects the > default setting, so if you changed the setting at some point in the past, > the changed default value will not take effect. > Does "gsettings reset org.gnome.desktop.background picture-uri" make a > difference? This works for me.
(In reply to Martin Holec from comment #11) > This works for me. Great! So does the test case in the description now work as expected? Can we close this bug?