Re: Mouse with extra buttons. How to configure them?
On Wed, 13 Jun 2018 11:58:31 +0200, Piotr wrote:
> I got new mouse which has some extra buttons, but in standard Xfce4
> settings there is no way to configure some functions for them. Is
> there a software to do this? Can it be done in some configuration
> files?
xbindkeys may be used to assign any function to any mouse button,
including the 'extra' ones.
Instructions can be found in several places, for example here:
https://blog.hanschen.org/2009/10/13/mouse-shortcuts-with-xbindkeys/
Emulating key presses, using xte, which is part of the xautomation
package, is mentioned here. As an example, I have Ctrl+W ('Close')
performed by an 'extra' mouse button ('button 9' in my case) by
assigning this function to the button in xbindkeys-config:
/usr/bin/xte 'keydown Control_L' 'key W' 'keyup Control_L'
> Also how to change what clicking the wheel should do?
Clicking the wheel = button 2, scrolling up/down = button 4/5.
Furthermore, several mouse properties, such as the mouse cursor speed,
may be adjusted using libinput.
man 4 libinput
https://wiki.archlinux.org/index.php/Libinput
https://wiki.archlinux.org/index.php/Mouse_acceleration
Reply to: