You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

PTrenholme

Beginner

  • "PTrenholme" started this thread

Posts: 5

Location: Olympia, Washington, USA

Occupation: Retired Statistician/Programmer

  • Send private message

1

Thursday, December 14th 2006, 1:05am

KDM automatic login background change

When I use KDM and specify that I want a random background on each login, the option fails to work (on Fedora) because the Current WallpaperName value in /etc/kde/kdm/backgroundrc is set to the first random value used, and that setting apparently overides the "random" selection.

By putting the following code in /etc/rc.d/rc.local the desired behavior is restored:

Source code

1
2
3
# Remove any current wallpaper name from the login background
sed -i s/^CurrentWallpaperName=.*$/CurrentWallpaperName=/ /etc/kde/kdm/backgroundrc
sed -i s/^LastChange=.*$/LastChange=0/ /etc/kde/kdm/backgroundrc