In some distros there is a hotkey that opens a dialog box to run a terminal command.
Does this exist in elementary OS, and if so what's the hotkey? If not, how can I add a custom hotkey?
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.
Sign up to join this communityIn some distros there is a hotkey that opens a dialog box to run a terminal command.
Does this exist in elementary OS, and if so what's the hotkey? If not, how can I add a custom hotkey?
Slingshot is also that: a dialog box to run a command.
Press ALT + F2 , type the command and press ENTER
Another shortcut is Super + Space
Like in elementary don't exists that option. so I create the file:
~/bin/run
This is the script:
#! /bin/bash
## Zenity
command=`zenity --title "Run commands" --entry --text "Command"`
## Bash
eval $command
exit
save and change the permission
chmod +x ~/bin/run
then set a custom shortcut in Preference > keyboard > Shortcut > Custom
| command | keys |
| run | Super + R |
that's it! enjoy .
Press Windows + T or CTRL + ALT + T to open a terminal. Then type the command and press ENTER to run it