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:24:07 +0100 (CET) Message-ID: References: <87h8bo2sag.fsf@elephly.net> <87d0mc2nkq.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_34296_1201810927.1553793849250" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:32867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9YlH-0000Qt-N5 for help-guix@gnu.org; Thu, 28 Mar 2019 13:24:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9YlF-0004UB-Sa for help-guix@gnu.org; Thu, 28 Mar 2019 13:24:19 -0400 Received: from w1.tutanota.de ([81.3.6.162]:26752) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9YlF-0004Sc-6a for help-guix@gnu.org; Thu, 28 Mar 2019 13:24:17 -0400 In-Reply-To: <87d0mc2nkq.fsf@elephly.net> 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_34296_1201810927.1553793849250 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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-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 (service xfce-desktop-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 (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 (serv= ice) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 wp= a-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 (lambd= a (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 (e= q? (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=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=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=C2=A0=C2=A0=C2=A0 ntp-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=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0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= )=C2=A0 ;end of remove2 ntp =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 remove3 networking =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 remove= 4 wpa-supplicant =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (elogind-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 c =3D> (elo= gind-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 deskt= op-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 la= yout 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, th= e 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 "tr"= ))=C2=A0 ;for the console =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (bootloader (bootloader-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 (bootloader grub-efi-bootload= er) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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-lay= out))) ;for GRUB =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (services (modify-services %desktop-se= rvices =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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 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 (xorg-configurati= on =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=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= -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 to = 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_002dcon= figuration >> > > 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 command= 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 lo= nger 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 informati= on about the > valid values=E2=80=A6 > > The only reason why you passed a value for =E2=80=9Cstartx=E2=80=9D origi= nally 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 thi= s directly via > the =E2=80=9Cextra-config=E2=80=9D field of the =E2=80=9Cxorg-configurati= on=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_34296_1201810927.1553793849250 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This config not works. It causes er= ror on building xserver:
'= ERROR: In procedure scm-error:
In procedure for-each: Wrong type argumen= t: "Section \"InputClass\"\n        Iden= tifier \"touchpad\"\n        Driver \"li= binput\"\n        MatchIsTouchpad \"on\"= \n        Option \"Tapping\" \"on\"\nEnd= Section"'

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

    &nbs= p;            &= nbsp;           &nbs= p;  (slim-service-type config =3D>
     = ;            &n= bsp;            = ;            &n= bsp;   (slim-configuration
      = ;            &n= bsp;            = ;            &n= bsp;   (xorg-configuration
      = ;            &n= bsp;            = ;            &n= bsp;     (xorg-configuration
    = ;            &n= bsp;            = ;            &n= bsp;        (extra-config
  = ;            &n= bsp;            = ;            &n= bsp;         
"Section \"I= nputClass\"
        Identifier \"touc= hpad\"
        Driver \"libinput\"        MatchIsTouchpad \"on\"
 = ;       Option \"Tapping\" \"on\"
EndSecti= on"
           &n= bsp;            = ;         )))))
  )  ;= end of modify-services 2nd


      &= nbsp;           &nbs= p;         )  ;end of remove a= vahi
           &= nbsp;           &nbs= p;  )  ;end of remove2 ntp
      = ;            &n= bsp;     ;;)  ;end of remove3 networking
 =             &nb= sp;        ;)  ;end of remove4 wpa-= supplicant
          &= nbsp;           (elogind-= service-type
          = ;            &n= bsp; c =3D> (elogind-configuration (handle-lid-switch 'ignore)))
&nbs= p;            &= nbsp;      );;end of modify-services 1st desktop-s= ervices
  ));;end of services
=3D=3D=3D=3D
<= br>

I've found with `info guix` this:

 Let=E2=80=99s say you want your system to use the Turkish keyb= oard layout
throughout your system=E2=80=94bootloader, console, and Xorg= .  Here=E2=80=99s what your
system configuration would look like:
     ;; Using the Turkish layout for the bootload= er, the console,
     ;; and for Xorg.

 =     (operating-system
      = ; ;; ...
       (keyboard-layout (keyboard= -layout "tr"))  ;for the console
     &nbs= p; (bootloader (bootloader-configuration
     &= nbsp;           &nbs= p;   (bootloader grub-efi-bootloader)
    =             &nb= sp;    (target "/boot/efi")
     = ;            &n= bsp;   (keyboard-layout keyboard-layout))) ;for GRUB
 &nb= sp;     (services (modify-services %desktop-services            &n= bsp;      (slim-service-type config =3D>
&nb= sp;            =         (slim-configuration
 &nb= sp;            =          (inherit config)
 =             &nb= sp;         (xorg-configuration
=             &nb= sp;            (xorg= -configuration          &= nbsp;  ;for Xorg
        &n= bsp;            = ;      (keyboard-layout keyboard-layout))))))))
   In the example above, for GRUB and for Xorg, we just refe= r to the
=E2=80=98keyboard-layout=E2=80=99 field defined above, but we c= ould just as well refer
to a different layout.


But word 'touchpad' absents in `ingo guix`. I do not know what to do.<= br>


<= br>
Mar 27, 2019, 6:12 PM by r= ekado@elephly.net:

Now yes, but I think it is old, cause= startx rests there in slim
config:

A copy of the manual that matches the version of Gu= ix you have installed
come= s with Guix itself. I suggest using that up-to-date manual instead
of the manual on the web which ma= tches the latest release.
=
You can access the manual= with =E2=80=9Cinfo guix=E2=80=9D on the command line (or with
the equivalent in Emacs, which has a m= uch 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 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 informati= on about the
valid values= =E2=80=A6

The only reason why you passed a value fo= r =E2=80=9Cstartx=E2=80=9D originally was just
to pass an Xorg configuration snippet via =E2=80=9C#:e= xtra-config=E2=80=9D. According
to the manual for =E2=80=9Cxorg-configuration=E2=80=9D you can now d= o this directly via
the = =E2=80=9Cextra-config=E2=80=9D field of the =E2=80=9Cxorg-configuration=E2= =80=9D record.

<= div style=3D"16px" text-align=3D"left">So you=E2=80=99ll probably end up wi= th something like this:
(service slim-service-type<= br>
(slim-configuration
(xorg-configuration
<= div style=3D"16px" text-align=3D"left"> (xorg-configuration
(extra-config "=E2=80=A6")))))
=


--
Ricardo

------=_Part_34296_1201810927.1553793849250--