How can I define+handle global keyboard in the ruby desktop application?
I’m running Linux and using Qt. My program should be in the system tray and whenever some global keyboard shortcut is pushed, it should handle it.
How can I define+handle global keyboard in the ruby desktop application? I’m running Linux
Share
You can get global shortcuts using libqxt (as you’re already using Qt it shouldn’t bother you). If you need to use them directly in Ruby then you should check this question: How can I call C++ functions from within ruby