July 3, 2011

[HOW TO] Change login background - Fedora 15/14

If you want to change the login background in Fedora 15/14 just do the following:
  • Fedora 15
Open a terminal and log in as root:
su -
Now type:
su - gdm -s /bin/bash
dbus-launch
Once you type in the above command you will get an output like this(note that your output will be different):

DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-nOqWeu3v8i,guid=a054a93653376a 1b2b24c1e0000008fb
DBUS_SESSION_BUS_PID=4571
Now type(replace with your output):
export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-nOqWeu3v8i,guid=
a054a93653376a1b2b24c1e0000008fb
export DBUS_SESSION_BUS_PID=4571
Now to change the login background type the following and change the /path/name with yours:
GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background
picture-uri "file:///usr/share/backgrounds/pic/backblack.jpg"
Thats it! Restart/Logout and enjoy your new background.
  • Fedora 14
In order to change your background in Fedora 14 you have to put the picture you want to use in /usr/share/backgrounds

Log in as root:
su -
and type:
gconftool-2 --direct --config-source=xml:readwrite:
/etc/gconf/gconf.xml.defaults -t
str -s /desktop/gnome/background/picture_filename
/usr/share/backgrounds/pic/backblack.jpg >/dev/null
Just make sure to change the path/name(in this case /pic/backblack.jpg) with yours.
Thats it!

No comments:

Post a Comment