Results 1 to 3 of 3

Thread: HOWTO: Setup a left-handed external mouse from the command-line

  1. #1
    Join Date
    Jul 2006
    Location
    Orlando
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    HOWTO: Setup a left-handed external mouse from the command-line

    This one's for my left-handed comrades.

    I use Ubuntu on my laptop and find it annoying that Ubuntu does not offer an independent configuration for mouse buttons on the external mouse. I would like to keep the mousepad buttons right-handed while the external mouse left-handed with the primary and secondary buttons swapped.

    The following command switches the left and right buttons on an external mouse connected to a laptop.
    Code:
    xmodmap -e "pointer = 3 2 1"
    To restore the setting:
    Code:
    xmodmap -e "pointer = default"

    xmodmap is capable of modifying several button mappings. check it out.

  2. #2
    Join Date
    Nov 2006
    Location
    Saudi Arabia
    Beans
    91
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Setup a left-handed external mouse from the command-line

    Nice find, but how do you specify if it changes on your external or internal mouse? If I remember correctly, xmodmap would only change my internal mouse's buttons.

  3. #3
    Join Date
    Jul 2006
    Location
    Orlando
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Setup a left-handed external mouse from the command-line

    The xmodmap arguments I used above have no effect on my internal mouse. "321" and "default" leave the mouse set to right handed. I am running Fiesty with GNOME.

    There must be a some other option to specify the internal mouse.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •