Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:guides:xbindkeys [2014/06/21 16:55] sidini [Installing] |
en:guides:xbindkeys [2014/06/22 17:58] sidini Adding an example |
||
---|---|---|---|
Line 7: | Line 7: | ||
- | 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...). | + | Xbindkeys is a program that allows you to launch shell commands with your keyboard or your mouse under X Windows. It links commands to keys or mouse buttons using a configuration file. It's independent 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...) | + | It is handy to make "dead keys" of a multimedia keyboard work. (ex: play, pause, browser homepage...) |
---- | ---- | ||
Line 48: | Line 48: | ||
Open //.xbindkeysrc// file on Leafpad (or on your favorite text editor) and copy the 3-line code above to the end of the file. | Open //.xbindkeysrc// file on Leafpad (or on your favorite text editor) and copy the 3-line code above to the end of the file. | ||
- | We need to change the first code line to link the key code to a desired function. For example, if we want opening Midori when //XF86Homepage// key is pressed, we must change the first line to: | + | We need to change the first code line to link the key code to a desired function. For example, if we want to open Midori when //XF86Homepage// key is pressed, we must change the first line to: |
"midori" | "midori" | ||
Line 55: | Line 55: | ||
Save and close the //.xbindkeysrc// file. Restart //xbindkeys// program and your new shortcut is already working! | Save and close the //.xbindkeysrc// file. Restart //xbindkeys// program and your new shortcut is already working! | ||
- | To add other shortcuts, repeat the proceeding above. | + | To add other shortcuts, repeat the proceedure above. |
- | If you want to detect a multi-key shortcut code, like CTRL+F, use: | + | If you want to detect a multi-key shortcut code like CTRL+F, use: |
$ xbindkeys -mk | $ xbindkeys -mk | ||
Line 75: | Line 75: | ||
==== Adding xbindkeys in autostarted applications ==== | ==== Adding xbindkeys in autostarted applications ==== | ||
- | In the //PCManFM// in your //home// folder search for hidden folder //.config//, open it, next open //openbox// folder, and open //autostart.sh// in your text editor. Add these lines at the end of your file: | + | In the //PCManFM// in your //home// folder search for hidden folder //.config//, open it, next open //openbox// folder and open //autostart.sh// in your text editor. Add these lines at the end of your file: |
# Fn Keys | # Fn Keys | ||
Line 173: | Line 173: | ||
m:0x0 + c:107 | m:0x0 + c:107 | ||
+ | |||
+ | === Applications Menu (Start Menu) === | ||
+ | |||
+ | #Show Start Menu with left windows-key | ||
+ | "lxpanelctl menu" | ||
+ | m:0x50 + c:133 | ||
+ | Mod2+Mod4 + Super_L | ||
+ | |||
+ | #Show Start Menu with right windows-key | ||
+ | "lxpanelctl menu" | ||
+ | m:0x50 + c:134 | ||
+ | Mod2+Mod4 + Super_R | ||
---- | ---- |