Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:handbook:xwindow [2010/08/17 19:54] – linea | en:handbook:xwindow [2022/07/29 09:59] (current) – sessiondir explained hgt | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| The X Window System or X11 provides a window manager running on top of a X server. | The X Window System or X11 provides a window manager running on top of a X server. | ||
| - | SliTaz 2.0 by default | + | SliTaz |
| Slitaz 3.0 by default uses the Xorg server, there is however a Xvesa flavor. | Slitaz 3.0 by default uses the Xorg server, there is however a Xvesa flavor. | ||
| 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 /// | + | 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 | + | The configuration file is '' |
| - | 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 '' |
| + | |||
| + | More details and themes can be found on https:// | ||
| + | |||
| + | === Choose window manager === | ||
| + | |||
| + | In version **1.3.5** available window managers via the F1 key are defined by use of the '' | ||
| + | |||
| + | In version **1.3.6** the | ||
| + | < | ||
| + | statement in ''/ | ||
| + | To choose one, the '' | ||
| + | |||
| + | Users who use just one window manager should omit the '' | ||
| + | the '' | ||
| + | |||
| + | <note tip> | ||
| + | |||
| + | When updating from 1.3.5 to 1.3.6, **sessions ...** must be replaced by **sessiondir / | ||
| + | |||
| + | === Disable Slim === | ||
| + | |||
| + | In live mode Slim can be disabled with the boot option '' | ||
| + | |||
| + | On an installed system the package can be removed or '' | ||
| === Default user === | === Default user === | ||
| - | Slim offers a way to pre-load a user login name, by default | + | Slim offers a way to pre-load a user name, by default |
| + | This can be changed | ||
| + | or just leave the line blank to avoid pre-loading a user name. | ||
| + | |||
| + | Example: | ||
| - | < | + | < |
| ===== Xorg ===== | ===== Xorg ===== | ||
| - | By default, SliTaz provides the graphical mini-server Xvesa. | + | Xorg is the default server |
| - | There is no GUI configuration which means having to use the command line in console mode. The installation and configuration of the server is relatively simple and you can always go back and reuse Xvesa at any time. Xorg is distributed in modular form, which means that you'll need to install the server, a few configuration files and the right driver for your graphics card. However the xorg-server package has all the correct dependencies to work directly with the vesa driver. Minimal install: | + | First stop the Xorg server using alt-ctrl-backspace, |
| - | < | + | < |
| - | Once installed, you can go directly to the configuration or you can install the correct driver for your card (provided you know it). Example using the Nvidia driver and listing all available drivers: | + | Then select Xorg and select your video driver, this reconfigures Xorg. Then restart |
| - | < | + | |
| - | # tazpkg get-install xorg-xf86-video-nv | + | |
| - | | + | |
| - | # tazpkg search xorg-xf86-video | + | |
| - | </ | + | |
| - | === Automatic configuration of the server === | + | < |
| - | To configure the Xorg server you have two options:// Xorg -configure// | + | You can also do this by searching for and installing a video driver |
| - | < | + | < |
| - | # | + | # tazpkg search xorg-xf86-video |
| + | # | ||
| + | # Xorg -configure | ||
| </ | </ | ||
| - | Finally you then change | + | Then copy the newly generated file to / |
| - | === Using Xorg with Slim === | + | < |
| - | In the Slim configuration file (/// | + | And restart |
| - | < | ||
| - | default_xserver | ||
| - | # | ||
| - | # | ||
| - | </ | ||
| - | |||
| - | Now we can start Slim to return us to an X server session. Slim works likes a daemon, it can be stopped or started from the console: | ||
| - | |||
| - | |||
| < | < | ||
| - | === xorg.conf - Configuration file === | ||
| - | Xorg uses the configuration file ///etc/X11/xorg.conf// This file can be automatically generated and edited with your favorite text editor. It is divided into several sections, including the specification of paths, modules to be loaded, default screen, mouse, keyboard, etc. This document provides only a few examples, it is advisable to run xorgconfig once to generate a complete file to use as an example. | + | === xorg.conf.d - Configuration files === |
| - | Keyboard (en): | + | Xorg uses the configuration files found in the xorg.conf.d directory which are automatically setup when you first boot and can be easily edited with your favorite text editor. The files are configured separately into sections such as modules to be loaded, default screen, mouse, keyboard, etc. This document provides a few examples: |
| - | < | + | 10-ServerLayout.conf: |
| - | Section " | + | |
| - | Identifier | + | |
| - | Driver | + | |
| - | Option | + | |
| - | Option | + | |
| - | Option | + | |
| - | Option | + | |
| - | EndSection | + | |
| - | </ | + | |
| - | Mice with auto detection protocol: | ||
| < | < | ||
| - | Section "InputDevice" | + | Section "ServerLayout" |
| - | Identifier | + | Identifier |
| - | Driver | + | Screen |
| - | Option | + | |
| - | Option | + | |
| - | Option | + | |
| EndSection | EndSection | ||
| </ | </ | ||
| - | Composite extensions: | + | 30-Module.conf: |
| < | < | ||
| - | Section "Extensions" | + | Section "Module" |
| - | Option | + | Load |
| + | Load " | ||
| + | Load " | ||
| + | Load " | ||
| + | Load " | ||
| + | Load | ||
| EndSection | EndSection | ||
| </ | </ | ||
| - | ===== Use Xvesa as X terminal ===== | + | Note that a xorg.conf file can also be found in /etc/X11 as another way to configure Xorg. This file is read before all files in / |
| + | |||
| + | ===== Use Xvesa as X terminal | ||
| You can use Xvesa as X terminal, if you have a machine on the network that accepts Xdmcp connections. To enable this, you can start the server with the option -query followed by the machine name or IP address. Example of machine 192.168.0.2 on a local network: | You can use Xvesa as X terminal, if you have a machine on the network that accepts Xdmcp connections. To enable this, you can start the server with the option -query followed by the machine name or IP address. Example of machine 192.168.0.2 on a local network: | ||
| Line 114: | Line 122: | ||
| < | < | ||
| - | The use of a graphical remote server can be of great use, although | + | The use of a graphical remote server can be of great use, although |
| ===== Fonts ===== | ===== Fonts ===== | ||
| - | The management of Fonts (fonts) is powered by the package // | + | The management of Fonts (fonts) is powered by the package // |
| === Installing fonts === | === Installing fonts === | ||
| - | At the system level fonts are installed in the directory: /// | + | At the system level fonts are installed in the directory: /// |
| < | < | ||