Difference between revisions of "SLiM Configuration"
Views
Actions
Namespaces
Variants
Tools
no edit summary
imported>Verityproductions |
imported>Verityproductions |
||
Line 3: | Line 3: | ||
{{note|It will be necessary to manually edit the SLiM configuration file and the X-Windows initialisation file whenever a new desktop is added or an old one is removed.}} | {{note|It will be necessary to manually edit the SLiM configuration file and the X-Windows initialisation file whenever a new desktop is added or an old one is removed.}} | ||
= Configuring SLiM to Start Desktop Environments = | |||
Once SLiM has been '''[[Install_Display_Managers#SLiM|installed and enabled]]''', it will be necessary to manually edit both the ''SLiM configuration file'', as well as the ''X-Windows initialisation file'', in order to actually start your installed desktop environment(s). '''If these files are not edited - or not edited properly - then it is likely that you will not be able to proceed any further than the login screen itself.''' | |||
==Open the SLiM Configuration File== | |||
The purpose of editing this file is to add the name(s) of your installed desktop environment(s). SLiM will then pass these name(s) to the X-Windows initialisation file (.xinitrc), which in turn will actually start your desired desktop environment(s). 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: | |||
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 | ||
Line 28: | Line 26: | ||
==Add Desktop Environment Names to | ==Add Desktop Environment Names to the SLiM Configuration File== | ||
Once the SLiM configuration file has been opened, it will be necessary to add the name(s) of your installed desktop(s) in order to: | Once the SLiM configuration file has been opened, it will be necessary to add the name(s) of your installed desktop(s) in order to: | ||
Line 34: | Line 32: | ||
* display the name(s) of your desktop(s) on the login screen - which is helpful if you want to know which one you are switching to, and | * display the name(s) of your desktop(s) on the login screen - which is helpful if you want to know which one you are switching to, and | ||
* to tell the .xinitrc file which desktop it is to start | * to tell the .xinitrc file which desktop it is to start | ||
This is undertaken in the '''# Available Sessions''' section, located towards the middle of the file. In the example below, all the available desktops have been added. The text itself has been '''<font color="green">colured in green</font color>''' for illustrative purposes. | This is undertaken in the '''# Available Sessions''' section, located towards the middle of the file. In the example below, all the available desktops have been added. The text itself has been '''<font color="green">colured in green</font color>''' for illustrative purposes. | ||
Line 53: | Line 52: | ||
The next - and final - step necessary is to edit and configure the '''X-Windows Initialisation File'''. | |||
==Open | ==Open the X-Windows Initialisation File== | ||
You will need to first open your terminal in order to edit the '''X-Windows initialisation file'''. The syntax of the command to do this is: | The .xinitrc is responsible for actually starting your installed desktop environment(s). In essence, the .xinitrc file will take the name of your chosen (or only) desktop environment from SLiM, and then use that to determine which command to use to actually start it. You will need to first open your terminal in order to edit the '''X-Windows initialisation file'''. The syntax of the command to do this is: | ||
sudo [text editor] ~/.xinitrc | sudo [text editor] ~/.xinitrc | ||
Line 75: | Line 72: | ||
==Add Desktop | ==Add Desktop Environments to the X-Windows Initialisation File== | ||
Again, the purpose of editing this file is to: | Again, the purpose of editing this file is to: |