[X2Go-Commits] [x2goserver] 02/05: x2goserver/bin/x2goruncommand: add support for KDE Plasma 5 (startplasma-x11).

git-admin at x2go.org git-admin at x2go.org
Tue May 23 22:06:44 CEST 2023


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goserver.

commit 222d706a52d2010a95d903d50e76babb2a9c4877
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri May 19 22:16:38 2023 +0200

    x2goserver/bin/x2goruncommand: add support for KDE Plasma 5 (startplasma-x11).
---
 debian/changelog              | 2 ++
 x2goserver/bin/x2goruncommand | 6 +++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fcadd407..aad24e8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -436,6 +436,8 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium
     - x2goserver.spec: add BR: and R: on distribution-release
       (pseudo-package/provides) for /usr/lib/os-release and /etc/os-release.
     - X2Go/Server/Agent/NX/Options.pm: fix typo in test comment.
+    - x2goserver/bin/x2goruncommand: add support for KDE Plasma 5
+      (startplasma-x11).
   * debian/control:
     + Build-depend upon lsb-release for distro version detection.
     + Pull in base64 as a run-time dependency. We'll need it in scripts.
diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index 13a93fab..dc1298dd 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
@@ -250,7 +250,11 @@ elif [ "$cmd" == "CINNAMON" ] || [ "$cmd" == "cinnamon" ]; then
 elif [ "$cmd" == "MATE" ]; then
 	cmd="/usr/bin/mate-session"
 elif [ "$cmd" == "KDE" ]; then
-	cmd="/usr/bin/startkde"
+	if [ -e '/usr/bin/startplasma-x11' ]; then
+		cmd='/usr/bin/startplasma-x11'
+	else
+		cmd="/usr/bin/startkde"
+	fi
 elif [ "$cmd" == "XFCE4" ] || [ "$cmd" == "XFCE" ]; then
 	cmd="/usr/bin/xfce4-session"
 elif [ "$cmd" == "LXDE" ]; then

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list