The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

xmodmap and xcape not loading on start up

asked 2014-11-16 08:07:54 +0000

nielsk gravatar image

updated 2014-11-17 08:58:15 +0000

Adaephon gravatar image

I load xmodmap and xcape via exec on startup

exec_always --no-startup-id "xmodmap /home/nik/.xmodmap"

(I tried it with and without ")

exec_always --no-startup-id xcape


keycode 66 = Control_L
clear lock
add Control = Control_L

But they do not load. When I reload the config though, it works. I see no errors in .xsession-errors and the i3-log doesn't have errors either.

edit retag flag offensive close merge delete


I just realized that [Using setxkbmap to disabple CapsLock]( may be a duplicate of this question. Please see the comments there for a possible solution.

Adaephon gravatar imageAdaephon ( 2015-07-13 08:15:42 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-10 19:05:30 +0000

I had the same problem and found after some experimentation that adding a sleep solves the problem -- so it's probably some initialization problem :-/

edit flag offensive delete link more

Question Tools


Asked: 2014-11-16 08:07:54 +0000

Seen: 1,516 times

Last updated: Jul 10