Red Hat Bugzilla – Bug 82108
gnome-session-properies doesn't set the background properly on login
Last modified: 2013-04-02 00:17:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021216
Description of problem:
gnome-session-properties doesn't set the background properly on login. I have a
black background with the transparent lightrays setup in
gnome-background-properties, but get the default light blue background everytime
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set non-default background
Actual Results: light blue background
Expected Results: non-default background
It does show the background settings I set in gnome-background-properties. It
just doesn't set them on login.
Do you mean you temporarily have the wrong background during login, or that
you end up with the wrong one permanently?
In any case, gnome-session isn't involved, afaik.
Permanently, unless I open gnome-background-properties and clicking between
options to get it to set the background.
What program is supposed to set the background? Might I be missing it from my
is gnome-settings-daemon running? Did it get removed from your session?
gnome-settings-daemon is running, but I don't see it as part of my session.
sounds like gnome-settings-daemon was removed from your session. Can you save
the session w/ it running, log out, log back in, and confirm that your
background is set when it's part of the session?
gnome-settings-daemon isn't added to the session list if I select save settings
on exit. It does appear to run on login anyway. I tried adding it to the manual
session and it had no effect.
Below is part of the patch from the url above that describes why
gnome-setting-daemon wasn't setting my background. RedHat's gnome desktop
defaults to Nautilus. I always disable Nautilus, because I am very unfond of it.
But it has set the gconf setting which gave gnome-settings-daemon that Nautilus
was going to handle the drawing of the desktop. In the past
gnome-settings-daemon and Nautilus would both draw the background. To avoid this
the gconf setting was made. I think the proper way to handle this is to either
not let Nautilus draw the background(gets my vote), or make sure Nautilus runs
before gnome-settings-daemon and if gnome-settings-daemon sees Nautilus running
it doesn't draw the desktop.
+ /* If this is set, nautilus will draw the background and is
+ * almost definitely in our session. however, it may not be
+ * running yet (so is_nautilus_running() will fail). so, on
+ * startup, just don't do anything if this key is set so we
+ * don't waste time setting the background only to have
+ * nautilus overwrite it.
+ if (gconf_client_get_bool (client, "/apps/nautilus/preferences/show_desktop",
Closing old bug