Open ad-on-is opened 1 year ago
Which key are you calling meta? Mod5
(with capital 'M') is usually AltGr: https://awesomewm.org/apidoc/input_handling/awful.key.html#modifiers
Which key are you calling meta?
Mod5
(with capital 'M') is usually AltGr: https://awesomewm.org/apidoc/input_handling/awful.key.html#modifiers
Oh sorry... I meant "Mode_switch" not meta key...
Ok so just use a capital 'M', it should work as expected
awful.key(
{ "Mod5" }, "space",
function() awful.spawn( "kitty" ) end
)
I should really double-read my texts before/after posting. I have it as "Mod5", not "mod5" as written.
Oh ok (I missed your first edit sorry), so a minimal config file with this problem would help.
I tested on my machine, on which the config is close to stock awesome, it works fine, although to me Mod5 is AltGr not right windows since I don't have that key.
Maybe your keymap (and any changes you made to it) could be helpful too.
Could it be xfce-shortcuts or any other key binding software overriding awesomewm? I had this recently.
comment out the shortcut in AwesomeWM config and check with xev
- is it still binded to something or not anymore
Output of
awesome --version
:awesome v4.3-1585-g1239cdf4b (Too long) • Compiled against Lua 5.4.4 (running with 0.9.2) • API level: 4 • D-Bus support: yes • xcb-errors support: no • execinfo support: yes • xcb-randr version: 1.6 • LGI version: /usr/share/lua/5.4/lgi/version.lua • Transparency enabled: yes • Custom search paths: no
How to reproduce the issue:
I configured my right Windows-key to act as Mode_switch. Awesomewm recognizes it as "mod5". Most of the keybindings work with that modifier, except for the space bar.
Assign a keybinding
Actual result:
Space is inserted.
Expected result:
kitty should open