sxhkd(1)

NAME

   sxhkd - Simple X hotkey daemon

SYNOPSIS

   sxhkd [OPTIONS] [EXTRA_CONFIG ...]

DESCRIPTION

   sxhkd is a simple X hotkey daemon with a powerful and compact
   configuration syntax.

OPTIONS

   -h
       Print the synopsis to standard output and exit.

   -v
       Print the version information to standard output and exit.

   -m COUNT
       Handle the first COUNT mapping notify events.

   -t TIMEOUT
       Timeout in seconds for the recording of chord chains.

   -c CONFIG_FILE
       Read the main configuration from the given file.

   -r REDIR_FILE
       Redirect the commands output to the given file.

   -s STATUS_FIFO
       Output status information to the given FIFO.

BEHAVIOR

   sxhkd is a daemon that listens to keyboard events and execute commands.

   It reads its configuration file from $XDG_CONFIG_HOME/sxhkd/sxhkdrc by
   default, or from the given file if the -c option is used.

   Additional configuration files can be passed as arguments.

   If sxhkd receives a SIGUSR1 (resp. SIGUSR2) signal, it will reload its
   configuration file (resp. toggle the grabbing state of all its
   bindings).

   The commands are executed via SHELL -c COMMAND (hence you can use
   environment variables).

   SHELL will be the content of the first defined environment variable in
   the following list: SXHKD_SHELL, SHELL.

   If you have a non-QWERTY keyboard or a non-standard layout
   configuration, you should provide a COUNT of 1 to the -m option or -1
   (interpreted as infinity) if you constantly switch from one layout to
   the other (sxhkd ignores all mapping notify events by default because
   the majority of those events are pointless).

CONFIGURATION

   Each line of the configuration file is interpreted as so:

   *   If it is empty or starts with #, it is ignored.

   *   If it starts with a space, it is read as a command.

   *   Otherwise, it is read as a hotkey.

   General syntax:

       HOTKEY
           [;]COMMAND

       HOTKEY      := CHORD_1 ; CHORD_2 ; ... ; CHORD_n
       CHORD_i     := [MODIFIERS_i +] [~][@]KEYSYM_i
       MODIFIERS_i := MODIFIER_i1 + MODIFIER_i2 + ... + MODIFIER_ik

   The valid modifier names are: super, hyper, meta, alt, control, ctrl,
   shift, mode_switch, lock, mod1, mod2, mod3, mod4, mod5 and any.

   The keysym names are given by the output of xev.

   Hotkeys and commands can be spread across multiple lines by ending each
   partial line with a backslash character.

   When multiple chords are separated by semicolons, the hotkey is a chord
   chain: the command will only be executed after receiving each chord of
   the chain in consecutive order.

   The colon character can be used instead of the semicolon to indicate
   that the chord chain shall not be aborted when the chain tail is
   reached.

   If a command starts with a semicolon, it will be executed
   synchronously, otherwise asynchronously.

   The Escape key can be used to abort a chord chain.

   If @ is added at the beginning of the keysym, the command will be run
   on key release events, otherwise on key press events.

   If ~ is added at the beginning of the keysym, the captured event will
   be replayed for the other clients.

   Pointer hotkeys can be defined by using one of the following special
   keysym names: button1, button2, button3, ..., button24.

   The hotkey and the command may contain sequences of the form
   {STRING_1,...,STRING_N}.

   In addition, the sequences can contain ranges of the form A-Z where A
   and Z are alphanumeric characters.

   The underscore character represents an empty sequence element.

AUTHOR

   Bastien Dejean <nihilhill at gmail.com>

MAILING LIST

   sxhkd at librelist.com



Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.


Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.


Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.