Difference between revisions of "SLiM Configuration"

no edit summary
imported>Verityproductions
imported>Verityproductions
Line 95: Line 95:
  esac
  esac


The '''default session''' has been set to xfce4 in this instance as the author's Manjaro installation came with that desktop environment pre-installed. Yours may be different, and you are entirely free to change it if you wish. The word '''exec''' means ''execute''. Note that between the lines 'case "$1" in' and 'esac', each line starts with the name of a desktop environment, followed by the command to ''execute'' (i.e. start) that particular desktop environment. The exception is the last line which begins with an asterisk ('*'). This is to ensure that if a match is not found, then the default session will be started instead - which in this instance, is xfce.
The '''default session''' has been set to xfce4 in this instance as the author's Manjaro installation came with that desktop environment pre-installed. Yours may be different, and you are entirely free to change it if you wish. The word '''exec''' means ''execute''. Note that between the lines 'case "$1" in' and 'esac', each line starts with the name of a desktop environment, followed by the command to ''execute'' (i.e. start) that particular desktop environment. The exception is the last line which begins with an asterisk ('*'). This is to ensure that if a match is not found, then the default session will be started instead - which in this instance, is xfce4.


'''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.