|
From: | Camel |
Subject: | Re: Set screen resolution in X. |
Date: | Wed, 12 Aug 2015 10:08:22 +0300 |
I believe this is because the return value of
'xorg-configuration-file' is a monadic value, and thus it needs to
"unwrapped" in order to pass the configuration file to
'xorg-start-command'.
Try this:
(mlet %store-monad ((config
(xorg-configuration-file #:drivers '("radeon" "vesa")
#:resolutions '((1366 768)
(1024 768)))))
(slim-service #:startx (xorg-start-command #:configuration-file config)))
(define input-class "Section \"InputClass" ...") (define (my-slim-service) (mlet %store-monad ((config (xorg-configuration-file #:extra-config (list input-class))) (startx (xorg-start-command #:configuration-file config))) (slim-service #:startx startx))) (operating-system ;; ... (services (cons (my-slim-service) ...)))
I'll try it later.
Dmitry
[Prev in Thread] | Current Thread | [Next in Thread] |