Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
fr:howtos:window_managers:slim [2020/10/20 12:35 (UTC)] – créée desiderius | fr:howtos:window_managers:slim [2020/10/20 13:25 (UTC)] (Version actuelle) – desiderius |
---|
| |
SLiM ne fait pas partie de l'installation standard de Slackware mais vous pouvez facilement l'installer à partir de [[http://slackbuilds.org/result/?search=slim | SBo]]. | SLiM ne fait pas partie de l'installation standard de Slackware mais vous pouvez facilement l'installer à partir de [[http://slackbuilds.org/result/?search=slim | SBo]]. |
| |
===== Configuration de base (au niveau système) ===== | ===== Configuration de base (au niveau système) ===== |
| |
</code> | </code> |
| |
In the example shown above, the current runlevel of your machine is also "4". | Dans l'exemple ci-dessus, le niveau d'éxécution du système est aussi "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: | Maintenant éditez le fichier ''/etc/rc.d/rc.4'' et ajoutez y quelques lignes pour démarrer automatiquement SLiM au démarrage. L'ordre est important ici. Insérez ces lignes juste avant celles qui gérent GDM, comme ceci : |
| |
<code> | <code> |
</code> | </code> |
| |
===== Basic configuration (user level) ===== | ===== Configuration de base ( au niveau utilisateur ) ===== |
| |
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: | |
| |
| Il y a une dernière chose à faire avant de pouvoir utiliser votre nouveau gestionnaire de login. Tapez la commande suivante ( en tant qu'utilisateur ordinaire ) |
<code> | <code> |
$ xwmconfig | $ xwmconfig |
</code> | </code> |
| |
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. | Cela va lancer la boîte de dialogue pour sélectionner votre gestionnaire de fenêtre. Choisissez le (Xfce, Fluxbox, Blackbox, ou autre) et appuyez sur OK. Cela va créer un nouveau fichier ''~/.xinitrc'' dans votre home directory. Nous n'allons pas regarder tous les détails de ce fichier mais ce qui va vous intéresser est que vous pourrez désormais vous logger en utilsant SLiM . |
| |
===== Fine-tuning ===== | ===== Configuration avancée ===== |
| |
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: | Le fichier principal de configuration de SLiM est ''/etc/slim.conf''. Il est très clair et bien commenté et facilement compréhensible . Par exemple, vous pouvez décider que vous voulez activer ''numlock'' au démarrage.Dans ce cas, décommentez juste la ligne correspondante dans ''slim.conf'' comme ceci : |
| |
<code> | <code> |
</code> | </code> |
| |
===== Artwork ===== | ===== Apparence ===== |
| |
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. | Le thème par défaut de SLiM's peut vous plaire ou pas. Dans ce dernier cas, vous pouvez installer un autre thème ou en créer un nouveau. |
| |
SBo's ''slim'' build comes with an alternate theme called ''slackware-black'', created by Frank Caraballo. You can activate this theme by editing the according line in ''/etc/slim.conf'' and replacing ''default'' with ''slackware-black'', like this: | Le paquet SBo de ''SLiM'' fournit un autre thème appelé ''slackware-black'', créé par Frank Caraballo. Vous pouvez activer ce thème en changeant la ligne correspondante dans ''/etc/slim.conf'' et en remplaçant ''default'' par ''slackware-black'', comme ceci: |
| |
<code> | <code> |
</code> | </code> |
| |
An [[http://ngc891.blogdns.net/pub/projects/slim/slackware-preview.png | alternative Slackware theme]] is available on [[http://ngc891.blogdns.net/?p=74 | ngc891's blog]]. | Un [[http://ngc891.blogdns.net/pub/projects/slim/slackware-preview.png | autre thème alternatif ]] est disponible sur le [[http://ngc891.blogdns.net/?p=74 | blog de ngc891]]. |
| |
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. | Le site Web de SLiM a une [[http://slim.berlios.de/themes01.php | page avec une collection de thèmes]]. Installez un ou plus de ces thèmes est très simple. Regardez le contenu de ''/usr/share/slim/themes''. Vous y verrez deux répertoires : ''default'' et ''slackware-black''. Pour installer un nouveau thème , téléchargez simplement son fichier comprimé et décomprimez le dans le répertoire ''/usr/share/slim/themes'' ( en tant que root cette fois-ci ).Pour activer le thème, éditez la ligne ''current_theme'' line dans ''/etc/slim.conf'' pour y mettre le nouveau thème. |
| |
The site also sports a [[http://slim.berlios.de/themes_howto.php | nice tutorial ]] about your own theme creation. | Le site renferme aussi [[http://slim.berlios.de/themes_howto.php | beau tutoriel ]] qui vous explique comment créer un nouveau thème. |
| |
<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> | <note tip>Installez une collection de thèmes prédéfinis et regardez dans le répertoire des thèmes comment tout cela est installé.</note> |
=====Sources===== | =====Sources===== |
* Originally written by [[wiki:user:kikinovak|Niki Kovacs]] | * Originally written by [[wiki:user:kikinovak|Niki Kovacs]] |
| * Traduction française par [[wiki:user:desiderius|Didier Courtaud]] |
| |
<!-- Please do not add anything below, except additional tags.--> | <!-- Please do not add anything below, except additional tags.--> |