Monday, February 7, 2011

[HOWTO] Add/Change plymouth theme in SalineOS (Squeeze)

If you are using Debian Squeeze, you can install plymouth and it will install some plymouth themes by default. You can list the installed themes by running the following command in the terminal:

 /usr/sbin/plymouth-set-default-theme --list 

If you wish to install a new theme and if the theme is meant for Ubuntu, you can’t directly install it in Debian testing. If you get a deb, you will either get a failed dependency error like the following or it will not work even if you manage to install it:

 Error: Cannot install ‘plymouth-label’

 Plymouth is in the repo, but if you have a deb, open it up with file-roller (archive manager) and extract the directory which is inside ./lib/plymouth/themes in the deb archive. If you have a tarball (or some other archive) with instructions, just extract the directory. Then, just copy the directory to /usr/share/plymouth/themes If the directory name contains any capital letters, get rid of them and change the name such that the directory name is in all-lower-case. Also, get rid of spaces and such in the directory name. Inside the theme directory, you will see a .plymouth file. Open it up in a text editor and change the paths in it to /usr/share/plymouth/themes instead of /lib/plymouth/themes. Save the file and the theme is installed. 

Now, run the following to list the themes:

 /usr/sbin/plymouth-set-default-theme --list 

You should see the newly installed theme listed. To change the theme, just run the following as root:

 /usr/sbin/plymouth-set-default-theme theme-name 

To test it, use the plymouth-preview tool. To commit changes and rebuild initrd, use the following command as root:

 update-initramfs -u 

If everything goes well, the theme should be changed.

Sunday, February 6, 2011

Change GDM 3 Login Background


I am using SalineOS (Debian Squeeze) and I have gdm3 installed.  I wanted to change the default gdm background to match my desktop wallpaper and this is how I did it:

Go to /usr/share/images/desktop-base/ and change the name of the image you want to:

login-background.svg

Of course the image you want needs to be there already so put it there if not as root.  Rename the original to login-backgroundOLD.svg or some such.

HTH

Saturday, February 5, 2011

Replacing Slim with GDM as the Default Display Manager

I'm changing my DE from Xfce to Gnome for several reasons, and want GDM to start up instead of SLIM.  To do this, Go to /etc/X11/default-display-manager

and change:

/usr/bin/slim

TO:

/usr/bin/gdm3