Results 1 to 6 of 6

Thread: i cant right click

  1. #1
    Join Date
    Oct 2009
    Beans
    30

    i cant right click

    i used to have kubuntu on my ibook g4 and my right click was mapped to the eject/f12 button. now after switching to ubuntu my keys are all mapped correctly but now i dont have a right click anymore. suggestions?

  2. #2
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: i cant right click

    what about F11 ? You can install mouseemu

    Code:
    sudo apt-get install mouseemu
    to have this back
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  3. #3
    Join Date
    Oct 2009
    Beans
    30

    Re: i cant right click

    where is that. synaptic says i already have it installed but i cant find it on my computer. i just have a mouse preferences which doesnt have what i need

  4. #4
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: i cant right click

    is mouseemu loaded at startup ?

    what does the following give you:

    Code:
    ps -ax | grep mouseemu
    
    cat /etc/default/mouseemu
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

  5. #5
    Join Date
    Oct 2009
    Beans
    30

    Re: i cant right click

    matt@ubuntu:~$ ps -ax | grep mouseemu
    Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
    1214 ? S<s 0:00 /usr/sbin/mouseemu
    1215 ? S< 0:01 /usr/sbin/mouseemu
    2425 pts/0 S+ 0:00 grep --color=auto mouseemu
    matt@ubuntu:~$
    matt@ubuntu:~$ cat /etc/default/mouseemu
    # Defaults for mouseemu initscript (/etc/init.d/mouseemu)
    # These are the default values on PowerPC. On all other architectures
    # middle and right click are disabled by default.
    # Key codes can be found in include/linux/input.h in the kernel headers
    # or by using `showkey` in a console.


    #MID_CLICK="-middle 0 87" # F11 with no modifier
    #MID_CLICK="-middle 125 272" # Left Apple Key (LEFTMETA) + click
    #RIGHT_CLICK="-right 0 88" # F12 with no modifier
    #RIGHT_CLICK="-right 29 272" # Left Ctrl + click
    #SCROLL="-scroll 56" # Alt key
    #TYPING_BLOCK="-typing-block 300" # block mouse for 300ms after a keypress




    im not sure what that all means.

  6. #6
    Join Date
    Jan 2008
    Location
    Netherlands
    Beans
    2,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: i cant right click

    I think I see the problem...

    you have to edit the /etc/default/mouseemu file
    Code:
    sudo nano /etc/default/mouseemu
    you are now in an editor and you see the text. Remove the # in the second part of the file to make it look like this (NOT EVERYWHERE!):

    Code:
    # Defaults for mouseemu initscript (/etc/init.d/mouseemu)
    # These are the default values on PowerPC. On all other architectures
    # middle and right click are disabled by default.
    # Key codes can be found in include/linux/input.h in the kernel headers
    # or by using `showkey` in a console.
    
    
    MID_CLICK="-middle 0 87" # F11 with no modifier
    #MID_CLICK="-middle 125 272" # Left Apple Key (LEFTMETA) + click
    RIGHT_CLICK="-right 0 88" # F12 with no modifier
    #RIGHT_CLICK="-right 29 272" # Left Ctrl + click
    SCROLL="-scroll 56" # Alt key
    TYPING_BLOCK="-typing-block 300" # block mouse for 300ms after a keypress
    Then CTRL-X and "y" to save
    Then restart and you should have right button at F12 and middle click button at F11, hope that is what you wanted...
    Linux on your Apple Mac │ iLinux
    http://mac.linux.be
    http://www.mintppc.org

Tags for this Thread

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
  •