How To Utilize Your New Multimedia Keyboard Under Linux
How To Utilize Your New Multimedia Keyboard Under LinuxOverview: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 its configuration file. It does not depend on the window manager and can capture all keyboard keys. Prerequisites:
Links:http://hocwp.free.fr/xbindkeys/xbindkeys.html InstallationNow you are familiar with the scope of this tuto, so let's start! First of all xbindkeys can be obtained from two sources:
After that go to the directory where you downloaded the source and unpack it with tar: cd your_download_dir Uncompress the source (1.x.x - refers for your version): tar xzvf xbindkeys-1.x.x.tar.gz Change to the new directory (created by tar): cd xbindkeys-1.x.x Install the program (as root): su root ConfigurationThe program is configured by the use of a file, .xbindkeysrc in your home directory. It is recommended to use the default configuration and then you can edit it according to your needs. xbindkeys --defaults > $HOME/.xbindkeysrc If you open the file with a text-editor you can see its structure: # Next Track - Alt + Up "xmms --fwd" m:0x8 + c:98 # Previous Track - Alt + Down "xmms --rew" m:0x8 + c:104 It is pretty obvious, it has the command to be executed enclosed in quote characters, then a line after the keyboard codes which will cause that command to be executed. The line starts with hashmark (#) is for comment, recommended strongly. To find out the keycode you can do with: xbindkeys -mk This will pop up a window and show the keycodes when you hit keys. To quit when you done with your buttons press "q". xbindkeys --show Once you have setup your .xbindkeysrc you can start the program by running: xbindkeys & This runs the command in the background causing to listen for keyboard events and execute the commands it knows about when finds a combination listed in its config file. To start xbindkeys when you login: NOTE: You can use xbindkeys-config, a GUI utility for editing your .xbindkeysrc. It can be installed with apt-get. Please note, create the config file with xbindkeys --defaults > $HOME/.xbindkeysrc before using the graphical application otherwise it will crash on saving. Now, you are done. You can start using your extra buttons without installing any special driver!
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning







Recent comments
9 hours 19 min ago
14 hours 35 min ago
14 hours 53 min ago
16 hours 9 min ago
22 hours 3 min ago
22 hours 45 min ago
1 day 15 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 3 hours ago