i3 stopped recognizing Windows key?
This is the best description of the problem as best as I can tell.
Here are the symptoms:
- After a while of using my PC (uptime 2+ weeks), I noticed that I couldn't open any terminals, or trigger any of my other
i3keybinds (such as rearranging windows). - In a terminal, pressing Windows+1 just types a
1.
Other facts:
- My keyboard seems to be working in every other respect
- The Windows Key Lock button (present on corsair k70) is not activated
- the i3 debug log did not reveal any obvious errors
- pressing the Windows key while running
xevshows it being recognized as pressed - Updating my system did not fix the problem
- I can open programs other ways, such as shortcuts programmed into
xmenuorpmenu(graphical right click menus). It's only thei3shortcuts that are broken.
I'm really at a loss at what to do. Did i3 change config format? This is the same config I've been using for years.
About this post
- Posted
- Archived
- Score
- 2 · 75% up
- Kind
- Text
- ID
- 190jech
8 comments
Does Alt work instead? Maybe the config somehow defaulted back to Alt as the Mod key?
It didn't switch to Alt, but interestingly enough rebinding it to
Mod1(Alt) "fixes" it in the sense that Alt functions as the mod key and I can use i3 keybinds regularly.Long term not an ideal fix because that interferes with other programs keybinds. Any idea why
i3just stopped wanting to see Windows key?Was it set as Mod4 previously or was it using the $Mod variable? If it was $mod, does it work if you rebind as mod4?
Just to discard, maybe u pressed the resize window combination, then forgot. This has happened to me before and asked why mod key was not working when i was in resize mode
I considered that, but the issue persisted through a multiple restarts
Did something else bind the key maybe?
I imagine you’ve already tried, but is it persistent over a restart?
You need to setup your keyboard settings.
If you are using systemd, use localectl to setup, otherwhise create a file named /etc/X11/xorg.conf.d/00-keyboard.conf
You need to specify your keyboard layout, model e variant. Restart your system and test.
Arch Wiki - Xorg keyboard configuration