From: Mekeor Melire <mekeor@posteo.de>
To: Akib Azmain Turja <akib8492@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: xmodmap doesn't before pressing any button keyboard
Date: Sun, 18 Jul 2021 16:14:33 +0000 [thread overview]
Message-ID: <87bl6zwq1o.fsf@posteo.de> (raw)
In-Reply-To: <87tukrd6qt.fsf@gmail.com>
hello!
you are using Guix-system, right? you might want to add some extra
X.org-configuration to your systems declaration. for example, if you're
using the Slim login-manager, here's a snippet from my
Guix-system-declaration which makes X.org map caps-lock to ctrl while
using the german keyboard layout:
--8<---------------cut here---------------start------------->8---
(slim-service
#:startx (xorg-start-command
#:configuration-file (xorg-configuration-file
#:extra-config (list
"Section \"InputClass\"
Identifier \"Keyboard Defaults\"
MatchIsKeyboard \"on\"
Option \"XkbLayout\" \"de\"
Option \"XkbOptions\" \"ctrl:nocaps\"
EndSection"))))
--8<---------------cut here---------------end--------------->8---
how do you start EXWM? if you start it with an ~/.xsession file, that's
also a good place to put your keyboard-initialization code in, as far as
i know.
ciao
mekeor
2021-07-18 / 20:41 / akib8492@gmail.com:
> [[PGP Signed Part:Undecided]]
> 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?
next prev parent reply other threads:[~2021-07-18 16:22 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 [this message]
2021-07-19 9:52 ` Paul Jewell
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=87bl6zwq1o.fsf@posteo.de \
--to=mekeor@posteo.de \
--cc=akib8492@gmail.com \
--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).