Turn Your Ubuntu Lucid to Mac OS X

lucid-mac-logoWe have previously done so with Ubuntu Hardy and Intrepid. Now, we are back again, this time with Ubuntu Lucid.

Being a long term release, Ubuntu Lucid comes with plenty of design changes that make all our previous Ubuntu to Mac OS X tutorial obsolete. Nevertheless, with a modified Mac4Lin theme and the maturity of the Global Menu, I am now able to make this tutorial a much simpler, quicker and easier one than all its previous iteration. If you are looking to transform your Ubuntu Lucid to Mac OS X, this is also the most complete one around. Continue after the break.

Installing Mac4Lin theme

Download the modified Mac4Lin theme (the original Mac4Lin theme is outdated).

Extract it to your Home folder.

Open the MacLin_Install_Mod folder and double click “Mac4Lin_Mod_installer.sh“. When prompted, select “Run in Terminal“.

lucid-mac-select-installer

lucid-mac-run-in-terminal

It will then proceed to change your theme. When it prompts you if you want to install the components that require root access, type ‘y‘ (without the quote)

lucid-mac-root-access

When it asks you for a choice to select the bootup screen, type ’0′ (without the quote).

lucid-mac-select-boot-screen

When you see the message “Type any key to continue…“, you should have transformed 80% of your system interface to Mac OS X.

Configuring the Global Menu

Open a terminal and type the following:

sudo add-apt-repository ppa:globalmenu-team
sudo apt-get update && sudo apt-get install gnome-globalmenu
killall gnome-panel

Once done, remove all stuffs from top left panel (Right click on the panel and select “Remove from Panel”).

Right click on the top panel and select Add to Panel. Select Main Menu, follow by the global menu panel applet.

Close the window. Now move the two items (right click and select Move) to the left hand corner and make sure they are side by side.

You should see something like the screenshot below:

lucid-mac-top-panel

Configuring the Dock

There are several dock applications that you can use, but personally I prefer to use Cairo Dock as it is easy to install and configure.

sudo apt-get install cairo-dock

Before you launch the Cairo dock application, remove the bottom panel (right click at the bottom panel and select Delete This Panel).

Cairo dock needs a compositing manager to work, so make sure that your system support Compiz before launching the app.

(Only if your system does not support Compiz: You can activate the in-built metacity compositing manager with the command:

gconftool-2 --type boolean --set /apps/metacity/general/compositing_manager TRUE

)

Launch Cairo dock (Menu -> Accessories -> Cairo Dock). Make sure to set it to launch everytime you startup your computer.

Configuring the Login screen

To change the background of the login screen, simply follow the instruction at the change Ubuntu Lucid login screen tutorial or use Gdm2Setup.

Other optional tweaks

Expo

Expo effect is part of the feature in Compiz. You can easily enable the feature in Compiz Config Settings Manager (if you have not installed, click here to install).

lucid-mac-compiz-expo

Once you have activated the Expo feature, you can press Win + e button to bring up the expo window.

Dashboard

The Dashboard effect can be emulated using Screenlets and Compiz Widget layer.

Install Screenlets and the Compiz Widget layer plugin

sudo apt-get install screenlets compiz-fusion-plugins-extra

Open CompizConfig Settings Manager and activate the Widget layer feature.

lucid-mac-enable-widget

Launch Screenlets (Menu -> Applications -> Accessories -> Screenlets) and start the widgets that you want to use. Right click on the widget and select Properties. Go to the Options tab and check the box “Treat as widget”

lucid-mac-screenlets-widget

You can now press F9 to see your widgets in the dashboard.

Screenshots

lucid-mac-screenshot2

lucid-mac-screenshot1

lucid-mac-screenshot3

Uninstallation

To uninstall the Mac4Lin theme, simply run the uninstaller in the Mac4Lin_Install_Mod folder.

Double click the Mac4Lin_Mod_Uninstaller.sh. When prompted, select “Run in Terminal”.

You will be asked to log out and login again for the uninstallation to be completed.

Image credit: louisvolant

Damien Oh is the owner and chief editor of Make Tech Easier

  • You forgot how to install the Fonts. :)
  • BS
    This is bullshit. Why would I want a Mac-fag-lookalike on my ubuntu system?
  • Thelgord
    This is one of THE best writeups i have found for Ubuntu, and so far everything looks great on my Acer d250 netbook. I didn't think it would handle the extra graphics but so far so good :) I have bookmarked this page and will refer to it often.
  • kevin
    im having an issue loading the global menu, it goes through a bunch of stuff, then it says contine type y=yes or n=no then i hit y and enter, and it says abort, then nothing happens
  • kevin
    actually, i figured out what i was doing wrong, but my problem is that the close, maximize and minimize are on the right side still, any way to get them on the left?
  • The default installation of Ubuntu Lucid has the close, maximize and minimize buttons on the left, how did you get it landed on the right?
  • Hi there, I installed it successfully and enjoyed the Mac environment for a few days. Then I wanted to roll back to my default ubuntu look and uninstalled the theme. It worked great. But when shutting my computer down, I noticed that the apple logo with a steel background was still there. It also appears right before showing up the login screen. I remember there was an ubuntu logo before activating the mac theme. Please help me remove that screen and go back to default. Otherwise I will have to do a complete reinstall, which is tough for me because mine is a fresh installation; not wubi.

    Please reply as soon as possible.
  • Nope. You don't need to do a complete reinstall.

    Open a terminal and type:
    sudo update-alternatives --config default.plymouth
    and choose the default splash screen when prompted.
  • That worked! Thank you very much! You saved me. :)
  • Firefox, best mac theme:
    http://www.foxdie.us/
  • Iury Lira
    Hi Damien,

    Great article!!!!!!

    I´ve installed and uninstalled the theme. I would like to reinstall It, altough I got error.

    Could you help me to solve that issue?

    Regards,

    Iury
  • What is the error you got?
  • AK
    Just a question does it include the Firefox plugin for mac look? is there a way for getting the same look chromium?
  • No. It does not include the Firefox plugin for mac look.
  • idanka
  • 10gauge
    Hi Damien, first off, these write-ups are GREAT! I am running 10.04 on my laptop and having a slight problem. For some reason the theme is not setting correctly. It's not giving me the Mac OS X look, only the colors, not the proper icons or anything of the sort. When I open my "Appearance" screen it is displaying the following message: "This theme will not look as intended because the required icon theme 'Mac4Lin_icons_v1.0' is not installed." How do I go about installing this? Thanks in advance.
  • After you have extracted the file, you should find a theme folder.
    From the Appearance screen, click on Install, navigate to the Theme folder and select the Mac4Lin icons.
  • sebastian
    mine is looking way better if u want a whole semy transparent menu panel got to places home foleder pres control-h and go to .theme and go to mac4lin 1.0 aqua and press on gtk 2.0 then menu menubar and delete the file that says menubar.png and then reapply the theme there u go semy trasparent menubar
    then got to mozilla and apply a better theme then find a better icon of an apple i found one from an actual leopard menubar and lassoed it then made a new icon and replaced all the gnome foot icons in the home folder/.icon/scalable/places you do have to resize it with gimp image editor to agood size around 80x80 pixels
  • nice...i have got it..
    thanks...
  • Krishna
    I love this new mac os theme !
    you should be a jenius :) hate off to you Damien Oh !
  • I hope you are referring to "hat" instead of "hate". The last thing I want is for people to "hate" me. :p
  • Humtaro76
  • Nice theme.
  • Mo
    The Global menu doesn't seem to work.
  • Did it install successfully? I have tested it in multiple system and it works fine in all of them.
  • serhanc
    I have a problem with the global menu as well... http://img818.imageshack.us/img818/8161/globalmenu.png
    The menu on the open window doesn't seem to move to the upper panel... It only shows which application window is open, not the menu of that application.
    Can you help?
  • Well, I guess I forgot to mention that Globalmenu does not work with every application. It does not support applications that don't use the GTK widget. You can find the list of compatible applications here (http://code.google.com/p/gnome2-globalmenu/wiki/ApplicationCompatibility)
  • Sup3rN3rd
    Great guide, ignore the haters. I love linux and I love OSX (which is a cheap ripoff of UNIX anyhow). This is definitely bookmarked as my friends are sure to have their eyes pop out when they get a peek at this.
  • JohnForDummies
    Thanks for this, but I found a problem with the installer, but haven't looked into the script to see if there's a quick fix... I always set Chromium as my default browser, but if you don't have FireFox set as default it fails without telling you why. Simple solution is to have FireFox set as default before running the installer.
  • KenP
    With the direction Ubuntu is going, by 10.10 you won't need this HOWTO. It will look like Mac OS X Cr*p by default!
  • I must admit, Ubuntu is getting prettier and prettier, but it doesn't have to mean that Mac OS X look like "Cr*p". Each OS has its own distinct point, and I feel that we have to give Mac OS X the credit for setting the standard.
  • steven
    If you want the theme, just buy the Mac OS X. We are different...
  • WhenWillMacLuvinUbuntuMoveOn
    Sorry to say but, FAIL!!!!
  • bxxxx
    how to make a "dashboard" launcher in cairo-dock:
    create a file (dashboard.sh) and paste in to it what's below:
    #!/bin/bash
    dbus-send --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/widget/allscreens/toggle_key org.freedesktop.compiz.activate string:'root' int32:`xwininfo -root | grep id: | awk '{ print $4 }'`

    save, then:
    chmod +x dashboard.sh

    in cairo-dock add new launcher and as a 'command to launch a click' paste the path to the file.
  • Thanks.
  • That's sick! (in a bad way!)
  • Bjoern3108
    I cannot install the dashboard ...

    (oder geben Sie eine Lösung an).
    bjoern@bjoern-desktop:~$ sudo apt-get -f install screenlets compiz-fusion-plugins-extra
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut
    Status-Informationen einlesen... Fertig
    screenlets ist schon die neueste Version.
    Probieren Sie »apt-get -f install«, um dies zu korrigieren:
    Die folgenden Pakete haben nicht-erfüllte Abhängigkeiten:
    gnome-applet-globalmenu: Hängt ab: gnome-globalmenu-common soll aber nicht installiert werden
    E: Nicht erfüllte Abhängigkeiten. Versuchen Sie »apt-get -f install« ohne jegliche Pakete (oder geben Sie eine Lösung an).
    bjoern@bjoern-desktop:~$
  • Reinstall Gnome global menu again.

    sudo apt-get -f install gnome-globalmenu
blog comments powered by Disqus