Outils pour utilisateurs

Outils du site


atelier20120421_bureau_linux

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
atelier20120421_bureau_linux [2012/04/22 07:19] didiervillersatelier20120421_bureau_linux [2014/12/27 08:14] (Version actuelle) – modification externe 127.0.0.1
Ligne 17: Ligne 17:
   * KDM (standard avec KDE)   * KDM (standard avec KDE)
   * LightDM   * LightDM
 +  * Rien (profiter des prgm. existant $ .bash_profile et $ .xinitrc)
  
 pour redémarrer le gestionnaire : <code>sudo gdm restart</code> pour redémarrer le gestionnaire : <code>sudo gdm restart</code>
 +
 +pour $ .bash_profile  (sur Archlinux)
 +<code>if [[ -t 0 && $(tty) =~ /dev/tty ]] && ! pgrep -u $USER startx &> /dev/null;then
 + echo " "
 + echo "Aucune session X11 détectée, voulez vous en lancer une ?"
 + echo "[a]ncienne  [n]ouvelle   [c]console"
 + read -n 1 start_x
 + if [[ $start_x == "a" ]];then
 + startx
 + elif [[ $start_x == "c" ]];then
 + echo "X11 ne sera pas lancé."
 + else
 + echo " "
 + echo "          LXDE    = 1"
 + echo "          XFCE    = 2"
 + echo "          Fluxbox = 3"
 + echo "          Awesome = 4"
 + echo "          e17     = 5"
 +
 + read -n 1 start_x
 + echo "#!/bin/bash" >.xinitrc
 + echo "numlockx on &" >>.xinitrc
 + if [[ $start_x == "1" ]];then
 + echo "exec ck-launch-session startlxde" >>.xinitrc
 + startx
 + elif [[ $start_x == "2" ]];then
 + echo "exec ck-launch-session startxfce4" >>.xinitrc
 + startx
 + elif [[ $start_x == "3" ]];then
 + echo "exec startfluxbox" >>.xinitrc
 + startx
 + elif [[ $start_x == "4" ]];then
 + echo "exec awesome" >>.xinitrc
 + startx
 + elif [[ $start_x == "5" ]];then
 + echo "exec enlightenment_start" >>.xinitrc
 + startx
 + fi
 + fi
 +fi
 +</code>
atelier20120421_bureau_linux.1335079172.txt.gz · Dernière modification : 2014/12/27 08:13 (modification externe)