help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customize %desktop-services.


From: Alex Kost
Subject: Re: Customize %desktop-services.
Date: Mon, 16 May 2016 23:20:45 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Dmitry Nikolaev (2016-05-15 14:24 +0300) wrote:

[...]
>   (services
>    (cons*
>     (lsh-service #:port-number 2222)
>     (gnome-desktop-service)
>     (xfce-desktop-service)
>     (console-keymap-service "ru")
>     (cons
>      (slim-service #:allow-empty-passwords? #f #:auto-login? #f
>            #:startx (xorg-start-command
>                  #:configuration-file (xorg-configuration-file
>                            #:extra-config (list libinput.conf)
>                            #:drivers '("radeon" "vesa")
>                            #:resolutions
>                            '((1366 768) (1024 768)))))
>      (remove (lambda (service)
>            (eq? (service-kind service)
>             slim-service-type))
>          %desktop-services))))
>
> Still gives:
>
> guix system: error: service 'xorg-server' provided more than once

I don't have this error with these services.  Could you paste your whole
config?  BTW there is no need to use that additional 'cons' before
slim-service, just:

(cons*
 (lsh-service #:port-number 2222)
 (gnome-desktop-service)
 (xfce-desktop-service)
 (console-keymap-service "ru")
 (slim-service
  #:allow-empty-passwords? #f #:auto-login? #f
  #:startx (xorg-start-command
            #:configuration-file
            (xorg-configuration-file
             #:extra-config (list "libinput.conf")
             #:drivers '("radeon" "vesa")
             #:resolutions
             '((1366 768) (1024 768)))))
 (remove (lambda (service)
           (eq? (service-kind service)
                slim-service-type))
         %desktop-services))

-- 
Alex

reply via email to

[Prev in Thread] Current Thread [Next in Thread]