Difference between revisions of "SLiM Configuration"
Views
Actions
Namespaces
Variants
Tools
no edit summary
imported>Verityproductions |
imported>Verityproductions |
||
Line 1: | Line 1: | ||
=Overview= | =Overview= | ||
{{tip|Since version 1.6.2, SLiM will automatically find installed desktop | {{tip|Since version 1.6.2, SLiM will automatically find installed desktop environments and window managers.}} | ||
[[File:slim.png|thumb|left|375px]] | [[File:slim.png|thumb|left|375px]] | ||
Line 8: | Line 8: | ||
SLiM - the '''S'''imple '''L'''og'''i'''n '''M'''anager - is currently the default Display Manager for the Manjaro Openbox (ManjaroBox) flavour. | SLiM - the '''S'''imple '''L'''og'''i'''n '''M'''anager - is currently the default Display Manager for the Manjaro Openbox (ManjaroBox) flavour. | ||
SLiM is highly configurable with an abundance of extra themes available | SLiM is highly configurable with an abundance of extra themes available. Since version 1.6.2, it is suitable for less experienced users as it can now automatically detect any installed desktop environments and window managers. However, users installing SLiM manually will still need to make an amendment to the '''.xinitrc'' configuration file for it to work properly. | ||
<br clear="all" /> | |||
= Configuring SLiM to Start Desktop Environments = | = Configuring SLiM to Start Desktop Environments = | ||
{{tip| | {{tip|It is not necessary to take any action for Manjaro Openbox (ManjaroBox) release 0.8.8 and onwards.}} | ||
'''Users who have installed an earlier version of SLiM''' (e.g. provided with Manjaro Openbox 0.8.7.1 and earlier) will need to manually edit both the ''SLiM configuration file'' (slim.conf) and the ''X-Windows initialisation file'' (.xinitrc) in order to enable the new auto-detect feature. '''Users who have manually installed the latest version of SLiM''' will only need to manually edit the '''.xinitrc''' file. The amendments required are themselves very quick and easy to implement. | |||
== | ==Edit the SLiM Configuration File== | ||
The purpose of editing this file is to | The purpose of checking and/or editing this file is to ensure that SLiM will automatically detect installed desktop environments and window managers. You will need to first open your terminal in order to edit the '''SLiM configuration file'''. The syntax of the command to do this is: | ||
sudo [text editor] /etc/slim.conf | sudo [text editor] /etc/slim.conf | ||
For example, if you wish to edit the file | For example, if you wish to edit the file using Geany (provided with the Openbox flavour) then enter: | ||
gksu geany /etc/slim.conf | |||
Otherwise | Otherwise, if you wish to edit the file using Gedit (provided with the XFCE flavour) then enter: | ||
sudo gedit /etc/slim.conf | sudo gedit /etc/slim.conf | ||
==Ensure SLiM Automatically Detects Installed Environments== | |||
Once the SLiM configuration file has been opened, it will be necessary to ensure that the following line is present: | |||
sessiondir /usr/share/xsessions/ | |||
'''Users who had a previous version of SLiM installed''' must replace the '''sessions''' command with the above '''sessiondir''' command. For example, '''users who installed Manjaro Openbox 0.8.7.1 or earlier''' should first find the following section: | |||
'''# Available sessions (first one is the default).''' | '''# Available sessions (first one is the default).''' | ||
Line 52: | Line 55: | ||
And make the necessary amendment so that it now looks like this: | |||
'''# Available sessions (first one is the default).''' | |||
# The current chosen session name is replaced in the login_cmd | |||
# above, so your login command can handle different sessions. | |||
# see the xinitrc.sample file shipped with slim sources | |||
'''<font color="green">sessiondir /usr/share/xsessions/</font color>''' | |||
The next - and final - step necessary is to edit and configure the '''X-Windows Initialisation File'''. | Once satisfied that the ''sessiondir'' command is present and/or has replaced the old ''sessions'' command, save and close the file. The next - and final - step necessary is to edit and configure the '''X-Windows Initialisation File'''. | ||