So, you want to change the theme or background for GDM in Fedora 9 and can't find gdmsetup? Since GDM is currently being undergoing a rewrite, some functionality from the old version is temporarily missing. You might also find some changes. For instance, gdmsetup no longer exists.
bash$ gdmsetup
-bash: gdmsetup: command not found
The New Way
You can change various GDM parameters as described in the GDM Configuration page. In short, the GDM backend is configured using files in /etc/gdm and the front end uses GConf for most settings. Unfortunately, there is no option (yet!) to change the GDM theme or background.
bash$ ls /etc/gdm/
custom.conf gdm.schemas Init PostLogin PostSession PreSession Xsession
bash$ gconf-editor
Change your GDM Background
Fedora 9 currently displays as a GDM menu with a background that changes depending on the time of day. The XML governing the GDM 2.22 backgrounds and their timing is /usr/share/backgrounds/waves/waves.xml. To change your GDM background, you will need to edit this XML file. I suggest you backup the entire 'waves' folder first.
bash# cd /usr/share/backgrounds
bash# cp -a waves waves.orig
bash# cd waves && vim waves.xml
With a custom background installed in /home/foo/background.jpg, the XML can be trimmed to just this:
<background>
<static>
<!-- 24 Hours -->
<duration>86400.00</duration>
<file>
<size width="800" height="480">/home/foo/background.jpg</size>
<size width="1280" height="1024">/home/foo/background.jpg</size>
<size width="1600" height="1200">/home/foo/background.jpg</size>
<size width="1920" height="1200">/home/foo/background.jpg</size>
</file>
</static>
</background>
Save the file, and restart GDM by logging out of Gnome.
Alternate One Liner
Alternately, Todd Zullinger showed me how to change the background using gconftool-2.
From: https://www.redhat.com/archives/fedora-list/2008-June/msg00323.html
su -c 'gconftool-2 --direct --config-source xml:readwrite:/var/lib/gdm/.gconf -s --type string /desktop/gnome/background/picture_filename /home/foo/background.jpg' gdm
Comments
hi, thanks for this useful
hi,
thanks for this useful note!
unfortunately the method of Todd Zullinger did not work for me.
anyway, changing waves.xml works and the waves.xml file can be simplified even further. i did it like this:
86400.00
/home/foo/background.jpg
Very good post, thanks a
Very good post, thanks a lot.
This worked for me under
This worked for me under Fedora 10:
1. Login as root and do "init 3" to make sure gconf is not running.
2. Created an xml file similar tho that noted above. (I used mysolar.xml)
3. Then run this to set the background:
gconftool-2 --set --type String \
/desktop/gnome/background/picture_filename \
/usr/share/backgrounds/mysolar/mysolar.xml
4. Then run this to verify:
gconftool-2 --get /desktop/gnome/background/picture_filename
Alan
In fedora 10 there is a way
In fedora 10 there is a way to do it via the GUI.
Log in in gnome (as a normal user) and go to System -> Preferences-> Look and Feel -> Appearance
Go to the background tab, choose the background that you want and click 'Make default' at the bottom.
Christof
This blog is about the gdm
This blog is about the gdm login screen image. No the user desktop image. With respect to you message, with the nautilus program running (the default setup) use the right mouse button on the desktop.This should pop up a menu. The last item is "Change Desktop Background"
sph
You see, when you press
You see, when you press "Make default", this desktop background image becomes the gdm theme background too;)
niiiiiice, of course if it
niiiiiice,
of course if it works. Just did that and waitin for download to complete.
this trick really works -
this trick really works - great!