ragnar icon indicating copy to clipboard operation
ragnar copied to clipboard

Keyboard not working properly

Open BeZaBel opened this issue 2 years ago • 20 comments

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):

  • OS: Arch Linux
  • Browser: Firefox
  • Version: 1.1

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.

BeZaBel avatar Jun 04 '23 05:06 BeZaBel

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.

cococry avatar Jun 04 '23 06:06 cococry

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.

BeZaBel avatar Jun 04 '23 07:06 BeZaBel

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 avatar Jun 04 '23 07:06 cococry

do setxkbmap in the ragnarstart file

cococry avatar Jun 04 '23 07:06 cococry

did you fix this issue?

cococry avatar Jun 09 '23 10:06 cococry

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

brainlessbitch avatar Jul 10 '23 05:07 brainlessbitch

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

cococry avatar Jul 10 '23 05:07 cococry

yes

brainlessbitch avatar Jul 10 '23 05:07 brainlessbitch

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 avatar Jul 10 '23 05:07 cococry

and are you using v1.3?

cococry avatar Jul 10 '23 05:07 cococry

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

brainlessbitch avatar Jul 10 '23 05:07 brainlessbitch

i just installed it

brainlessbitch avatar Jul 10 '23 05:07 brainlessbitch

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?

cococry avatar Jul 10 '23 05:07 cococry

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 avatar Jul 10 '23 05:07 brainlessbitch

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

brainlessbitch avatar Jul 10 '23 05:07 brainlessbitch

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

cococry avatar Jul 10 '23 05:07 cococry

my discord is cococry#3008

cococry avatar Jul 10 '23 05:07 cococry

thank you

brainlessbitch avatar Jul 10 '23 05:07 brainlessbitch

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

brainlessbitch avatar Jul 10 '23 05:07 brainlessbitch

no problem, accepted it

cococry avatar Jul 10 '23 05:07 cococry