[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Set screen resolution in X.
From: |
Ludovic Courtès |
Subject: |
Re: Set screen resolution in X. |
Date: |
Sun, 23 Aug 2015 23:45:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Sorry for the late reply.
Dmitry Nikolaev <address@hidden> skribis:
> (define (my-slim-service)
> (mlet %store-monad ((config (xorg-configuration-file
> #:resolutions '((1366 768)))))
> (slim-service #:startx
> (xorg-start-command #:configuration-file config))))
The problem is in the line above: ‘xorg-start-command’ is a “monadic
procedure” so its result must be bound in an ‘mlet’:
(define (my-slim-service)
(mlet %store-monad ((config (xorg-configuration-file ...))
(startx (xorg-start-command ...)))
(slim-service #:startx startx)))
HTH!
Ludo’.
PS: Somebody reported the same thing on IRC last week, maybe it was you
or Camel?
- Re: Set screen resolution in X., (continued)