From 18145dd26f2f8fe60406aa7764798d7c46875ff9 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Wed, 12 Jun 2019 11:55:48 +0200 Subject: 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(+) create mode 100755 00-install-xsession.sh create mode 100755 1-kill-kdesession.sh 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 -- cgit 1.4.1