Author Topic: Remapping Right Mouse Modifier  (Read 1675 times)

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Remapping Right Mouse Modifier
« on: November 09, 2006, 06:19:46 pm »
I've wanted to ask this for ages, is there a way to remap the cancel button on the side od my C3200 so that it acts the same as the Fn key does to enable right mouse clicking.

Simply using xmodmap to remap the Fn key function has no effect.

The only way I've found to do this is using the following script I made and assigning a key to execute it:

if [ -f ~/.mbut ] ; then
  xmodmap -e "pointer = 3 2 1"
  rm -f ~/.mbut
  echo "switched to right mouse button"
else
  xmodmap -e "pointer = 1 2 3"
  touch ~/.mbut
  echo "switched to left mouse button"
fi

Only problem is that you have to click once to enable and againt to disable.

I want it so its easier to use when the keyboard is folded away in pda mode.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Remapping Right Mouse Modifier
« Reply #1 on: November 09, 2006, 08:47:28 pm »
I would like the same thing...except with alt.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo