diff options
-rwxr-xr-x | 00-install-xsession.sh | 7 | ||||
-rwxr-xr-x | 1-kill-kdesession.sh | 4 |
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 |