Configure mouse buttons

Doritos mtbrandao at gmail.com
Thu Mar 7 18:41:33 UTC 2013


xmodmap doesn't work.

BUT xinput WORKS!

xinput --set-button-map 8 1 1 1

Will set all three face buttons to right click.


On 07-03-2013 15:19, Doritos wrote:
> Yes, but it doesn't duplicate.
> like:
> pointer = 1 2 3 4 5 6 1 3
>
> So I can click with either face or side buttons.
>
> On 07-03-2013 15:03, Chris Green wrote:
>> On Thu, Mar 07, 2013 at 02:15:55PM -0300, Doritos wrote:
>>> How do I configure multiple mouse buttons?
>>>
>>> I have a mouse with 5 buttons (3 normal +2 side buttons)
>>>
>>> I want that the side buttons act as normal buttons 1 and 2.
>>> So I can use both face and side buttons to normal click and right click.
>>>
>>> How can I do that?
>>>
>> You use xmodmap, with a file in your home directory called .Xmodmap
>>
>> My .Xmodmap swaps buttons 8 and 2 :-
>>
>>      pointer = 1 8 3 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21
>> 22 23 24 25 26 27 28 29 30 31 32
>>
>> The program xmodmap also allows you to remap the keyboard.
>>
>
>





More information about the ubuntu-users mailing list