F
F
FallenArchangel2019-01-01 13:26:43
linux
FallenArchangel, 2019-01-01 13:26:43

Quick commands on Ctrl + Space for Linux and Windows. There are options?

Need such a program on Windows and on Linux to press Ctrl + Space and enter your own defined commands in this program. For example, I enter 'ppl' and a certain folder opens for me, I enter 'vcp1' and I open Visual Studio Code with a certain project. I define these commands myself.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
3
3vi1_0n3, 2019-01-01
@FallenArchangel

For Linux:
1) Install xbindkeys
2) Add to ~/.xbindkeysrc file

"~/bin/fastcommands"
    m:0x4 + c:65
    Control + space

3) To the file ~/bin/fastcommands:
#!/bin/bash

declare -A COMMANDS
COMMANDS["con"]="konsole --help"
COMMANDS["vl"]="vlc"

comm=$(zenity --title "Enter command" --entry)
c=${COMMANDS[$comm]}
[ -n "$c" ] && $c

4) xbindkeys to autoload depending on the window manager

R
Ruslan Fedoseev, 2019-01-01
@martin74ua

bash alias and a regular terminal
in aliases, describe your Wishlist, then
launch the terminal and type in it what you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question