26 September 2007

Using all the buttons of your mouse in Linux.

I have a 5 buttons mouse and I'd like to use the 2 extra for copy and paste.

Steps:

1- Check the numbers associated with the extra buttons
# xev

2- Edit the .xbindkeysrc file with something like

"xvkbd -xsendevent -text "\Cc""
b:8
"xvkbd -xsendevent -text "\Cv""
b:9

# In my case, the extra buttons are mapped as 8 and 9


3- Run xbindkeys and try if it works.


For more info:
http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+Mouse+Buttons

My experience:
What you select, you can paste simply pressing the wheel.
What you copy, you paste with Control+V
But these 2 are saved on different buffers, so you can be pasting different
things pressing 2 different buttons. :o)

PD: I just used the applications above for doing copy/paste with 2 mouse
buttons, but you can execute ANY operation/command with any combination of
keyboard and/or mouse buttons, no limits. Useful, isn't it?

14 September 2007

Experiment.

07 September 2007

Giving

"There is a wonderful mythical law of nature, that the three things we crave
most in life - happiness, freedom, and peace of mind - are always attained by
giving them to someone else."
Too Cool for Internet Explorer