Re: Set screen resolution in X.

2015-09-01 Thread Ludovic Courtès
Dmitry Nikolaev skribis: >>> I've tried everything. Please help me. I want to help Guix, write new >>> packages and patches, but I can't. My eyes hurts because of wrong >>> resolution. Here is my full config.scm: > >> Are you sure the resolution you want is supported in your X session? >> Please

Re: Set screen resolution in X.

2015-08-31 Thread Dmitry Nikolaev
>> I've tried everything. Please help me. I want to help Guix, write new >> packages and patches, but I can't. My eyes hurts because of wrong >> resolution. Here is my full config.scm: > Are you sure the resolution you want is supported in your X session? > Please post the output of "xrandr". $ x

Re: Set screen resolution in X.

2015-08-23 Thread Ludovic Courtès
Sorry for the late reply. Dmitry Nikolaev skribis: > (define (my-slim-service) > (mlet %store-monad ((config (xorg-configuration-file > #:resolutions '((1366 768) > (slim-service #:startx > (xorg-start-command #:configuration-file config T

Re: Set screen resolution in X.

2015-08-20 Thread 宋文武
Camel writes: > On 12 August 2015 at 10:08, Camel wrote: > >> On 10 August 2015 at 23:16, Thompson, David >> 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

Re: Set screen resolution in X.

2015-08-19 Thread Alex Kost
Dmitry Nikolaev (2015-08-18 11:26 +0300) wrote: > I've tried everything. Please help me. I want to help Guix, write new > packages and patches, but I can't. My eyes hurts because of wrong > resolution. Here is my full config.scm: Hello, Are you sure the resolution you want is supported in your X

Re: Set screen resolution in X.

2015-08-18 Thread Dmitry Nikolaev
On 14 August 2015 at 12:27, Camel wrote: > > I've tried reinstalling GuixSD from zero with config.scm mentioning > slim-service and #:resolutions. Didn't help either. Same error again. What > should I do now? Should I post my full config.scm? Should I ask you to try > slim-service configuration w

Re: Set screen resolution in X.

2015-08-14 Thread Camel
> Try "find ~/src/guix -name '*.go' | xargs rm" and then rebuild > > guix, perhaps. > > You can run 'make clean-go' to delete all of the .go files. :) > Where should I run make clean-go? Anyway, I've tried # find / -name '*.go' | xargs rm Didn't help. And I've tried reinstalling GuixSD from z

Re: Set screen resolution in X.

2015-08-13 Thread Thompson, David
> Try "find ~/src/guix -name '*.go' | xargs rm" and then rebuild > guix, perhaps. You can run 'make clean-go' to delete all of the .go files. :) - Dave

Re: Set screen resolution in X.

2015-08-13 Thread Andy Wingo
On Thu 13 Aug 2015 09:12, Camel writes: > 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-configurati

Re: Set screen resolution in X.

2015-08-13 Thread Camel
On 12 August 2015 at 10:08, Camel wrote: > On 10 August 2015 at 23:16, Thompson, David > 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-comman

Re: Set screen resolution in X.

2015-08-12 Thread Camel
On 10 August 2015 at 23:16, Thompson, David 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 ((confi

Re: Set screen resolution in X.

2015-08-11 Thread Camel
On 10 August 2015 at 20:16, Thompson, David 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 ((conf

Re: Set screen resolution in X.

2015-08-10 Thread Thompson, David
On Mon, Aug 10, 2015 at 2:16 PM, Camel wrote: > Not sure if this is a bug or misconfiguration. > Here is relevant part of my config.scm > > (use-modules (gnu) >(gnu system nss) >(gnu services xorg)) > (use-service-modules desktop) > (use-package-modules xfce ratpois

Set screen resolution in X.

2015-08-10 Thread Camel
Not sure if this is a bug or misconfiguration. Here is relevant part of my config.scm (use-modules (gnu) (gnu system nss) (gnu services xorg)) (use-service-modules desktop) (use-package-modules xfce ratpoison wicd avahi xorg certs) ;;;System definition cut away. (s