summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2019-06-12 11:55:48 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-01-31 16:25:49 +0100
commit18145dd26f2f8fe60406aa7764798d7c46875ff9 (patch)
tree478f18a7d89353a5bfd65211276fb86956a0251c
parent210119b151d2028773a6f9f813dd11dd6c606c50 (diff)
TEMP Add some helpers for running plasma in the VM.
AFAIR these should be made accessible within the VM (directory /exchange).
-rwxr-xr-x00-install-xsession.sh7
-rwxr-xr-x1-kill-kdesession.sh4
2 files changed, 11 insertions, 0 deletions
diff --git a/00-install-xsession.sh b/00-install-xsession.sh
new file mode 100755
index 0000000000..f3d212235c
--- /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 0000000000..83ef238b3d
--- /dev/null
+++ b/1-kill-kdesession.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+pids=$(pgrep X);
+[ -n "$pids" ] && kill $pids