SliTaz GNU/Linux official and community documentation wiki.
Translations of this page:

This is an old revision of the document!


Table of contents

  • Introduction
  • Installing
  • Configuration and detecting key codes
  • Examples
  • References


Xbindkeys is a program that allows you to launch shell commands with your keyboard or your mouse under X Window. It links commands to keys or mouse buttons, using a configuration file. It's independant of the window manager and can capture all keyboard keys (ex: Power, Wake…).

It is useful to make “dead keys” of a multimedia keyboard work. (ex: play, pause, browser homepage…)


Use tazpkg to quickly install xbindkeys package. Open a terminal as root and type:

# tazpkg get-install xbindkeys

Current package is xbindkeys-1.8.3.

Configuration and detecting key codes

Xbindkeys uses a configuration file to link a command to a key on your keyboard. Usually this file is : $HOME/.xbindkeyrc

You can have a default one created by using :

$ xbindkeys --defaults > $HOME/.xbindkeysrc

Start the program using:

$ xbindkeys

To add a custom keyboard shortcut, first you have to detect the key code. To do this, use:

$ xbindkeys -k

To be continued… Please, don't modify this page yet.

en/guides/xbindkeys.1403225565.txt.gz · Last modified: 2014/06/20 02:52 by sidini