Results 1 to 6 of 6

Thread: key mapping and mouse emulation on MacBook

  1. #1
    Join Date
    Dec 2007
    Location
    Sacramento
    Beans
    146
    Distro
    Ubuntu 20.04 Focal Fossa

    key mapping and mouse emulation on MacBook

    I did revise the keyboard section of


    https://wiki.ubuntu.com/MacBook/SantaRosa

    a bit, so that:
    • The CapsLock LED will work
    • right click = right alt
    • middle click = left cmd
    • altgr = right cmd


    any feedback welcome

  2. #2
    Join Date
    Dec 2007
    Location
    Sacramento
    Beans
    146
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: key mapping and mouse emulation on MacBook

    I have changed the mapping in the wiki, so the usage is more
    intuitive:

    • middle click= left cmd
    • right click=right cmd
    • everything else default


    Now my keyboard support is really perfect, except one tiny little thing:
    If I press CD eject, the CD eject symbol won't appear on the
    display. I can map a different key to work as the eject key, like for
    example F6, and the eject symbol will be shown when using it. But
    the eject key is not recognized in the keyboard mapping dialog. I think,
    it only works with pommed.

  3. #3
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: key mapping and mouse emulation on MacBook

    Quote Originally Posted by beauman View Post
    But
    the eject key is not recognized in the keyboard mapping dialog. I think,
    it only works with pommed.
    I believe there is a kernel bug and this is why the key is not recognized (without pommed). Probably need a bug report.

  4. #4
    Join Date
    Dec 2007
    Location
    Sacramento
    Beans
    146
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: key mapping and mouse emulation on MacBook

    Yes, it's funny. I remember, that it used to work.

    Cyberdork, there is an other thing, that came up today. From the posts at launchpad and from my own experiences, I had figured, that removing mouseemu will fix the bug with the caps lock LED. Can you imagine that this is only true for the MB 4,1, but not for MBP 4,1 (see "Macbook caps lock light")

    Also, do you think it is possible to get the exact mouse and keyboard behavior as under OS X?

  5. #5
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: key mapping and mouse emulation on MacBook

    Quote Originally Posted by beauman View Post
    Yes, it's funny. I remember, that it used to work.

    Cyberdork, there is an other thing, that came up today. From the posts at launchpad and from my own experiences, I had figured, that removing mouseemu will fix the bug with the caps lock LED. Can you imagine that this is only true for the MB 4,1, but not for MBP 4,1 (see "Macbook caps lock light")

    Also, do you think it is possible to get the exact mouse and keyboard behavior as under OS X?
    mouseemu is not required for any Intel Mac. It has been plaguing us since I can remember. IDK if it fixes the Caps Lock light for others though.

    What is "exact mouse and keyboard behavior"?

  6. #6
    Join Date
    Dec 2007
    Location
    Sacramento
    Beans
    146
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: key mapping and mouse emulation on MacBook

    Quote Originally Posted by cyberdork33 View Post

    What is "exact mouse and keyboard behavior"?
    I ment "Do you think, it is possible to get exactly the same mouse and keyboard behavior under Ubuntu as under OS X?". What I had in mind is for example ctrl+click. I am still thinking about the solution I proposed with right/middle emulation on the two cmd keys. It works pretty good, but it still feels a bit self-made. I am not familiar with all input gestures you can make under OS X, but I bet they are quite elaborate.

    Anyway, I also found out (with the help of regebro) how to configure the two-finger-tap for right click emulation. This is actually the perfect way to get it. Very good to handle. But that's (for the MB) just for version 3.1 or bigger, correct me if I'm wrong.

    The question is also, what we actually can do about mouseemu. The bug is filed on launchpad, and will hopefully be fixed quite soon. But it's still annoying that the default mouse click emulation is Fn+F11/F12 (which also disables the fullscreen hotkey for a lot of applications). Does the kernel really know, that it's a Mac keyboard? And would it then be possible to start mouseemu with a dedicated configuration file?

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
  •