guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/45: TEMP Add some helpers for running plasma in the VM.


From: guix-commits
Subject: 15/45: TEMP Add some helpers for running plasma in the VM.
Date: Sun, 31 Jan 2021 10:27:22 -0500 (EST)

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

commit 18145dd26f2f8fe60406aa7764798d7c46875ff9
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
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

[Prev in Thread] Current Thread [Next in Thread]