This thought for only launcher of x.org because when launch classical “startx”, the last launch will use. I created a alias on .bashrc for simpler use.

#!/bin/bash

xdef="openbox-session"

case $1 in

kde)
echo "startkde" > $HOME/.xinitrc
startx
;;

gnome)
echo "gnome-session" > $HOME/.xinitrc
startx
;;

openbox)
echo "openbox-session" > $HOME/.xinitrc
startx
;;

def)
echo $xdef > $HOME/.xinitrc
startx
;;

*)
echo "options: kde, gnome, openbox, def"
;;

esac
 
mystartx.txt · Last modified: 2010/10/15 14:23 by varogami
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki