From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Touchpad tap config in slim-service-type configuration Date: Thu, 28 Mar 2019 18:34:02 +0100 (CET) Message-ID: References: <87h8bo2sag.fsf@elephly.net> <87d0mc2nkq.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_34566_454446617.1553794442887" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9Yul-0002rl-F8 for help-guix@gnu.org; Thu, 28 Mar 2019 13:34:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9Yuj-0007nn-DX for help-guix@gnu.org; Thu, 28 Mar 2019 13:34:07 -0400 Received: from w1.tutanota.de ([81.3.6.162]:61878) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9Yui-0007nX-MB for help-guix@gnu.org; Thu, 28 Mar 2019 13:34:05 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: Help Guix ------=_Part_34566_454446617.1553794442887 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry, it works this way =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (slim-service-type config =3D> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0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C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (extr= a-config =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 '("Section \"InputClass\" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Identifier \"touchpad\" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Driver \"libinput\" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 MatchIsTouchpad \"on\" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Option \"Tapping\" \"on\" EndSection") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ))))) I have found how to use 'extra-config` function in `info guix` using keywor= d 'extra-config' and reading this: =C2=A0=C2=A0=C2=A0=C2=A0 =E2=80=98extra-config=E2=80=99 (default: =E2=80=98= '()=E2=80=99) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 This is a list of st= rings or objects appended to the =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 configuration file.= =C2=A0 It is used to pass extra text to be added =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 verbatim to the conf= iguration file. Thank you! Touchpad works, and guix reconfigures system normally. Mar 28, 2019, 5:24 PM by znavko@tutanota.com: > This config not works. It causes error on building xserver: > 'ERROR: In procedure scm-error: > In procedure for-each: Wrong type argument: "Section \"InputClass\"\n=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Identifier \"touchpad\"\n=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Driver \"libinput\"\n=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 MatchIsTouchpad \"on\"\n=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 Option \"Tapping\" \"on\"\nEndSection"' > > =3D=3D=3D=3D > =C2=A0 (services (cons*=C2=A0=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;(service postgresql-service-ty= pe) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (service xfce-desktop-service-ty= pe) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-services=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;(remove (lambda (s= ervice) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;=C2=A0 (eq? (servi= ce-kind service) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;=C2=A0=C2=A0=C2=A0= wpa-supplicant-service-type)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;=C2=A0 (remove (la= mbda (service) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;=C2=A0=C2=A0=C2=A0= (eq? (service-kind service) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;;=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 static-networking-service-type)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (remove (lambda (service) > =C2=A0=C2=A0=C2=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=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 c =3D> (= elogind-configuration (handle-lid-switch 'ignore))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 );;end of modify-services 1st de= sktop-services > =C2=A0 ));;end of services > =3D=3D=3D=3D > > > I've found with `info guix` this: > > =C2=A0Let=E2=80=99s say you want your system to use the Turkish keyboard = layout > throughout your system=E2=80=94bootloader, console, and Xorg.=C2=A0 Here= =E2=80=99s what your > system configuration would look like: > > =C2=A0=C2=A0=C2=A0=C2=A0 ;; Using the Turkish layout for the bootloader, = the console, > =C2=A0=C2=A0=C2=A0=C2=A0 ;; and for Xorg. > > =C2=A0=C2=A0=C2=A0=C2=A0 (operating-system > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; ... > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (keyboard-layout (keyboard-layout "t= r"))=C2=A0 ;for the console > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (bootloader (bootloader-configuratio= n > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (bootloader grub-efi-bootl= oader) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (target "/boot/efi") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (keyboard-layout keyboard-= layout))) ;for GRUB > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (services (modify-services %desktop-= services > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (slim-service-type config =3D> > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (slim-configuration > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (inherit confi= g) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (xorg-configur= ation > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (x= org-configuration=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ;for Xorg > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (keyboard-layout keyboard-layout)))))))) > > =C2=A0=C2=A0 In the example above, for GRUB and for Xorg, we just refer t= o the > =E2=80=98keyboard-layout=E2=80=99 field defined above, but we could just = as well refer > to a different layout. > > But word 'touchpad' absents in `ingo guix`. I do not know what to do. > > > > Mar 27, 2019, 6:12 PM by > rekado@elephly.net = > : > >> >> znavko@tutanota.com >> writes: >> >>> Now yes, but I think it is old, cause startx rests there in slim >>> config: >>> https://www.gnu.org/software/guix/manual/en/guix.html#index-slim_002dco= nfiguration >>> >> >> A copy of the manual that matches the version of Guix you have installed >> comes with Guix itself. I suggest using that up-to-date manual instead >> of the manual on the web which matches the latest release. >> >> You can access the manual with =E2=80=9Cinfo guix=E2=80=9D on the comman= d line (or with >> the equivalent in Emacs, which has a much better info reader). Hit =E2= =80=9Ci=E2=80=9D >> for the index and type =E2=80=9Cslim-configuration=E2=80=9D because that= =E2=80=99s what the >> error says has an error. >> >> There you=E2=80=99ll find that =E2=80=9Cslim-configuration=E2=80=9D no l= onger has a =E2=80=9Cstartx=E2=80=9D >> field, but instead offers an =E2=80=9Cxorg-configuration=E2=80=9D field.= So we hit =E2=80=9Ci=E2=80=9D >> again and type =E2=80=9Cxorg-configuration=E2=80=9D to get more informat= ion about the >> valid values=E2=80=A6 >> >> The only reason why you passed a value for =E2=80=9Cstartx=E2=80=9D orig= inally was just >> to pass an Xorg configuration snippet via =E2=80=9C#:extra-config=E2=80= =9D. According >> to the manual for =E2=80=9Cxorg-configuration=E2=80=9D you can now do th= is directly via >> the =E2=80=9Cextra-config=E2=80=9D field of the =E2=80=9Cxorg-configurat= ion=E2=80=9D record. >> >> So you=E2=80=99ll probably end up with something like this: >> >> (service slim-service-type >> (slim-configuration >> (xorg-configuration >> (xorg-configuration >> (extra-config "=E2=80=A6"))))) >> >> >> -- >> Ricardo >> > > ------=_Part_34566_454446617.1553794442887 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry, it works this way
<= div style=3D"16px" text-align=3D"left">

  = ;            &n= bsp;            = ;     (slim-service-type config =3D>
  =             &nb= sp;            =             &nb= sp;      (slim-configuration
   =             &nb= sp;            =             &nb= sp;      (xorg-configuration
   =             &nb= sp;            =             &nb= sp;        (xorg-configuration
 =             &nb= sp;            =             &nb= sp;           (extra-conf= ig
           &nb= sp;            =             &nb= sp;            =
'("Section \"InputClass\"
       = ; Identifier \"touchpad\"
        Dri= ver \"libinput\"
        MatchIsTouch= pad \"on\"
        Option \"Tapping\"= \"on\"
EndSection")
        =             &nb= sp;            )))))=


= I have found how to use 'extra-config` function in `info guix` using keywor= d 'extra-config' and reading this:

  &nb= sp;  =E2=80=98extra-config=E2=80=99 (default: =E2=80=98'()=E2=80=99)          This is a list of = strings or objects appended to the
      &= nbsp;   configuration file.  It is used to pass extra text t= o be added
          verbat= im to the configuration file.


Thank you! Touchpad works, and guix reconfigu= res system normally.

<= /div>

Mar 28, 2019, 5:24 PM by znavko@tutanota.com:
=
This config n= ot works. It causes error on building xserver:
'ERROR: In procedure scm-error:
In procedure for-each: Wrong= type argument: "Section \"InputClass\"\n     &nbs= p;  Identifier \"touchpad\"\n       = ; Driver \"libinput\"\n        MatchIsTo= uchpad \"on\"\n        Option \"Tapping\= " \"on\"\nEndSection"'

=3D=3D=3D=3D
  (services (cons* 
        &n= bsp;           ;;(service= postgresql-service-type)
=             &nb= sp;       (service xfce-desktop-service-type)=
    &= nbsp;           &nbs= p;   (modify-services     
      &n= bsp;            = ;   ;;(remove (lambda (service)
          = ;            ;; = ; (eq? (service-kind service)
            = ;          ;;   = ; wpa-supplicant-service-type))
           &nb= sp;          ;;  (remove = (lambda (service)
 &n= bsp;            = ;        ;;    (eq? (serv= ice-kind service)
 &n= bsp;            = ;        ;;     = ; static-networking-service-type))
           = ;            &n= bsp;  (remove (lambda (service)
          &nbs= p;            &= nbsp;    (eq? (service-kind service)
        &= nbsp;           &nbs= p;         ntp-service-type))
     &= nbsp;           &nbs= p;          (remove (lambda (s= ervice)
   =             &nb= sp;            =   (eq? (service-kind service)
           = ;            &n= bsp;        avahi-service-type))
     &nb= sp;            =             (modify-= services %desktop-services

    =             &nb= sp;            =    (slim-service-type config =3D>
         =             &nb= sp;            =             (slim-co= nfiguration
  &n= bsp;            = ;            &n= bsp;            = ;       (xorg-configuration
       &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;    (xorg-configuration
          =             &nb= sp;            =             &nb= sp;  (extra-config
&n= bsp;            = ;            &n= bsp;            = ;           
"Section \"InputClass\"
     &nbs= p;  Identifier \"touchpad\"
        Driver \"libinput\"
     &= nbsp;  MatchIsTouchpad \"on\"
        Option \"Tapping\" \"o= n\"
EndSection"
<= div style=3D"16px" text-align=3D"left">      =             &nb= sp;            =   )))))
  ) = ; ;end of modify-services 2nd


       &nb= sp;            =         )  ;end of remove avahi
=
     = ;            &n= bsp;        )  ;end of remove2 ntp<= br>
    &n= bsp;            = ;       ;;)  ;end of remove3 networking<= br>
    &n= bsp;            = ;     ;)  ;end of remove4 wpa-supplicant
=
      = ;            &n= bsp;   (elogind-service-type
          &n= bsp;            = ; c =3D> (elogind-configuration (handle-lid-switch 'ignore)))
<= div style=3D"16px" text-align=3D"left">      =             &nb= sp; );;end of modify-services 1st desktop-services
  ));;end of services
=3D=3D=3D=3D


I've found with `info guix` this:

 Let=E2=80=99s say you want your system to use = the Turkish keyboard layout
throughout your system=E2=80=94bootloader, console, and Xorg.  Here= =E2=80=99s what your
syste= m configuration would look like:

   =   ;; Using the Turkish layout for the bootloader, the console,
     ;; and f= or Xorg.

     (operating-system=
    &= nbsp;  ;; ...
 &= nbsp;     (keyboard-layout (keyboard-layout "tr")) = ; ;for the console
 &= nbsp;     (bootloader (bootloader-configuration
     &nb= sp;            =    (bootloader grub-efi-bootloader)
         &= nbsp;           (target "= /boot/efi")
  &n= bsp;            = ;      (keyboard-layout keyboard-layout))) ;for GR= UB
    = ;   (services (modify-services %desktop-services
       =             (slim-se= rvice-type config =3D>
=             &nb= sp;        (slim-configuration
=
      = ;            &n= bsp;    (inherit config)
          &= nbsp;            (xo= rg-configuration
 &nb= sp;            =            (xorg-configur= ation           &nbs= p; ;for Xorg
  &= nbsp;           &nbs= p;            (keybo= ard-layout keyboard-layout))))))))

   In= the example above, for GRUB and for Xorg, we just refer to the
=E2=80=98keyboard-layout=E2=80=99 fie= ld defined above, but we could just as well refer
to a different layout.

But word 'touchpad' absents in `ingo g= uix`. I do not know what to do.



Mar 27, 2019, 6:12 PM by rekado@elephly.net:

Now yes, but I think it is old, cause startx rests there = in slim
config:
<= a rel=3D"noopener noreferrer" target=3D"_blank" href=3D"https://www.gnu.org= /software/guix/manual/en/guix.html#index-slim_002dconfiguration">https://ww= w.gnu.org/software/guix/manual/en/guix.html#index-slim_002dconfiguration

A= copy of the manual that matches the version of Guix you have installed
=
comes with Guix itself. I suggest using that up-= to-date manual instead
of the manual on the we= b which matches the latest release.

=
You can access the manual with =E2=80=9Cinfo guix=E2=80= =9D on the command line (or with
the equivalen= t in Emacs, which has a much better info reader). Hit =E2=80=9Ci=E2=80=9D<= br>
for the index and type =E2=80=9Cslim-configura= tion=E2=80=9D because that=E2=80=99s what the
= error says has an error.

There you=E2=80=99ll find that =E2=80=9Cslim-configuration=E2=80= =9D no longer has a =E2=80=9Cstartx=E2=80=9D
f= ield, but instead offers an =E2=80=9Cxorg-configuration=E2=80=9D field. So= we hit =E2=80=9Ci=E2=80=9D
again and type =E2= =80=9Cxorg-configuration=E2=80=9D to get more information about the
valid values=E2=80=A6
The only reason why you passed a value for =E2= =80=9Cstartx=E2=80=9D originally was just
to p= ass an Xorg configuration snippet via =E2=80=9C#:extra-config=E2=80=9D. Ac= cording
to the manual for =E2=80=9Cxorg-config= uration=E2=80=9D you can now do this directly via
the =E2=80=9Cextra-config=E2=80=9D field of the =E2=80=9Cxorg-configura= tion=E2=80=9D record.

So you=E2=80=99ll probably end up with something like this:
=

(service slim-service-typ= e
(slim-configuration
(xorg-configuration
(xorg-configuration
(extra-config "=E2=80=A6")))))


--=
Ricardo


------=_Part_34566_454446617.1553794442887--