Remap mouse keys on Samsung (Karmic)

Zoltan Szabo szzoli at elte.hu
Wed Mar 3 11:03:49 UTC 2010


On Tue, 02 Mar 2010 21:39:51 +0200
"David Robert Lewis (ethnopunk)" <ethnopunk at telkomsa.net> wrote:

> I've just fresh installed Karmic on a friends Samsung and it only has 
> one mouse button. I want the default to be a left click and the 
> simulation to be a right click.
> 
> Left clicking is what one does to grab stuff and select. It's not 
> available which is very annoying. Ubuntu got things the wrong way
> round, so all I get is menus popping up all over the place and no
> left key.
> 
> Also right click should be ctrl plus click. Is there an quick and
> easy solution to this annoying problem which is going to be a real 
> showstopper????
> 
> David

You can verify whether the mouse clicks (events) are detected by
"xev". Íf the required mouse events are sensed, then:
1)The order of the mouse events can be rearranged by "xmodmap".
2)Shell commands can be launched by mouse events using "xbindkeys".
3)You can translate the mouse events (in an application specific way) to
keyboard events/other mouse events by "imwheel".

Best,

Z.




More information about the ubuntu-users mailing list