htgoebel pushed a commit to branch wip-kde-plasma
in repository guix.

commit 18145dd26f2f8fe60406aa7764798d7c46875ff9
Author: Hartmut Goebel <[email protected]>
AuthorDate: Wed Jun 12 11:55:48 2019 +0200

    TEMP Add some helpers for running plasma in the VM.
    
    AFAIR these should be made accessible within the VM (directory /exchange).
---
 00-install-xsession.sh | 7 +++++++
 1-kill-kdesession.sh   | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/00-install-xsession.sh b/00-install-xsession.sh
new file mode 100755
index 0000000..f3d2122
--- /dev/null
+++ b/00-install-xsession.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+D=$(dirname "$0")
+rm -f $D/xerrors $D/.xerrors ~/xerrors ~/.xerrors
+#echo > ~/.xsession "sh -x $(which startkde) >$D/xerrors 2>&1"
+cp $D/startkde ~/.xsession
+chmod +x ~/.xsession
diff --git a/1-kill-kdesession.sh b/1-kill-kdesession.sh
new file mode 100755
index 0000000..83ef238
--- /dev/null
+++ b/1-kill-kdesession.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+pids=$(pgrep X);
+[ -n "$pids" ] && kill $pids

Reply via email to