cococry / ragnar

Minimal, flexible & user-friendly X tiling window manager
https://ragnarwm.org
GNU General Public License v3.0
1.05k stars 21 forks source link

Keyboard not working properly #13

Open BeZaBel opened 1 year ago

BeZaBel commented 1 year ago

Describe the bug When launching into Ragnar the only way to launch alacritty is through the bar button, same with dmenu. The configuration is the default one. When it launches the terminal, the terminal cursor remains on the screen as if the window isn't selected. Sometimes I can type, sometimes I cannot, it is very inconsistent. If I launch Firefox or Chromium the same behavior appears, (minus the text cursor). Sometimes I can type, sometimes I just can´t. Also, the key binds in the default config are not working. Also, Y and Z are inverted, meaning that if I type Z I get Y on the screen and vice versa. No any other keys have this problem as far as I've seen. The only way to fix it is using setxkbmap to set my layout again, that is, if the terminal allows me to type.

To Reproduce Launch the WM and try to use any default keybind.

Expected behavior Keys working.

Desktop (please complete the following information):

Additional context This were my first minutes in Ragnar. It may as well be that I'm doing something wrong, but I checked dependencies and the config and everything looks ok to me. Dependencies are all installed. Other WMs are working properly.

cococry commented 1 year ago

it's probably because you have to select windows by pressing Super + Left Mouse or Super + Middle Mouse.

Only then you will be able to type something in applications.

BeZaBel commented 1 year ago

Tried it but no change, the window is still not selected and can't type. I'm guessing it has something to do with how Ragnar is processing the keyboard input? Since it still thinks Z is Y and Y is Z when I'm typing.

cococry commented 1 year ago

try updating to version 1.2 and also set the keymap to your country by doing setxkbmap yours. This fixes the keymap issue.

I hope updating to v1.2 fixes the key issue aswell because i changed the event handling in 1.2

cococry commented 1 year ago

do setxkbmap in the ragnarstart file

cococry commented 1 year ago

did you fix this issue?

brainlessbitch commented 1 year ago

I'm having a similar issue, my keyboard seems to be working, but none of the keybinds are working, I changed my keymap already

cococry commented 1 year ago

did you hold the super/windows key for every keybind?

brainlessbitch commented 1 year ago

yes

cococry commented 1 year ago

make sure you have alacritty installed and press super + enter. this should definitely work, if not give me more information, is it also not working with other window managers?

cococry commented 1 year ago

and are you using v1.3?

brainlessbitch commented 1 year ago

i do have alacritty installed, and my keyboard is working with everything else

brainlessbitch commented 1 year ago

i just installed it

cococry commented 1 year ago

put 'chromium &' in your ragnarstart file and sudo make install and try if chrome is working with your keyboard. also, can you send me your ragnarstart file?

brainlessbitch commented 1 year ago

welp, i have no idea why, i just reloaded the config and now it works, i didn't make a single change, it just started working

brainlessbitch commented 1 year ago

i do have a few more questions tho, do you by chance have discord or some more streamlined form of communication?

cococry commented 1 year ago

ah okay perfect haha. if you get why it's not working, you're welcome to sent your solution to the issue

cococry commented 1 year ago

my discord is cococry#3008

brainlessbitch commented 1 year ago

thank you

brainlessbitch commented 1 year ago

i send you a friend request, also thank you for the help

cococry commented 1 year ago

no problem, accepted it