# .xinitrc to start X with "startx OPTION" # replace OPTION with a # - X-programm (eg. "xterm"), # - a skript (eg. "gnome-session"), # or one of the Options below: # - compiz # - xfwm # - xfce # - awesome # Things to be done anyway: setxkbmap de & start-pulseaudio-x11 & #Start window manager (or what ever you decide) case $2 in compiz) emerald & dbus-launch gnome-do & ck-launch-session compiz ccp & exec urxvt -name urxvt-session ;; xfwm) dbus-launch gnome-do & exec xfwm4 ;; xfce) exec ck-launch-session xfce4-session ;; awesome) exec ck-launch-session dbus-launch awesome ;; *) exec $2 ;; esac # .xinitrc (END)