summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-06 23:54:27 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-07 00:00:08 +0100
commitd2e59637e37c00b9a9b6273693a68acf6dcc9493 (patch)
treeaea85f7135aa10870adae5916482ee5b1d703f94 /doc
parentf703413e41d7cdfbffef841bc03826175cbe71a3 (diff)
services: xorg: Allow users to specify a list of resolutions.
* gnu/services/xorg.scm (xorg-start-command): Add #:resolutions parameter and 'screen-section' procedure. Use it. * doc/guix.texi (X Window): Adjust accordingly.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 3fbe963967..d91f7a8fc8 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3954,13 +3954,17 @@ password. When @var{auto-login?} is true, log in automatically as
@end deffn
@deffn {Monadic Procedure} xorg-start-command [#:guile] @
- [#:drivers '()] [#:xorg-server @var{xorg-server}]
+ [#:drivers '()] [#:resolutions '()] [#:xorg-server @var{xorg-server}]
Return a derivation that builds a @var{guile} script to start the X server
from @var{xorg-server}. Usually the X server is started by a login manager.
@var{drivers} must be either the empty list, in which case Xorg chooses a
graphics driver automatically, or a list of driver names that will be tried in
this order---e.g., @code{("modesetting" "vesa")}.
+
+Likewise, when @var{resolutions} is the empty list, Xorg chooses an
+appropriate screen resolution; otherwise, it must be a list of
+resolutions---e.g., @code{((1024 768) (640 480))}.
@end deffn
@node Setuid Programs