this post was submitted on 23 Dec 2023
45 points (89.5% liked)

Linux

47337 readers
1071 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Title. Basically, "if a street fighter gamer and a linux tryhard had a baby" where a combination of keys is issued to run a command/script rather than a single or a simultaneous stroke of two or more. i.e left, down, left, right arrow keys, R_CTRL to run Firefox. Right, right, Up, right arrow keys, delete to power off the PC, etc.

Don't know if such command exists, but there you go.

Bonus points if its a standalone and supports X11, Wayland and Arcan.

you are viewing a single comment's thread
view the rest of the comments
[–] lurch@sh.itjust.works 6 points 9 months ago* (last edited 9 months ago) (1 children)

hyprland has this, but you have to configure it. It's called Submaps. Some other tiling window managers/compositors (notion for example) have it too, but not to that extent. (notion can be enhanced by Lua scripting, tho.)

The idea is, after the first key of the sequence the meaning of a set of keys change. You could configure those to change the meanings again etc until you finally reach whatever depth you wanted and it performs an action.

However, be warned that hyprland is currently developed by very elitist people who like to support onky a very small set of distributions (primarily Arch btw) and have not much interest in other peoples Ubuntu shenanigens and the likes. It is extremely hard to install in Ubuntu and similar, requiring you to do minor edits to build scripts and source code in multiple languages and finding required library versions from build errors that do not mention them.

[–] traches@sh.itjust.works 3 points 8 months ago

Sway and I3 as well, without the warning