Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcuts not working #1

Open
Litarvan opened this issue Nov 27, 2016 · 10 comments
Open

Shortcuts not working #1

Litarvan opened this issue Nov 27, 2016 · 10 comments

Comments

@Litarvan
Copy link

I do CTRL + SHIFT to grab mouse/keyboard, but when i do the shortcuts in the README, nothing happen

@Litarvan
Copy link
Author

So ?

@moaxcp
Copy link

moaxcp commented Jul 22, 2018

It is not obvious to me what you are trying to do. What application are you running the window manager in?

@Litarvan
Copy link
Author

Xephyr, as it is described in https://github.com/jichu4n/basic_wm/blob/master/build_and_run.sh

@ajh123
Copy link

ajh123 commented Dec 26, 2020

Have your mouse pointer in the Xephyr window and do CTRL+SHIFT, then try the shortcuts like ALT+F4.

@Litarvan
Copy link
Author

It does nothing, that's why I opened the issue

@moaxcp
Copy link

moaxcp commented Dec 27, 2020

What @ajh123 is asking is if you pressed CTRL+SHIFT in the Xephyr window. This needs to happen so Xephyr captures your keyboard input rather than you normal window manager. The title of the Xephyr window will change to indicate if it is capturing input.

@GRFreire
Copy link

Same thing here. Xephyr is capturing my input and it is still not working. Any ideas on what I am doing wrong?

@GRFreire
Copy link

For some reason adding Mod2Mask solved for me. Hope it's helpful for you guys too.

@gramcracker
Copy link

gramcracker commented May 31, 2021

I'm having the same problem. I also got it to work by changing all occurrences of Mod1Mask to Mod2Mask. Mod 2 is supposed to be the number lock, so it causes my right clicks to resize the window, and right clicks to move it, I'm assuming since I have no numlock? That still doesn't explain why this doesn't work with alt.

@gramcracker
Copy link

gramcracker commented Jun 1, 2021

I just tested it with a different keyboard, and turning off the numlock fixed the problem for me.
Apparently with it on, the key combo becomes Mod2Mask + Mod1Mask + button1, which won't trigger the event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants