On 02/18/2011 04:29 PM, Serghei Amelian wrote:
On Saturday 19 February 2011 00:23:38 David C. Rankin
wrote:
[...]
Try to
put /opt/trinity/bin/startkde to Xsession, after variables.
That works fine! (but kinda defeats the purpose of a 'chooser' :)
Will dig for this later.
I've got it fixed for you. Add the following to the END of Xsession:
case $session in
"")
exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is
no valid session."
;;
failsafe)
exec xterm -geometry 80x24-0-0
;;
custom)
exec $HOME/.xsession
;;
default)
exec /opt/trinity/bin/startkde
;;
*)
eval exec "$session"
;;
esac
exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session.
Check $DESKTOP_SESSION.desktop."
--
David C. Rankin, J.D.,P.E.