diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-09-20 17:08:32 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-09-29 09:27:25 +0200 |
commit | 0ac2945504b4df71d0ac6777b2c956cd4921ad08 (patch) | |
tree | 301eb3b41ae6f4e78a8b5611040ba8d9c13af6dd /arch/tde-core/tde-tdebase/xsession.patch | |
parent | 318e997cf4d25c5d2e7b4261a6017b653c1fa93c (diff) | |
download | tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.tar.gz tde-packaging-0ac2945504b4df71d0ac6777b2c956cd4921ad08.zip |
ArchLinux: Take a newer state of pkgbuilds from Michael Manley
Clean old long-term not maintained pkgbuilds.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 018f946ee70600993c60a74046f417ca05bdb41b)
Diffstat (limited to 'arch/tde-core/tde-tdebase/xsession.patch')
-rw-r--r-- | arch/tde-core/tde-tdebase/xsession.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/tde-core/tde-tdebase/xsession.patch b/arch/tde-core/tde-tdebase/xsession.patch new file mode 100644 index 000000000..8084fda40 --- /dev/null +++ b/arch/tde-core/tde-tdebase/xsession.patch @@ -0,0 +1,28 @@ +--- /mnt/archlinux/opt/trinity/share/config/kdm/Xsession 2011-12-08 13:08:43.000000000 +0100 ++++ /opt/trinity/share/config/tdm/Xsession 2011-09-24 14:52:28.000000000 +0200 +@@ -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) ++ exec xterm -geometry 80x24-0-0 ++ ;; ++ custom) ++ exec $HOME/.xsession ++ ;; ++ default) ++ exec /opt/trinity/bin/starttde ++ ;; ++ *) ++ eval exec "$session" ++ ;; ++ esac ++ exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop." ++ |