summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-07 18:47:03 +0100
committerLudovic Courtès <ludo@gnu.org>2015-11-07 18:56:17 +0100
commit8664cc882c2bfc0be48e2b9303cf34ab12f30fa3 (patch)
treeb4cf98249b20f152acc087475285248fb316f9e9 /doc
parent1c40e3b785539c4a59ede324afa250a59597ea21 (diff)
downloadguix-8664cc882c2bfc0be48e2b9303cf34ab12f30fa3.tar.gz
services: Add 'gpm-service'.
* gnu/services/base.scm (<gpm-configuration>): New record type.
  (gpm-dmd-service): New procedure.
  (gpm-service-type): New variable.
  (gpm-service): New procedure.
* doc/guix.texi (Base Services): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index fd80a30f51..6a079477b1 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6445,6 +6445,16 @@ Return a service to load console keymap from @var{file} using
 @command{loadkeys} command.
 @end deffn
 
+@deffn {Scheme Procedure} gpm-service-type [#:gpm @var{gpm}] @
+          [#:options]
+Run @var{gpm}, the general-purpose mouse daemon, with the given
+command-line @var{options}.  GPM allows users to use the mouse in the console,
+notably to select, copy, and paste text.  The default value of @var{options}
+uses the @code{ps2} protocol, which works for both USB and PS/2 mice.
+
+This service is not part of @var{%base-services}.
+@end deffn
+
 @anchor{guix-publish-service}
 @deffn {Scheme Procedure} guix-publish-service [#:guix @var{guix}] @
            [#:port 80] [#:host "localhost"]