Stumble!
Sign in for recommendations. New member? Start here

Joined on Jul 11, 2007 Dewiroberts I like them

Last login: 2 days agoDewi is a 29 year old single guy from England, UK.
Dec 4, 2008 4:41pm
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