xbindkeys ubuntu16.04 shortcut keys command

Executing Commands/Apps with Shortcut Keys in Ubuntu 16.04 Using xbindkeys

In this article, I will introduce how to execute commands (apps) with shortcut keys in ubuntu16.04.

Shou Arisaka
1 min read
Nov 16, 2025

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.

Share this article

Shou Arisaka Nov 16, 2025

๐Ÿ”— Copy Links