question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Keybindings not working correctly

See original GitHub issue

The issue:

Hey, so I just updated to Qtile 0.22.1, but now there is an issue with my config.py. So I did some debugging an I found out that if there is two keybinding in the keys list that contains a keybinding with “mod”, and “mod + mod5”, then both the keybindings will be set to the first. Here is an example:

mod = "mod4"
altgr = "mod5"

keys = [
  ...
  Key([mod], "p", lazy.spawn(".config/dmenu/dm-utils")),
  Key([mod, altgr], "p", lazy.spawn(".config/dmenu/dm-help")),
]

So if this is inside the config.py, then if I do either of the key presses, then it will run this every time: lazy.spawn(".config/dmenu/dm-utils")

Required:

  • I have searched past issues to see if this bug has already been reported.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
FroztOfficialcommented, Sep 22, 2022

I am using X11.

0reactions
joe-battcommented, Nov 23, 2022

I can now confirm that my problem is something else. The differentiating is the DisplayManager. On my PC I use SDDM, in the VM I used the default GDM. I can consistently reproduce the overlapping key bindings when using SDDM, with GDM everything is fine. I might open a new issue for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keybinds doesn't work - Microsoft Community
To fix this issue kindly try the steps below: 1-Try to use another keyboard and check if the issue still persists or not....
Read more >
7 Ways to Fix Keyboard Shortcuts Not Working in Windows 10
7 Ways to Fix Keyboard Shortcuts Not Working in Windows 10 ; Click Start, then head to Settings > System > Update &...
Read more >
Key bindings not working - PC Discussion - Funcom Forums
The fix for this is to reset the Key Bindings to the default and then set them the way you want them. Epic...
Read more >
Keyboard shortcuts and Hotkeys are not working
Keyboard shortcuts & Hotkeys are not working · 1] Physically clean the keyboard keys · 2] Run the Hardware troubleshooter · 2] Connect...
Read more >
Keyboard Shortcuts Not Working: Solved
Whichever problem you are having with your media keys, adding in the FN key to your shortcut will solve it. For example, if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found