close
dewiroberts

Last seen: 9 days ago

Dewi is a 30 year old guy from England, UK

  • Created Dec 04 2008

    Ubuntu Intrepid Ibex 8.10 on my MacBook Pro

    I've been using Ubuntu on my mac for a while and everything pretty much works without any cofiguration on Intrepid, but there were a couple of annoying problems that I had to sort out.

    # and € keys on UK macintosh keyboard layout

    Hash and euro didn't work which can be a pain, so I've mapped them to the key left of the Z key (marked ~`)

    You probably should create a new keyboard layout but I just added the new key mapping to the existing gb symbols file.

    Open it with:

    sudo gedit /usr/share/X11/xkb/symbols/gb

    Scroll down to the United Kingdom - Macintosh bit at the bottom and replace the two lines underneath with:
        key <AE02> {    [               2,              at    ]    };
        key <AE03> {    [               3,        sterling    ]    };
        key <LSGT> {    [      numbersign,        EuroSign    ]    };


    and log out for it to take effect.

    Touchpad scrolling and double tap right-click
    To get the touchpad working properly on Intrepid I had to configure HAL.

    Edit a new .fdi file for it:

    gedit /etc/hal/fdi/policy/synaptics.fdi


    then paste this into it and save:

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <deviceinfo version="0.2">
     <device>
      <match key="input.x11_driver" contains="synaptics">
       <merge key="input.x11_options.SHMConfig1" type="string">true</merge>
       <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
       <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
       <merge key="input.x11_options.VertEdgeScroll" type="string">false</merge>
       <merge key="input.x11_options.HorizEdgeScroll" type="string">false</merge>
       <merge key="input.x11_options.TapButton1" type="string">1</merge>
       <merge key="input.x11_options.TapButton2" type="string">3</merge>
      </match>
     </device>
    </deviceinfo>


    You need to restart hal for it to take effect and probably log out and in again

    sudo /etc/init.d/hal restart