unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: "Jakub Kądziołka" <kuba@kadziolka.net>
Cc: help-guix@gnu.org
Subject: Re: How to specify custom remappings with keyboard-layout?
Date: Mon, 6 Apr 2020 03:05:24 +0200	[thread overview]
Message-ID: <20200406010524.ao2hcdoczejyaamc@pelzflorian.localdomain> (raw)
In-Reply-To: <20200405221822.opk7w7f6uxpdfjxd@gravity>

On Mon, Apr 06, 2020 at 12:18:22AM +0200, Jakub Kądziołka wrote:
>     xmodmap -e 'keycode 62='
> 
> and disable it, but I need to make this apply in GDM too. I assume I'd
> have to specify that in the keyboard-layout record, but both the
> documentation and the code aren't too clear on how I'd go about doing
> that.

Guix writes the keyboard layout in the InputClass section of
xorg.conf.  It seems what you need is more like xkbcomp:

https://wiki.archlinux.org/index.php/X_keyboard_extension#Using_keymap

You could probably use an .xinitrc file like Arch or you could patch
xorg-server to use your xkbcomp map by default.

Regards,
Florian

  reply	other threads:[~2020-04-06  1:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05 22:18 How to specify custom remappings with keyboard-layout? Jakub Kądziołka
2020-04-06  1:05 ` pelzflorian (Florian Pelz) [this message]
2020-04-06  1:22   ` pelzflorian (Florian Pelz)
2020-04-06 11:05     ` Jakub Kądziołka
2020-04-07  1:50       ` pelzflorian (Florian Pelz)
2020-04-07  9:36     ` pelzflorian (Florian Pelz)

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=20200406010524.ao2hcdoczejyaamc@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=help-guix@gnu.org \
    --cc=kuba@kadziolka.net \
    /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).