You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
739 B
29 lines
739 B
13 years ago
|
--- /mnt/archlinux/opt/trinity/share/config/kdm/Xsession 2011-12-08 13:08:43.000000000 +0100
|
||
3 years ago
|
+++ /opt/trinity/share/config/tdm/Xsession 2011-09-24 14:52:28.000000000 +0200
|
||
13 years ago
|
@@ -43,4 +43,24 @@
|
||
|
;;
|
||
|
esac
|
||
|
# invoke global X session script
|
||
|
-. /etc/X11/Xsession
|
||
|
+
|
||
|
+
|
||
|
+ case $session in
|
||
|
+ "")
|
||
|
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
|
||
|
+ ;;
|
||
|
+ failsafe)
|
||
3 years ago
|
+ exec xterm -geometry 80x24-0-0
|
||
13 years ago
|
+ ;;
|
||
|
+ custom)
|
||
3 years ago
|
+ exec $HOME/.xsession
|
||
13 years ago
|
+ ;;
|
||
|
+ default)
|
||
3 years ago
|
+ exec /opt/trinity/bin/starttde
|
||
13 years ago
|
+ ;;
|
||
|
+ *)
|
||
3 years ago
|
+ eval exec "$session"
|
||
13 years ago
|
+ ;;
|
||
|
+ esac
|
||
|
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."
|
||
|
+
|