unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: John Soo <jsoo1@asu.edu>
To: help-guix <help-guix@gnu.org>
Subject: xorg-configuration questions
Date: Sat, 6 Apr 2019 21:12:53 +0000	[thread overview]
Message-ID: <CAKf5CqUdno4PAHu-0wDWndCud15y3GbdNrh5MjfrF1QkJT7gbA@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2019-04-06 21:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-06 21:12 John Soo [this message]
2019-04-06 23:04 ` xorg-configuration questions 宋文武
2019-04-09 15:04 ` Ludovic Courtès
2019-04-09 16:06   ` John Soo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKf5CqUdno4PAHu-0wDWndCud15y3GbdNrh5MjfrF1QkJT7gbA@mail.gmail.com \
    --to=jsoo1@asu.edu \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).