ILikeAI / AlwaysReddy

AlwaysReddy is a LLM voice assistant that is always just a hotkey away.
MIT License
523 stars 50 forks source link

Hotkeys not working on arch Linux #38

Open 404GH0ST opened 1 month ago

404GH0ST commented 1 month ago
❯ python main.py
Using faster-whisper model: base.en and device: cuda

Press 'alt+ctrl+r' to start recording, press again to stop and transcribe.
Double tap to the record hotkey to give AlwaysReddy the content currently copied in your clipboard.
Press 'alt+ctrl+e' to cancel recording.
Press 'alt+ctrl+w' to clear the chat history.
^[^R
^[^[^R
^[^R          
^[^[^R
^[^[

Nothing happened after I pressed the hotkeys.

WM : Hyprland (Wayland)

ILikeAI commented 1 month ago

These damn hotkeys man haha. I have had a lot of issues setting up the input library to work between ubuntu and linux, someone has suggested a new input library that may fix these issues. Its a busy time for me right now but the next thing on my always reddy to do list is to try to fix these issue! Sorry about that

404GH0ST commented 1 month ago

It's okay; anyway, it's a great project. It works well on my Windows machine. I think I will migrate my Linux window manager to bspwm (X11) until there's a fix for hotkeys in Wayland.

ILikeAI commented 1 month ago

I looked at the alternative inputs library yesterday and unfortunately had no luck, not entirely sure what the solution will be

404GH0ST commented 1 month ago

Yeah, I think there is no reliable input library for Wayland yet. In the meantime, Xorg works well, just like on a Windows machine. I can call the hotkeys on any workspace while the program is running on one workspace.

ILikeAI commented 1 month ago

ahhh that makes me feel a lot better to hear lol, i was starting to worry that i was just dumb!

Theo-codatte commented 1 month ago

Fun fact, I can setup some hotkeys with the GUI But they are not working during AE usage, I on Arch BTW, with the sway wm (aka Wayland too)