diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-01-09 20:15:46 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-01-09 20:15:46 +0100 |
commit | 8a8a57ca9d8846d6ef937f13f8e05cdd79e50f9a (patch) | |
tree | 7526f5dcdf10f5d826cbc5a21f82ea0e55d3cf5a /extra/slim/xinitrc | |
parent | ad069aad35e558c445b9b5894d55bce0bbf2075a (diff) | |
download | nutyx-extra-8a8a57ca9d8846d6ef937f13f8e05cdd79e50f9a.tar.gz nutyx-extra-8a8a57ca9d8846d6ef937f13f8e05cdd79e50f9a.tar.bz2 nutyx-extra-8a8a57ca9d8846d6ef937f13f8e05cdd79e50f9a.tar.xz nutyx-extra-8a8a57ca9d8846d6ef937f13f8e05cdd79e50f9a.zip |
maj de slim#1.3.1-2, ajout du thème de NuTyX 2009.2
Diffstat (limited to 'extra/slim/xinitrc')
-rw-r--r-- | extra/slim/xinitrc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/extra/slim/xinitrc b/extra/slim/xinitrc index 604efdd96..fdd8e0673 100644 --- a/extra/slim/xinitrc +++ b/extra/slim/xinitrc @@ -1,12 +1,20 @@ # $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 +DEFAULT_SESSION=startede case $1 in xfce4) exec startxfce4 ;; +ede) + if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then + eval `dbus-launch --sh-syntax --exit-with-session` + export DBUS_SESSION_BUS_ADDRESS + fi + exec startede + ;; + openbox) if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then eval `dbus-launch --sh-syntax --exit-with-session` @@ -90,6 +98,9 @@ gnome) exec gnome-session exec dbus-launch --exit-with-session gnome-session ;; +mwm) + exec mwm + ;; *) exec $DEFAULT_SESSION ;; |