I will introduce how to execute commands (apps) with shortcut keys in ubuntu16.04.
xbindkeys is a tool (package) available on Linux that allows you to execute commands (apps) with shortcut keys.
Installation
sudo apt-get install xbindkeys
sudo apt-get install xbindkeys-config
Create configuration file
xbindkeys -d > ~/.xbindkeysrc
# As an example, enable executing the `firefox` command with `^b`
nano ~/.xbindkeysrc
"firefox"
control+b
Apply settings
xbindkeys
At this point, the shortcut keys are applied.
Reload settings
killall -HUP xbindkeys
xbindkeys
Now the settings are reloaded and available for use.