Difference between revisions of "SLiM Configuration"
Views
Actions
Namespaces
Variants
Tools
no edit summary
imported>Verityproductions |
imported>Verityproductions |
||
Line 41: | Line 41: | ||
# above, so your login command can handle different sessions. | # above, so your login command can handle different sessions. | ||
# see the xinitrc.sample file shipped with slim sources | # see the xinitrc.sample file shipped with slim sources | ||
'''<font color="green">sessions xfce,gnome3,kde,cinnamon,razor-qt,openbox,lxde</font color>''' | '''<font color="green">sessions xfce,gnome3,kde,cinnamon,razor-qt,openbox,lxde,mate </font color>''' | ||
As illustrated, if two or more desktops are listed, they must be seperated with a comma (''','''). In addition, as stated, the first desktop listed will be the default. This means that if you do not choose which desktop you want on the login screen, the name of the default one will be automatically sent to the .xinitrc file. Once your amendments have been completed, save your changes and close the configuration file by: | As illustrated, if two or more desktops are listed, they must be seperated with a comma (''','''). In addition, as stated, the first desktop listed will be the default. This means that if you do not choose which desktop you want on the login screen, the name of the default one will be automatically sent to the .xinitrc file. '''You do not have to add all of the desktops listed in the above illustration.''' Once your amendments have been completed, save your changes and close the configuration file by: | ||
* '''nano''': Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or | * '''nano''': Press CTRL and 'x' to exit, 'y' to save, and <enter> to finish, or | ||
Line 100: | Line 100: | ||
'''<font color="green">razor-qt</font color>''') exec razor-session ;; | '''<font color="green">razor-qt</font color>''') exec razor-session ;; | ||
'''<font color="green">openbox</font color>''') exec openbox-session ;; | '''<font color="green">openbox</font color>''') exec openbox-session ;; | ||
'''<font color="green">mate</font color>''') exec mate-session ;; | |||
'''<font color="green">lxde</font color>''') exec lxsession ;; | '''<font color="green">lxde</font color>''') exec lxsession ;; | ||
*) exec $DEFAULTSESSION ;; | *) exec $DEFAULTSESSION ;; | ||
Line 115: | Line 116: | ||
The exception is the last line which begins with an asterisk ('*' - a wildcard). 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. Again, if the name of a desktop environment listed in this file does not exactly match a name passed to it by the SLiM configuration file, then the actual command to start that desktop cannot be executed. | The exception is the last line which begins with an asterisk ('*' - a wildcard). 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. Again, if the name of a desktop environment listed in this file does not exactly match a name passed to it by the SLiM configuration file, then the actual command to start that desktop cannot be executed. | ||
If you wish, you are free to use the entire example provided in your own .xinitrc file, 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 if you decide to install any new desktops at a future point (i.e. it will only be necessary to edit the SLiM configuration file). Otherwise you may just delete the lines for any desktop environments that you do not have installed. | If you wish, you are free to use the entire example provided in your own .xinitrc file, 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 if you decide to install any new desktops at a future point (i.e. it will only be necessary to edit the SLiM configuration file). '''Otherwise you may just delete the lines for any desktop environments that you do not have installed'''. | ||