I am trying to change the capslock key for an “F13” key so I can use it as sort of an app launcher key. I am doing this with xmodmap, by adding the following to my i3 config:
exec_always --no-startup-id sh xmodmap ~/.Xmodmap
This, however, doesn’t work at startup. I have also tried to add a “sleep” parameter, but it still doesn’t work. If I do reload the config file, it does work, but not until I do so! Doing that in the terminal also works. So, why is xmodmap not being run on startup?
I also tried adding the following to my .xinitrc:
to my .initrc. So my .initrc is as follows:
xmodmap ~/.Xmodmap exec i3
But I don’t think lightdm (which EOS’s i3wm uses) uses xinitrc.