all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Camel <cameltheman@gmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: Re: Set screen resolution in X.
Date: Thu, 13 Aug 2015 10:12:39 +0300	[thread overview]
Message-ID: <CAH3JXcGeeUzxeCj2aaaMkXzNTE7g25o-az=b91faNf+ai1VxiA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]

On 12 August 2015 at 10:08, Camel <cameltheman@gmail.com> wrote:

> On 10 August 2015 at 23:16, Thompson, David <dthompson2@worcester.edu>
> wrote:
>
>> 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)))
>>
>
> I've found another possible solution:
>
> https://lists.gnu.org/archive/html/guix-devel/2015-05/msg00395.html
>
>   (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.
>
> Nope. Didn't help. Same error:

ERROR: In procedure primitive-load:
ERROR: In procedure scm_lreadr:
/gnu/store/6bhrflbps4mav5yv5mas6fazcb59734f-slim.cfg-builder:1:159: Unknown
# object: #\<

Does anyone could give me an example of configured slim-service with
xorg-configuration-file?

Dmitry

[-- Attachment #2: Type: text/html, Size: 2697 bytes --]

             reply	other threads:[~2015-08-13  7:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13  7:12 Camel [this message]
2015-08-13  9:23 ` Set screen resolution in X Andy Wingo
2015-08-13 12:32   ` Thompson, David
2015-08-20 13:06 ` 宋文武
  -- strict thread matches above, loose matches on Subject: below --
2015-08-18  8:26 Dmitry Nikolaev
2015-08-19 19:20 ` Alex Kost
2015-08-31 11:46   ` Dmitry Nikolaev
2015-09-01 21:18     ` Ludovic Courtès
2015-08-23 21:45 ` Ludovic Courtès
2015-08-14  9:27 Camel
2015-08-12  7:08 Camel
2015-08-10 18:16 Camel
2015-08-10 20:16 ` Thompson, David
2015-08-11 20:06   ` Camel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH3JXcGeeUzxeCj2aaaMkXzNTE7g25o-az=b91faNf+ai1VxiA@mail.gmail.com' \
    --to=cameltheman@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.