all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Nikolaev <cameltheman@gmail.com>
To: guix-devel <guix-devel@gnu.org>
Subject: Re: Set screen resolution in X.
Date: Tue, 18 Aug 2015 11:26:38 +0300	[thread overview]
Message-ID: <CAH3JXcEV_QFqkn5mP3CQ7ec8Yz3v4oz30WcDR9A=PnMv21d1Pw@mail.gmail.com> (raw)

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

On 14 August 2015 at 12:27, Camel <cameltheman@gmail.com> 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 with #:resolutions ?
>

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:

(use-modules (gnu)
               (gnu system nss)
               (gnu services xorg))
(use-modules (guix))
(use-service-modules desktop)
(use-package-modules xfce ratpoison wicd avahi xorg certs)

(define (my-slim-service)
        (mlet %store-monad ((config (xorg-configuration-file
                #:resolutions '((1366 768)))))
        (slim-service #:startx
                (xorg-start-command #:configuration-file config))))

(operating-system
  (host-name "camelot")
  (timezone "Europe/Moscow")
  (locale "en_US.UTF-8")

  ;; Assuming /dev/sdX is the target hard disk, and "root" is
  ;; the label of the target root file system.
  (bootloader (grub-configuration (device "/dev/sda")))
  (file-systems (cons (file-system
                        (device "/dev/sda1")
                        (title 'guix)
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  (users (list (user-account
                (name "camel")
                (comment "Camel")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/camel"))))

  ;; Add Xfce and Ratpoison; that allows us to choose
  ;; sessions using either of these at the log-in screen.
  (packages (cons* xfce ratpoison    ;desktop environments
                   xterm wicd avahi  ;useful tools
                   nss-certs         ;for HTTPS access
                   %base-packages))

  ;; Use the "desktop" services, which include the X11
  ;; log-in service, networking with Wicd, and more.
  (services (cons* (my-slim-service)
                   ;;%desktop-services
                   %base-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))


Have I configured slim-service properly? Do I need to use some modules I
haven't mentioned?

Dmitry

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

             reply	other threads:[~2015-08-18  8:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18  8:26 Dmitry Nikolaev [this message]
2015-08-19 19:20 ` Set screen resolution in X 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
  -- strict thread matches above, loose matches on Subject: below --
2015-08-14  9:27 Camel
2015-08-13  7:12 Camel
2015-08-13  9:23 ` Andy Wingo
2015-08-13 12:32   ` Thompson, David
2015-08-20 13:06 ` 宋文武
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='CAH3JXcEV_QFqkn5mP3CQ7ec8Yz3v4oz30WcDR9A=PnMv21d1Pw@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.