all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* xorg-configuration questions
@ 2019-04-06 21:12 John Soo
  2019-04-06 23:04 ` 宋文武
  2019-04-09 15:04 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: John Soo @ 2019-04-06 21:12 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1714 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-09 16:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-06 21:12 xorg-configuration questions John Soo
2019-04-06 23:04 ` 宋文武
2019-04-09 15:04 ` Ludovic Courtès
2019-04-09 16:06   ` John Soo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.