SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:handbook:xwindow [2012/04/09 22:09]
linea First edit
en:handbook:xwindow [2022/07/29 11:59]
hgt sessiondir explained
Line 20: Line 20:
 ===== Slim - Simple Login Manager ===== ===== Slim - Simple Login Manager =====
  
-Slim is a lightweight session manager that is very easy to configure and is customizable using system themes. The configuration file is found in ///​etc/​slim.conf//​. It defines window managers available via the F1 key, the default user or theme, and the X window system parameters. Slim offers special user commands like console to help manage the session.+Slim is a lightweight session manager that is very easy to configure and is customizable using system themes.
  
-In LiveCD mode you can disable Slim with the boot option ​//screen=text//​. On an installed system you can remove the package or delete ​slim from the //​RUN_DAEMONS//​ variable in ///etc/rcS.conf//.+The configuration file is ''​/etc/slim.conf''​.
  
-More details and themes can be found on the website+It defines the default user, default theme, and the X window system parameters. Slim offers special user commands like ''​console''​ to help manage the session. 
 + 
 +More details and themes can be found on https://​github.com/​iwamatsu/​slim 
 + 
 +=== Choose window manager === 
 + 
 +In version **1.3.5** available window managers via the F1 key are defined by use of the ''​sessions''​ statement in ''/​etc/​slim.conf''​. 
 + 
 +In version **1.3.6** the 
 +<​file>​sessiondir /​usr/​share/​xsessions</​file>​ 
 +statement in ''/​etc/​slim.conf''​ makes slim look for available window managers in the specified directory. 
 +To choose one, the ''​F1''​ key must be pressed. 
 + 
 +Users who use just one window manager should omit the ''​sessiondir''​ statement, so that ''​.xinitrc''​ will start the window manager specified by 
 +the ''​WINDOW_MANAGER''​ variable in ''​$HOME/​.config/​slitaz/​applications.conf''​. 
 + 
 +<note tip>​Users who want to choose between available window managers must uncomment the **sessiondir** statement in **/​etc/​slim.conf**. 
 + 
 +When updating from 1.3.5 to 1.3.6, **sessions ...** must be replaced by **sessiondir /​usr/​share/​xsessions**.</​note>​ 
 + 
 +=== Disable Slim === 
 + 
 +In live mode Slim can be disabled with the boot option ''​screen=text''​. 
 + 
 +On an installed system the package can be removed or ''​slim''​ can be deleted from the ''​RUN_DAEMONS''​ variable in ''/​etc/​rcS.conf''​.
  
 === Default user === === Default user ===
  
-Slim offers a way to pre-load a user login name, by default ​tux is configured for convenienceYou can change this by editing the Slim configuration file ///​etc/​slim.conf// and modifying the line default_user or just leave the line blank to avoid pre-loading a user name. Example:+Slim offers a way to pre-load a user name, by default ​this is the user name with user number 1000 (usually ''​tux''​). 
 +This can be changed ​by editing the Slim configuration file ''​/​etc/​slim.conf'' ​and modifying the line ''​default_user''​ 
 +or just leave the line blank to avoid pre-loading a user name. 
 + 
 +Example:
  
-<​file>​ default_user ​       ​tux </​file>​+<​file>​default_user ​       ​nottux</​file>​
  
 ===== Xorg ===== ===== Xorg =====
  
-Xorg is the default ​sever on SliTaz and designed to work out of the box on most systems. It should detect and configure most devices such as keyboards, mice, displays, etc. Once installed, running Tazx allows you to reconfigure/​reinstall the xorg-server package and select the correct driver for your card. Example:+Xorg is the default ​server ​on SliTaz and designed to work out of the box on most systems. It should detect and configure most devices such as keyboards, mice, displays, etc. Once installed, running Tazx allows you to reconfigure/​reinstall the xorg-server package and select the correct driver for your card. Example:
  
 First stop the Xorg server using alt-ctrl-backspace,​ you should now be in console mode. Then run tazx as root:  First stop the Xorg server using alt-ctrl-backspace,​ you should now be in console mode. Then run tazx as root: 
 
en/handbook/xwindow.txt · Last modified: 2022/07/29 11:59 by hgt