Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:guides:xbindkeys [2017/09/03 15:15] hgt $HOME/.xbindkeyrc replaced by $HOME/.xbindkeysrc |
en:guides:xbindkeys [2020/09/23 18:14] (current) hgt [Adding xbindkeys in autostarted applications] |
||
|---|---|---|---|
| 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 proceedure above. | + | To add other shortcuts, repeat the procedure 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: | ||
| 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** in a text editor. Add these lines at the end of the file: |
| # Fn Keys | # Fn Keys | ||
| xbindkeys & | xbindkeys & | ||
| - | Save and quit text editor. All custom shortcuts will stay after you reboot or switch off/on your machine. | + | Save and quit text editor. All custom shortcuts will stay after you reboot or switch off and on your machine. |
| + | To make this modification a global, edit ''/etc/xdg/openbox/autostart'' in the same way. | ||
| ---- | ---- | ||
| - | |||
| ===== Examples and tips ===== | ===== Examples and tips ===== | ||