Archive for the 'Kubuntu' Category

Strange Layout in Mac OS X… 0

Well, I guess it is a good thing of having an alternative OS (Mac OS X) at my disposal!!

The new theme I applied to my blog looks fine under both Linux (Debian & (K)Ubuntu) and Windows XP. However, I recently acquired a 2nd-hand Powerbook 15″ G4 (absoultely a beauty!!) and when I first visited the blog using Firefox on OS X, the layout of my blog looks slightly different.

Here is what it looks like before:

and here is what it looks like after I fixed the CSS:

As you can see the header appears to be on top of the calendar when viewing in the Mac machines even though using the same browser, i.e. Firefox. I’m guessing that Firefox mac port has been designed slightly different to its Linux and Windows counterparts…

Well, nevertheless, it’s fixed now and hopefully no more surprises in that department!! 🙂

Right-click on Apple’s PowerBook and (K)Ubuntu Linux 2

Apple’s PowerBook built-in touchpad has no middle or right mouse button. Under Mac OS X, right-click is simulated by holding down the Control key and then clicking. However, this doesn’t work on (K)Ubuntu Linux.

Googling around, I found that, by default, the F11 key is mapped to a mouse middle-click while the F12 key is mapped to a mouse right-click.

It is also possible to change this behavior by editing /etc/sysctl.conf and mapping dev/mac_hid/mouse_button2_keycode and dev/mac_hid/mouse_button3_keycode to their corresponding key scan codes. The scan code for a key can be retrieved by running

sudo showkey

then pressing the key or keys for which the scan codes are to be printed. To exit, press Control-D.

« Previous Page