Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used this topic : How to assign "back" and "forward" actions to Logitech Anywhere Mouse MX' horizontal scroll wheel? to link my logitech mouse buttons. It works well, except for the mouse wheel left and right buttons. I would like them to do copy and paste. So I tried this code (in .xbindkeysrc):

"xdotool key ctrl+c"

"xdotool key ctrl+v"

It works fine, but pressing a button act with auto repeat, so I get multiples pastes. I would like to disable the auto repeat for those two buttons, but the only method I know is with xset, but it only recognizes keycode, and I think that my tow button don't have keycode. How can i do ?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.