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

Why are not all key symbols recognised in i3 config?

asked 2015-03-26 08:34:58 +0000

kynan gravatar image

updated 2015-03-26 08:40:56 +0000

The user guide suggests using xmodmap -pke or xev to figure out key symbols to use with bindsym in the i3 config. However not all key symbols are recognised, e.g. Alt_L (key code 64).

How is the user supposed to know that you need to use the modifier keys Mod1 rather than Alt_L and Mod4 rather than Super_L?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-03-26 08:40:59 +0000

Michael gravatar image

Alt+L is a modifier, hence X11 handles it differently than just a regular key.

Running xmodmap (without arguments) will display the available modifiers and which keys trigger each modifier.

I don’t think there’s anything we can do in i3 to make this significantly easier, that modifiers exist and how they are configured/how they behave is just something that you’ll have to learn when dealing with X11 :).

edit flag offensive delete link more


OK, thanks for explaining, I wasn't aware that modifiers are treated differently in general. The docs do actually mention `xmodmap` so I suppose it's clear enough.

kynan gravatar imagekynan ( 2015-03-26 22:31:43 +0000 )edit

Question Tools


Asked: 2015-03-26 08:34:58 +0000

Seen: 182 times

Last updated: Mar 26