Difference between revisions of "SLiM Configuration"

no edit summary
imported>Verityproductions
imported>Verityproductions
(2 intermediate revisions by the same user not shown)
Line 83: Line 83:
The key point to keep in mind is that the name(s) of the desktop(s) listed in the SLiM configuration file must be matched with those listed in the X-Windows Initialisation file. As such, it is therefore '''<u>vitally important</u>''' that the name of any given desktop environment is listed '''EXACTLY''' the same way in both files. This includes the use of captial and lower-case letters. Should there by any difference at all, then there will not be a match, and your chosen desktop environment will not be started.
The key point to keep in mind is that the name(s) of the desktop(s) listed in the SLiM configuration file must be matched with those listed in the X-Windows Initialisation file. As such, it is therefore '''<u>vitally important</u>''' that the name of any given desktop environment is listed '''EXACTLY''' the same way in both files. This includes the use of captial and lower-case letters. Should there by any difference at all, then there will not be a match, and your chosen desktop environment will not be started.


The names and commands themselves are added after the '''DEFAULTSESSION=''' command. In the example below, notice that each desktop name is followed by the appropriate command to actually start a desktop environment (e.g. the name 'kde' is followed by the command 'startkde'). All the names used in the SLiM configuration file have been listed exactly the same way here, and have been '''<font color="green">colured in green</font color>''' for illustrative purposes.
The names and commands themselves are added after the '''DEFAULTSESSION=''' command. In the example below, notice that each desktop name is followed by the appropriate command to actually start it (e.g. the name 'kde' is followed by the command 'startkde'). All the names used in the SLiM configuration file have been listed exactly the same way here, and have been '''<font color="green">colured in green</font color>''' for illustrative purposes.


  '''DEFAULTSESSION=xfce4-session'''
  '''DEFAULTSESSION=xfce4-session'''
Line 100: Line 100:


'''You can use all of the lines between 'case "$1" in' and 'esac' in the above example if you wish, even if you do not have all of these desktop environments installed'''. Doing so will not cause any problems, and can make life much easier in future if you decide to install a new desktop (i.e. it will only be necessary to edit the SLiM configuration file). Otherwise, delete the approptiate lines for any desktops you do not have installed.
'''You can use all of the lines between 'case "$1" in' and 'esac' in the above example if you wish, even if you do not have all of these desktop environments installed'''. Doing so will not cause any problems, and can make life much easier in future if you decide to install a new desktop (i.e. it will only be necessary to edit the SLiM configuration file). Otherwise, delete the approptiate lines for any desktops you do not have installed.


Once your amendments have been completed, save your changes and close the configuration file by:
Once your amendments have been completed, save your changes and close the configuration file by:
Line 108: Line 109:


Now reboot the system for the changes to take effect.
Now reboot the system for the changes to take effect.
=Selecting Desktop Environments in SLiM=
Where two or more desktop environments have be installed - and consequently enabled by editing the above files - then they can be cycled and selected by pressing the '''F1''' key on the SLiM login screen.
[[Category:Customisation and Configuration]]
[[Category:Contents Page]]