slitaz-configs view rootfs/etc/skel/.xinitrc @ rev 235

.Xdefaults: add xterm color and keyboard fixes
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Aug 04 02:27:09 2014 +0000 (2014-08-04)
parents 8aba39d4c37d
children 2987498eeab8
line source
1 # ~/.xinitrc: Executed by Slim/LXDM login manager to startx X session.
2 # You can use F1 with Slim to change your window manager or configure
3 # it permanently with your personal applications.conf file.
4 #
5 . $HOME/.config/slitaz/applications.conf
7 [ "$1" ] && WINDOW_MANAGER="$1"
9 case "$WINDOW_MANAGER" in
10 openbox|lxde*|lxqt*|xfce4|compiz|karmen|dwm|fluxbox*)
11 exec dbus-launch --sh-syntax --exit-with-session \
12 ${WINDOW_MANAGER%-session}-session ;;
13 razor*)
14 exec razor-session ;;
15 enlightenment)
16 exec enlightenment_start ;;
17 *)
18 exec $WINDOW_MANAGER ;;
19 esac