SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:guides:xbindkeys [2014/06/22 09:19]
linea
en:guides:xbindkeys [2017/09/03 15:33] (current)
hgt [Configuration and detecting key codes]
Line 23: Line 23:
 ===== Configuration and detecting key codes ===== ===== 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//​+Xbindkeys uses a configuration file to link a command to a key on your keyboard. Usually this file is : ''​$HOME/.xbindkeysrc''​
  
 You can have a default one created by using : You can have a default one created by using :
Line 43: Line 43:
   Mod2 + XF86HomePage   Mod2 + XF86HomePage
  
-Now, close //xbindkeys// application to make changes on configuration file:+Now, close ''​xbindkeys'' ​application to make changes on configuration file:
  
   $ killall xbindkeys   $ killall xbindkeys
  
-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 to open 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 54: Line 54:
   Mod2 + XF86HomePage   Mod2 + XF86HomePage
  
-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 173: Line 173:
   m:0x0 + c:107   m:0x0 + c:107
   Print   Print
 +
 +=== 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
  
 ---- ----
 
en/guides/xbindkeys.1403421545.txt.gz · Last modified: 2014/06/22 09:19 by linea