I have an LED keyboard that uses the scroll lock key to illuminate the keys. As such,
I've added the following line to my .xmodmap:
- add Mod3 = Scroll_Lock
All of them get overridden by xmodmap somehow. I then tried to put the xmodmap as autostart for i3 but same problem persisted.
As an experiment, I moved the xmodmap autostart line to the top of the .i3/config file to see if that would work since i3 will run xmodmap before it runs its custom key bindings. That left me in the state that I'm at now. When I press Scroll Lock key to turn off the keyboard, the i3 key bindings work, when I illuminate the keyboard, they do not. I don't know if the error lies in xmodmap or in i3. Any help would be appreciated. This is the line on the top of .i3/config:
- exec --no-startup-id xmodmap .xmodmap