this post was submitted on 14 Jun 2024
60 points (96.9% liked)

Linux

5511 readers
232 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] MagicShel@programming.dev 4 points 6 months ago (1 children)

Not as a Linux guy, but as a developer, that has to be enabled and configured in the application. It has to have a listener hook into the keyboard events.

Now you could write a program that hooks into the keyboard and invokes another program on button press, but the program would have to have as an option that you could run it with a command line parameter to do the thing you want to do.

[โ€“] noproblemmy@programming.dev 4 points 6 months ago* (last edited 6 months ago)

Oh, sorry I deleted the question because I noticed that I started too early and this wasn't the start of the help thread.

(My question was about creating hotkeys for a program running in background)