From: Paul Jewell <paul@teulu.org>
To: help-guix@gnu.org
Subject: Re: xmodmap doesn't before pressing any button keyboard
Date: Mon, 19 Jul 2021 10:52:56 +0100 [thread overview]
Message-ID: <0f7973bc-dd5a-ae72-afcc-37c3a89cec9e@teulu.org> (raw)
In-Reply-To: <87tukrd6qt.fsf@gmail.com>
On 18/07/2021 15:41, Akib Azmain Turja wrote:
> I have setup my Emacs iwth EXWM. I am trying to remap several keys to
> avoid repetitive strain injury (RSI), also known as Emacs pinky. To
> accomplish that, I am using xmodmap. It works perfectly when I invoke
> the command directly. However it doesn't work when I put it in Emacs
> startup files. After several days of research, I discovered that
> xmodmap only works when I have pressed atleast one key in my keyboard.
> Any solutions?
>
I started looking at this, following your email, and came across the
following:
https://librehacker.com/2020/12/23/caps-lock-as-ctrl-guix-system-configuration/
This swaps the ctrl key with the capslock key. This could possibly be
expanded to cover other changes (I am not sure what others you are
looking at).
Using the keyboard-layout option should mean your changes are working in
the different virtual terminals as well as any X session.
next prev parent reply other threads:[~2021-07-19 9:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-18 14:41 xmodmap doesn't before pressing any button keyboard Akib Azmain Turja
2021-07-18 16:09 ` stuebinm
2021-07-18 16:14 ` Mekeor Melire
2021-07-19 9:52 ` Paul Jewell [this message]
2021-07-20 15:30 ` Gary Johnson
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=0f7973bc-dd5a-ae72-afcc-37c3a89cec9e@teulu.org \
--to=paul@teulu.org \
--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).