Archive for the 'Howto' Category

Slim Aluminum Apple Keyboard under Ubuntu

As previously blogged my wife bought me a Slim Aluminum Apple Keyboard which I’ve been slowly configuring to work with Ubuntu and now I believe I’ve gotten a sweet configuration, to the point where I’m now more comfortable with my Apple keyboard than the standard Dell keyboard I use at work.

Slim Apple Aluminum Keyboard

Initially there were a couple of quirks about the Apple keyboard under Ubuntu. I’ve only used this under Interpid and Jaunty. I believe that there are some basic issues with this keyboard in Hardy due to the version of the kernel it’s running.

Let’s begin. Firstly the keyboard function keys only worked when the Fn key is pressed. Ideally I’d rather press the Fn key to access the extra function like Brightness, Volume, etc. The solution is really simple. Add the following line to /etc/modprobe.d/apple_kbd.conf.

Intrepid:

options hid pb_fnmode=2

Jaunty:

options hid_apple fnmode=2

Now run the following command to make this change persist across reboots.

sudo update-initramfs -k `uname -r` -u

Reboot to take effect.

The second problem was a little more confusing. Basically the Apple keyboard doesn’t appear have a # key!

Hint: It does, it’s just not printed on the key.

I initially installed Ubuntu with the United Kingdom keyboard. So the following are the steps I followed to allow me to overcome this issue …

  1. Select System > Preferences > Keyboard
  2. Go to the Layouts tab
  3. Click Add
  4. Under the By country tab I chose Country: United Kingdom and Variant: United Kingdom Macintosh
  5. Click Layout Options…
  6. Under Miscellaneous compatibility options, select both Default numeric keypad keys and Numeric keypad keys work as with Mac
  7. I then removed the old United Kingdom keyboard layout.

Now with the new United Kingdom Macintosh layout enabled you can get a # symbol by pressing Right-Alt + 3. You can now also get the € symbol by pressing Right-Alt + 2

That’s it.

1 Comment »

Alan Doyle on April 30th 2009 in Hardware, Howto, Ubuntu

Setup FreeNX under Ubuntu 8.10 (Intrepid Ibex)

Moved …

I’ve moved the details of this post to a seperate page which I’ll keep updated for each version of Ubuntu.

Currently supported versions

  • Intrepid Ibex (8.10)
  • Jaunty Jackalope (9.04)

Thank you for visiting this page.

13 Comments »

Alan Doyle on December 16th 2008 in FreeNX, Howto, Ubuntu

Configuring phpMyAdmin for multiple users

Yesterday I needed to setup phpMyAdmin for multiple users so they could each see their own databases when they logged in but couldn’t see anyone elses databases. They also needed to be able to drop their own databases should they need to (I’m not responsible if they drop the wrong one though).

Moved …

I’ve moved the details of this post to a seperate page which I’ll try keep updated for each new version of PHPMyAdmin.

Thank you for visiting this page.

1 Comment »

Alan Doyle on November 27th 2008 in Howto, Ubuntu