"Combokeys" instead of hotkeys. [Feature/new command suggestion]

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.

solariplex,
vort3,
@vort3@lemmy.ml avatar

So, basically, vim? /s

RandoCalrandian,
@RandoCalrandian@kbin.social avatar

You mean a key combination like OS, f,i,r,e,f,down,down,enter to launch Firefox?

That exists, bud. There are even multiple ways to achieve the same command, like “OS,t,e,r,m,i,n,a,l,down,enter, ‘open Firefox’”

Eheran,

Hahaha, thank you. In windows that would be even more efficient, since a few letters will be enough to identify something unique. Win, f, i, enter

YourMomsTrashman,
@YourMomsTrashman@lemmy.world avatar

Out-of-the-box Cinnamon & Gnome moment

RandoCalrandian,
@RandoCalrandian@kbin.social avatar

The same is true in Linux, but it’s harder to get the joke with “OS,f,i,enter”

sir_reginald,
@sir_reginald@lemmy.world avatar

Win, f, i, enter

It’s literally the same with most Linux’s DEs. And even in Window Managers when using dmenu or rofi.

Eheran,

Good. Why did he then fell the need for absurd key combos?

umbrella,
@umbrella@lemmy.ml avatar

in my de its just os > firefox > enter

megaman,

I think they call these “chords”

kurisu,
@kurisu@awful.systems avatar

Man I already can’t get my inputs right in games, If I ever whiff a fucking combo to start my browser I’m ending it all.

Rayspekt,

You need to get out of the parking garage from Driver to boot your PC from now on.

djtech,

So… emacs?

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

↑↑↓↓←→←→ + a + b + Enter = sudo rm -rf /* --no-preserve-root

lemmyvore,

And you can do it with a controller too!

lurch, (edited )

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,

Sway and I3 as well, without the warning

nbailey,
@nbailey@lemmy.ca avatar

Most desktop environments you just hit alt+f2 to activate the launcher which lets you run any command you want

neo,
@neo@lemmy.comfysnug.space avatar

i prefer key chords as a name for that tbh

ipsirc,
@ipsirc@lemmy.ml avatar
UdeRecife,
@UdeRecife@literature.cafe avatar

Espanso. A text expander that also runs commands.

yetAnotherUser,

Imagine doing a 720 motion input for turning off your computer

mvirts,

Alt f2 xterm sudo poweroff password

Ctrl Alt f2 sudo poweroff password

SysRq o

stepanzak,

This might be what you’re looking for. Here is a YouTube video tutorial.

Still,
@Still@programming.dev avatar

I think you can already do this in one shortcuts, not sure of any standalone program that does, if definably accidentally bond like Ctrl+d, Ctrl+s to screenshot before

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #