On 14 August 2015 at 12:27, Camel <[email protected]> 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

Reply via email to