summaryrefslogtreecommitdiffstats
path: root/extra/slim/xinitrc
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:47:32 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:47:32 +0200
commit55d63e11656f2cd07f7b15f2833211b55c4d6d89 (patch)
tree7c4526be53c3bdeed376866242aa5a388b3fc58d /extra/slim/xinitrc
parent6f94da2c4bd9ba797c7d2d9f0d711646c3de9654 (diff)
downloadnutyx-extra-55d63e11656f2cd07f7b15f2833211b55c4d6d89.tar.gz
nutyx-extra-55d63e11656f2cd07f7b15f2833211b55c4d6d89.tar.bz2
nutyx-extra-55d63e11656f2cd07f7b15f2833211b55c4d6d89.tar.xz
nutyx-extra-55d63e11656f2cd07f7b15f2833211b55c4d6d89.zip
Ajout de slim#1.3.1-1
Diffstat (limited to 'extra/slim/xinitrc')
-rw-r--r--extra/slim/xinitrc97
1 files changed, 97 insertions, 0 deletions
diff --git a/extra/slim/xinitrc b/extra/slim/xinitrc
new file mode 100644
index 000000000..604efdd96
--- /dev/null
+++ b/extra/slim/xinitrc
@@ -0,0 +1,97 @@
+# $Id: xinitrc,v 1.4 2008/05/13 17:33:40 install Exp install $
+# the following variable defines the session which is started if the user
+# doesn't explicitely select a session
+DEFAULT_SESSION=jwm
+
+case $1 in
+xfce4)
+ exec startxfce4
+ ;;
+openbox)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec openbox
+ ;;
+lxde)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec startlxde
+ ;;
+e16)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec starte16
+ ;;
+fluxbox)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec startfluxbox
+ ;;
+twindy)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec twindy
+ ;;
+fvwm)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec fvwm
+ ;;
+jwm)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec jwm
+ ;;
+twm)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec twm
+ ;;
+icewm)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ icewmbg &
+ icewmtray &
+ exec icewm
+ ;;
+wmaker)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec wmaker
+ ;;
+blackbox)
+ if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+ export DBUS_SESSION_BUS_ADDRESS
+ fi
+ exec blackbox
+ ;;
+gnome)
+ exec gnome-session
+ exec dbus-launch --exit-with-session gnome-session
+ ;;
+*)
+ exec $DEFAULT_SESSION
+ ;;
+esac
+