Results 1 to 3 of 3

Thread: How can I disable the right mousde button?

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Beans
    76

    How can I disable the right mousde button?

    I've set up an old laptop with Xubuntu for my nephew to use. It works great and he's seems to enjoy Tuxpaint, but is there a way I can turn off the right mouse button? He always seems to click it and ends up opening menus when he just wants to paint.
    Dell M1330 - Intel Duo T7300 2.00GHz - GeForce 8400M GS - 2GB RAM - Broadcom BCM5906M - Hardy

  2. #2
    Join Date
    Jul 2008
    Beans
    494

    Re: How can I disable the right mousde button?

    You can use xmodmap to do this. For example, open a terminal, and enter this code:
    Code:
     xmodmap -pp
    This will list all the pointer buttons, and their 'designated' number. To disable right click we just need to specify the right click button to a number that doesnt do anything. Entering this should do the job:

    Code:
    xmodmap -e "pointer = 1 8 9 4 5 6 7 2 3"
    This will map the buttons #2 and #3 (order in the list. button #2 is usually right click) to a designated number of 8 and 9.

    Cheers!

  3. #3
    Join Date
    Oct 2007
    Beans
    76

    Re: How can I disable the right mousde button?

    Excellent, thank you!
    Dell M1330 - Intel Duo T7300 2.00GHz - GeForce 8400M GS - 2GB RAM - Broadcom BCM5906M - Hardy

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
  •