summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-07 18:48:21 +0100
committerLudovic Courtès <ludo@gnu.org>2015-11-07 18:56:17 +0100
commitae7ffa9e9b9135928f67ba9fb28c9d6766bf7088 (patch)
tree108dba3f81f5bee70e5b2d6bcfa9f9dca971925e
parent8664cc882c2bfc0be48e2b9303cf34ab12f30fa3 (diff)
downloadguix-ae7ffa9e9b9135928f67ba9fb28c9d6766bf7088.tar.gz
install: Run GPM.
Suggested by Adam Pribyl <pribyl@lowlevel.cz>
at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00133.html>.

* gnu/system/install.scm (installation-services): Add call to
  'gpm-service'.
* doc/guix.texi (System Installation): Mention GPM.
-rw-r--r--doc/guix.texi4
-rw-r--r--gnu/system/install.scm3
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 6a079477b1..896a8c8496 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5286,7 +5286,9 @@ Once you have successfully booted the image on the USB stick, you should
 end up with a root prompt.  Several console TTYs are configured and can
 be used to run commands as root.  TTY2 shows this documentation,
 browsable using the Info reader commands (@pxref{Help,,, info, Info: An
-Introduction}).
+Introduction}).  The installation system runs the GPM mouse daemon,
+which allows you to select text with the left mouse button and to paste
+it with the middle button.
 
 To install the system, you would:
 
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 93a6f18c49..887bceb155 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -306,6 +306,9 @@ You have been warned.  Thanks for being so brave.
           (console-font-service "tty5")
           (console-font-service "tty6")
 
+          ;; To facilitate copy/paste.
+          (gpm-service)
+
           ;; Since this is running on a USB stick with a unionfs as the root
           ;; file system, use an appropriate cache configuration.
           (nscd-service (nscd-configuration