unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: stuebinm <stuebinm@disroot.org>
To: help-guix@gnu.org
Subject: Re: xmodmap doesn't before pressing any button keyboard
Date: Sun, 18 Jul 2021 18:09:13 +0200	[thread overview]
Message-ID: <4b8c6d91-582b-9fd8-dcdf-bc851cff9339@disroot.org> (raw)
In-Reply-To: <87tukrd6qt.fsf@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1093 bytes --]

I also use EXWM, and made good experiences with setting keyboard 
remapping options directly in my system's config.scm (via the :options 
of keyboard-layout, which sets XKB options; see the manual for examples: 
https://guix.gnu.org/de/manual/en/html_node/Keyboard-Layout.html).

However, I just use it to remap capslock to escape (for vim/evil-mode), 
so if you need more, I'm not sure if it'll work for you — I've never 
used xmodmap, I'm not sure if you can do everything using XKB options 
that xmodmap can do — at first glance xmodmap seems more general.

~stuebinm

On 18.07.21 16: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?
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2021-07-18 18:15 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 [this message]
2021-07-18 16:14 ` Mekeor Melire
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=4b8c6d91-582b-9fd8-dcdf-bc851cff9339@disroot.org \
    --to=stuebinm@disroot.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).