Skip to content

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 i3 keybinds (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 xev shows it being recognized as pressed
  • Updating my system did not fix the problem
  • I can open programs other ways, such as shortcuts programmed into xmenu or pmenu (graphical right click menus). It's only the i3 shortcuts 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.

2 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 75% up
Kind
Text
ID
190jech

Author

132
posts
422
comments
41
media
View profile

8 comments

Does Alt work instead? Maybe the config somehow defaulted back to Alt as the Mod key?

2 points

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 i3 just stopped wanting to see Windows key?

2 points

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?

2 points

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

2 points

I considered that, but the issue persisted through a multiple restarts

1 points

Did something else bind the key maybe?

I imagine you’ve already tried, but is it persistent over a restart?

2 points

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

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.