Wednesday, 20 February 2013

Change The SliTaz Login Screen


The Login screen for SliTaz is handled by SLiM (Simple Login Manager). The easiest way to customize this is to change the theme. This is an easy process. This was completed in the latest version 4.0.

Go to http://slim.berlios.de/themes01.php which is the SLiM page for themes.

Once you have downloaded your theme open a terminal and issue type the following command:

tar -xvfz themename.tar.gz /usr/share/slim/themes

Then you just need to tell SLiM to use the new theme.

Open /etc/slim.conf (in Leafpad or Beaver) and look for the lines:

# current theme, use comma separated list to specify a set to 
# randomly choose from
current_theme slitaz

And change to:

# current theme, use comma separated list to specify a set to 
# randomly choose from
current_theme themename

If you want it to be random between various themes:

# current theme, use comma separated list to specify a set to 
# randomly choose from
current_theme slitaz, themename, themename

Save the file. Logout of X and you will see the changes at the login screen.


Note: themename should be the theme name for the theme. In my case it was:

fingerprint.tar.gz which was extracted to /usr/share/slim/themes/fingerprint and then the line in slim.conf was changed to

current_theme fingerprint

The line in slim.conf is always the folder name. That is it.

I was going to write how to create a theme for SLiM from scratch but the SLiM website has a great manual for that. So there is no point re-inventing the wheel.

SLiM Manual - http://slim.berlios.de/manual.php
SLiM Theme HowTo - http://slim.berlios.de/themes_howto.php

No comments:

Post a Comment

Thank you for your comment. Please note that all comments are not moderated and as such are not the responsibility of this blog; or its author.