The third line contains the keysyms associated with the given keycodes.The second line contains the state (0x8) and keycode (32) as reported by the tool xev.For example, while the blank window is open, press Alt+o to get the following output (results may vary): Press the key(s) to which you wish to assign a command and xbindkeys will output a handy snippet that can be entered into ~/.xbindkeysrc. To find the keycodes for a particular key, enter the following command:Ī blank window will pop up. See Backlight#Backlight utilities for the available backlight control utilities.įor graphical configuration install the xbindkeys_config-gtk2 AUR package and run: Keybindings for backlight control can be defined using the XF86MonBrightnessUp and XF86MonBrightnessDown keys. Note that pound (#) symbols can be used to create comments.įor alternative commands to control volume, see PulseAudio#Keyboard volume control or ALSA#Keyboard volume control. Here is an example configuration file that binds Fn key combos on a laptop to pactl commands that adjust audio, such as sound volume and mute status. When a HUP signal is sent to xbindkeys, changes take effect only after moving the mouse (see xbindkeys(1)). Send a HUP signal to force reloading: killall -HUP xbindkeys. Tip: xbindkeys reloads the configuration file if modified.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |