Why can't I `bindsym Mod1+Mod3' ?
I've tried to put the same command for bindsym Mod1+Mod4 and bindsym $mod+x and it seems that only the latter works. Why is this? How do I troubleshoot this issue?
I've tried to put the same command for bindsym Mod1+Mod4 and bindsym $mod+x and it seems that only the latter works. Why is this? How do I troubleshoot this issue?
Instead of bindsym you need to use bindcode. For that to work you have to find out the keycode of your Mod1 and Mod4 keys. You can do that using the xkbevd command line tool. For me, Mod1(=Alt) has keycode 64 and Mod4(=Windows key) has keycode 133. So I would use
bindcode Mod1 + 133 exec <command>
bindcode Mod4 + 64 exec <command>
Note that you need both commands because bindcode is sensitive to the order in which the keys are pressed!
Asked: 2015-01-30 15:51:07 +0000
Seen: 168 times
Last updated: Jan 31
Copyright i3, 2012 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.