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

Keyboard not working properly #13

Open
BeZaBel opened this issue Jun 4, 2023 · 20 comments
Open

Keyboard not working properly #13

BeZaBel opened this issue Jun 4, 2023 · 20 comments

Comments

@BeZaBel
Copy link

BeZaBel commented Jun 4, 2023

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.

@cococry
Copy link
Owner

cococry commented Jun 4, 2023

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
Copy link
Author

BeZaBel commented Jun 4, 2023

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
Copy link
Owner

cococry commented Jun 4, 2023

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
Copy link
Owner

cococry commented Jun 4, 2023

do setxkbmap in the ragnarstart file

@cococry
Copy link
Owner

cococry commented Jun 9, 2023

did you fix this issue?

@exoess
Copy link

exoess commented Jul 10, 2023

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
Copy link
Owner

cococry commented Jul 10, 2023

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

@exoess
Copy link

exoess commented Jul 10, 2023

yes

@cococry
Copy link
Owner

cococry commented Jul 10, 2023

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
Copy link
Owner

cococry commented Jul 10, 2023

and are you using v1.3?

@exoess
Copy link

exoess commented Jul 10, 2023

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

@exoess
Copy link

exoess commented Jul 10, 2023

i just installed it

@cococry
Copy link
Owner

cococry commented Jul 10, 2023

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?

@exoess
Copy link

exoess commented Jul 10, 2023

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

@exoess
Copy link

exoess commented Jul 10, 2023

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

@cococry
Copy link
Owner

cococry commented Jul 10, 2023

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

@cococry
Copy link
Owner

cococry commented Jul 10, 2023

my discord is cococry#3008

@exoess
Copy link

exoess commented Jul 10, 2023

thank you

@exoess
Copy link

exoess commented Jul 10, 2023

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

@cococry
Copy link
Owner

cococry commented Jul 10, 2023

no problem, accepted it

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

3 participants