[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
slackware:slim [2012/08/23 17:38 (UTC)] kikinovakhowtos:slim [2012/08/26 16:42 (UTC)] – [Basic configuration (system level)] - your machine not you noryungi
Line 2: Line 2:
  
 ====== SLiM (Simple Login Manager) ====== ====== SLiM (Simple Login Manager) ======
- 
-//By Niki Kovacs (kikinovak)// 
  
 [[http://slim.berlios.de | SLiM ]] is an acronym for //Simple Login Manager//. If you use one of the lightweight desktop environements like Xfce, Fluxbox, Blackbox or WindowMaker, you might want to use SLiM.  [[http://slim.berlios.de | SLiM ]] is an acronym for //Simple Login Manager//. If you use one of the lightweight desktop environements like Xfce, Fluxbox, Blackbox or WindowMaker, you might want to use SLiM. 
Line 10: Line 8:
  
   * KDM (heavy)   * KDM (heavy)
-  * XDM (butt-ugly) +  * XDM (visually unappealing
- +===== Installation =====
-==== Installation ====+
  
-SLiM doesn't ship with a stock Slackware installation, but you can easily install it from [[http://slackbuilds.org | SBo]].  +SLiM doesn't ship with a stock Slackware installation, but you can easily install it from [[http://slackbuilds.org/result/?search=slim | SBo]].  
- +===== Basic configuration (system level) =====
-==== Basic configuration (system level) ====+
  
 All login managers (SLiM, GDM, KDM, XDM) are supposed to start in runlevel 4, so make sure this is actually your default runlevel. Take a peek in ''/etc/inittab'' and see if you have the following: All login managers (SLiM, GDM, KDM, XDM) are supposed to start in runlevel 4, so make sure this is actually your default runlevel. Take a peek in ''/etc/inittab'' and see if you have the following:
Line 24: Line 20:
 id:4:initdefault: id:4:initdefault:
 </code> </code>
 +
 +You can also check the current runlevel of your machine by typing the following command:
 +<code>
 +# who -r
 +         run-level 4  2012-07-04 21:44                   last=S
 +</code>
 +
 +In the example shown above, the current runlevel of your machine is also "4".
  
 Now edit ''/etc/rc.d/rc.4'' and add a few lines to start SLiM automatically on boot. The order is important here. Insert the stanza right before the one that manages GDM, like this: Now edit ''/etc/rc.d/rc.4'' and add a few lines to start SLiM automatically on boot. The order is important here. Insert the stanza right before the one that manages GDM, like this:
Line 44: Line 48:
 </code> </code>
  
-==== Basic configuration (user level) ====+===== Basic configuration (user level) =====
  
 There's one last thing left to do before your shiny new login manager can be put to use. Run the following command as a normal user: There's one last thing left to do before your shiny new login manager can be put to use. Run the following command as a normal user:
Line 54: Line 58:
 This will launch Slackware's window manager selection dialog box. Choose your window manager (Xfce, Fluxbox, Blackbox, whatever) and hit OK. This spews out a new ''~/.xinitrc'' file in your home directory. We won't go into the gory details of this file, since the one interesting thing about it is that it enables you to log in using SLiM.  This will launch Slackware's window manager selection dialog box. Choose your window manager (Xfce, Fluxbox, Blackbox, whatever) and hit OK. This spews out a new ''~/.xinitrc'' file in your home directory. We won't go into the gory details of this file, since the one interesting thing about it is that it enables you to log in using SLiM. 
  
-==== Fine-tuning ====+===== Fine-tuning =====
  
 SLiM's main configuration file is ''/etc/slim.conf''. It's very clear and well commented and pretty much self-explanatory. For example, you might want to decide that you prefer activating ''numlock'' on boot. In that case, just uncomment the relevant line in ''slim.conf'' like this: SLiM's main configuration file is ''/etc/slim.conf''. It's very clear and well commented and pretty much self-explanatory. For example, you might want to decide that you prefer activating ''numlock'' on boot. In that case, just uncomment the relevant line in ''slim.conf'' like this:
Line 63: Line 67:
 </code> </code>
  
-==== Artwork =====+===== Artwork =====
  
 SLiM's default theme may or may not appeal to you. If the latter is the case, then you can either install another theme, or create your own theme from scratch. SLiM's default theme may or may not appeal to you. If the latter is the case, then you can either install another theme, or create your own theme from scratch.
Line 75: Line 79:
 </code> </code>
  
-The SLiM website has a [[http://slim.berlios.de/themes01.php || page with a collection of themes]]. Installing one or more of these themes is quite simple. Take a look in /usr/share/slim/themes. You'll see two directories: default and slackware-black. To install a theme, simply download the theme tarball and uncompress it in the /usr/share/slim/themes directory. To activate the theme, edit the current_theme line in /etc/slim.conf.+The SLiM website has a [[http://slim.berlios.de/themes01.php | page with a collection of themes]]. Installing one or more of these themes is quite simple. Take a look in ''/usr/share/slim/themes''. You'll see two directories: ''default'' and ''slackware-black''. To install a theme, simply download the theme tarball and uncompress it in the ''/usr/share/slim/themes'' directory (as root, of course). To activate the theme, edit the ''current_theme'' line in ''/etc/slim.conf'' accordingly.
  
 The site also sports a [[http://slim.berlios.de/themes_howto.php | nice tutorial ]] about your own theme creation.  The site also sports a [[http://slim.berlios.de/themes_howto.php | nice tutorial ]] about your own theme creation. 
  
-Hint: install a collection of ready-made themes, and then take a peek in the respective theme directories to see how it's actually done.  +<note tip>Install a collection of ready-made themes, and then take a peek in the respective theme directories to see how it's actually done.</note> 
 +=====Sources===== 
 +  * Originally written by [[wiki:user:kikinovak|Niki Kovacs]]
  
 <!-- Please do not add anything below, except additional tags.--> <!-- Please do not add anything below, except additional tags.-->
Line 86: Line 91:
  
 <!-- Do not remove this line and the text below. Thanks! slackdocs@--> <!-- Do not remove this line and the text below. Thanks! slackdocs@-->
-{{tag>slackware template}}+{{tag>howtos software slim login_manager}}
 howtos:slim ()