this post was submitted on 25 Apr 2024
229 points (96.7% liked)
Linux
48224 readers
1084 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Some way of globally capturing hotkeys, for things like starting stream, media hotkeys, etc. Only passing key events to the foreground window is shortsighted, but we need a secure way of doing this.
Pretty sure there is a protocol for this in development or maybe even merged already.
This is already possible
Mind elaborating a bit more?
On kde there's a feature where you can pass all keys to x11 apps and on hyprland you can specify which keys get globally passed to which apps and maybe all keys.
If all else fails you can create a script that uses obs sockets and runs as root to capture keys globally. They seem to be looking into a global keys portal though.