[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#427346: xbase-clients: xmodmap fails to remap mouse buttons



tags 427346 +unreproducible
thank you



hramrach wrote:
> I tried to swap my mouse buttons with xmodmap -e "pointer 3 2 1"
>   

You meant "pointer = 3 2 1" (equal sign was missing), right?

> xmodmap warns that it changes only the first three buttons, and the
> mouse is not remapped. However, xmodmap -pp shows the buttons swapped.
> Mapping all 12 buttons does not make any difference.
>   

All following lines work fine here, buttons are remap accordingly, I
can't reproduce your problem:
$ xmodmap -e 'pointer = 3 2 1 4 5'
Warning: Only changing the first 5 of 9 buttons.
$ xmodmap -e 'pointer = 1 2 3 4 5'
Warning: Only changing the first 5 of 9 buttons.
$ xmodmap -e 'pointer = 3 2 1 4 5 6 7 8 9'
$ xmodmap -e 'pointer = 1 2 3 4 5 6 7 8 9'
$

Could you have anything in your config, for instance in the window
manager, that makes xmodmap behave incorrectly? Can you try in a empty X
session, for instance by starting X from the VT console with:
    startx /usr/bin/xterm -- :1

Brice




Reply to: