From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: xorg-configuration questions Date: Sat, 6 Apr 2019 21:12:53 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000af2a520585e311c9" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:32987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCscd-00023f-E8 for help-guix@gnu.org; Sat, 06 Apr 2019 17:13:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCscc-0008Ot-Gc for help-guix@gnu.org; Sat, 06 Apr 2019 17:13:07 -0400 Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]:41586) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hCscb-0008OP-P0 for help-guix@gnu.org; Sat, 06 Apr 2019 17:13:06 -0400 Received: by mail-ua1-x930.google.com with SMTP id l22so3164116uao.8 for ; Sat, 06 Apr 2019 14:13:05 -0700 (PDT) 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: help-guix --000000000000af2a520585e311c9 Content-Type: text/plain; charset="UTF-8" Hey all, I love the idea of having one record for keyboard layout and I just reconfigured my system with the new configuration but my settings won't take. I've had issues with the old `extra-config` options in the past (nothing worked then including the cst-trackball from below). Admittedly, I am quite unfamiliar with xorg configuration of input devices so I can imagine I may be doing something wrong. I've listed what I have so far below. Note that the console keymap works properly. Also the auto-login does not seem to work either. What am I doing wrong? (define ctrl-nocaps (keyboard-layout "us" #:options '("ctrl:nocaps")) ... (define cst-trackball "Section \"InputClass\" Identifier \"CST Trackball\" Driver \"libinput\" MatchVendor \"CST\" MatchProduct \"CST USB UNITRAC\" MatchIsPointer \"on\" Option \"AccelerationNumerator\" \"2.0\" EndSection") ... (modify-services %desktop-services ... ('gdm-service-type c => (gdm-configuration (inherit c) (auto-login? #t) (default-user "john") (xorg-configuration (xorg-configuration (keyboard-layout ctrl-nocaps) (extra-config `(,cst-trackball))))))) Thanks again! - John --000000000000af2a520585e311c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey all,

I love the idea of = having one record for keyboard layout and I just reconfigured my system wit= h the new configuration but my settings won't take. I've had issues= with the old `extra-config` options in the past (nothing worked then inclu= ding the cst-trackball from below). Admittedly, I am quite unfamiliar with = xorg configuration of input devices so I can imagine I may be doing somethi= ng wrong. I've listed what I have so far below. Note that the console k= eymap works properly. Also the auto-login does not seem to work either. Wha= t am I doing wrong?

(define ctrl-nocaps (keyb= oard-layout "us" #:options '("ctrl:nocaps"))
...
(define cst-trackball
=C2=A0"Se= ction \"InputClass\"
=C2=A0=C2=A0=C2=A0 Identifier \&qu= ot;CST Trackball\"
=C2=A0=C2=A0=C2=A0 Driver \"libinput= \"
=C2=A0=C2=A0=C2=A0 MatchVendor \"CST\"
=C2=A0=C2=A0=C2=A0 MatchProduct \"CST USB UNITRAC\"
= =C2=A0=C2=A0=C2=A0 MatchIsPointer \"on\"
=C2=A0=C2=A0= =C2=A0 Option \"AccelerationNumerator\" \"2.0\" EndSection")
...
(modify-services %desktop-ser= vices
...
('gdm-service-type c =3D>
=C2=A0(gdm-configuration
=C2=A0 (inherit= c)
=C2=A0 (auto-login? #t)
=C2=A0 (default-user "= john")
=C2=A0 (xorg-configuration
=C2=A0=C2=A0 (xo= rg-configuration
=C2=A0=C2=A0=C2=A0 (keyboard-layout ctrl-nocaps)=
=C2=A0=C2=A0=C2=A0 (extra-config `(,cst-trackball)))))))

Thanks again!

- John
--000000000000af2a520585e311c9--