basic_wm icon indicating copy to clipboard operation
basic_wm copied to clipboard

Shortcuts not working

Open Litarvan opened this issue 8 years ago • 10 comments

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

Litarvan avatar Nov 27 '16 17:11 Litarvan

So ?

Litarvan avatar Dec 26 '16 23:12 Litarvan

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

moaxcp avatar Jul 22 '18 23:07 moaxcp

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

Litarvan avatar Jul 30 '18 21:07 Litarvan

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

ajh123 avatar Dec 26 '20 13:12 ajh123

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

Litarvan avatar Dec 26 '20 14:12 Litarvan

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.

moaxcp avatar Dec 27 '20 17:12 moaxcp

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

GRFreire avatar May 19 '21 19:05 GRFreire

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

GRFreire avatar May 27 '21 14:05 GRFreire

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 avatar May 31 '21 21:05 gramcracker

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.

gramcracker avatar Jun 01 '21 05:06 gramcracker