MacOSX 4Lin

Embed Size (px)

Citation preview

  • 8/9/2019 MacOSX 4Lin

    1/28

    Mac4LinProject Documentation

    Revision 2.0Decemeber 18, 2007

    Developer and Guide Copyright: Anirudh.R.Acharya (infra_red_dude)Website: http://sourceforge.net/projects/mac4lin

    Mac4Lin Documentation 1

  • 8/9/2019 MacOSX 4Lin

    2/28

    Table of contents

    Project Overview 3

    1. GTK-Metacity theme 42. GTK Icon theme 63. Emerald theme (For Beryl/Compiz-Fusion) 94. GTK Cursor theme 105. GDM Login theme 126. GTK Splash theme 137. USplash (Bootsplash) theme 148. Fonts 159. GRUB splash theme 17

    10. Docks10.1 Avant Window Navigator 1810.2 SimDock 19

    11. Pidgin iChat theme and AWN Plugin 2012. Exaile AWN Plugin 2113. System Sounds 2214. iTunes Media Player theme 2215. Mozilla Firefox theme 2316. Wallpapers 2417. Screenshots 2518. Developer Information and Credits 28

    Mac4Lin Documentation 2

  • 8/9/2019 MacOSX 4Lin

    3/28

    Do you want to give your GTK desktop a dash of Mac OS X? Do you want to change thedefault look of your desktop to something like this? Then read on.....

    Is that Mac OS X Leopard??? Naah... Its just GNU/Linux + GNOME + Mac4Lin!

    The goal of this project is to bring the look and feel of Mac OS X on GNU/Linux and Unix-System like GTK based systems. This document will present the procedure to install Mac4Linpack & tweak certain things to get that almost perfect Mac OS X like desktop.

    NOTE: Backup all files before deleting/replacing the original ones. Nobody is responsible forany loss of data that may occur when installing and/or during the usage of Mac4Lin. Thisguide holds good for all versions of Mac4Lin. For version specific information please see the

    README file of each component (if any). Also see the changelog file for changes in specificreleases. Unless specified, the installation procedures apply to all versions of GNOME. TheGNOME version can be checked by clicking on System > About GNOME. Similar procedurescan be applied to XFCE, however all Mac4Lin components may not work. Instructions forXFCE installation are not provided in this documentation.

    Download all the Mac4Lin release tar.gz files from the download page of the websiteand extract them to a temporary folder for installation.

    Mac4Lin Documentation 3

  • 8/9/2019 MacOSX 4Lin

    4/28

    1.Applying GTK-Metacity Theme

    GNOME 2.20

    Goto System > Preferences >Appearance. Click Install.Browse and choose theMac4Lin GTK MetacityTheme .tar.gz file (wherever itis extracted).

    After the installationis confirmed click on'Apply new theme'.

    After the theme isinstalled and you donot get the option ofApplying the Themethen please restart

    AppearancePreference and clickon Customize buttonto make sure thatboth Controls andWindow Border areset to Mac4Lin GTKtheme.

    Mac4Lin Documentation 4

  • 8/9/2019 MacOSX 4Lin

    5/28

    GNOME 2.18

    Goto System > Preferences > Theme > Customize > Control. Click Install. Browse andchoose the Mac4Lin GTK Metacity Theme .tar.gz file (wherever it is extracted). Select toApply.

    Also make sure that the Window border is set to the Mac4Lin theme. Click on the Windowborder and select the Mac4Lin GTK theme.

    Mac4Lin Documentation 5

  • 8/9/2019 MacOSX 4Lin

    6/28

    The following is only for those who do not use Emerald Themer, used in conjunction withCompiz/Fusion/Beryl (if you do not about Emerald/Compiz etc. refer to Page 9, Section 3):

    To shift the traffic lights (close, min, max buttons) to the left of the title bar goto a terminalwindow/press Alt+F2 and type: gconf-editor and press Enter. Now navigate to:

    apps>metacity>general. On the right double click button_layout. Delete that & type:close,minimize,maxmize:menu (without quotes). Press OK and then Quit. The buttons willnow be on the left side of titlebar. To restore the original layout, just replace the string bymenu:minimize,maximize,close

    2. Applying GTK Icon Theme

    GNOME 2.20

    Goto System > Preferences > Appearance. Click Install. Browse and choose the Mac4LinIcon Theme .tar.gz file (wherever it is extracted).

    Mac4Lin Documentation 6

  • 8/9/2019 MacOSX 4Lin

    7/28

    After theinstallation isconfirmed click on'Apply new theme'.

    If you need tomake anychanges/re-apply,click on Customizebutton and gotoIcon page. Nowselect the Mac4LinIcon theme toapply.

    GNOME 2.18

    Goto System > Preferences > Theme > Customize > Icons. Click Install. Choose the Mac4LinGTK Icon Theme .tar.gz file (wherever its extracted). Select to Apply.

    Mac4Lin Documentation 7

  • 8/9/2019 MacOSX 4Lin

    8/28

    For both GNOME 2.18 & 2.20

    For the Search/Network/Wi-Fi icon to work correctly, you need to add relevant applets. Rightclick on an empty area on the GNOME panel and click "Add to panel" now scroll down andselect "Search for files" applet. Now again follow the first part, this time select the "NetworkMonitor" Applet. Look at the main screenshots for their placement on the panel.

    This theme also contains lot of extra icons. Find them at ~/.icons//EXTRAS. Just open an nautilus window and goto View > Enable Show hidden filesoption. You will now see the .icons folder. If you need to locate this folder in any 'Browse Files'dialog then just right click on the right side of the dialog box where all the files and folders arelisted and enable Show hidden files option. Some of the icons in the pack are shown here:

    Mac4Lin Documentation 8

  • 8/9/2019 MacOSX 4Lin

    9/28

    3. Emerald Theme For Beryl & Compiz

    You will need to install Beryl/Compiz and Emerald theme manager first. Beryl/Compiz/Fusionare Composite managers which enable 3D effects. Emerald is a theme manager.Please referto the various guides on the web for installing Beryl/Compiz/Fusion and Emerald Themer.

    To install Mac4LinEmerald theme: GotoSystem > Preferences> Emerald ThemeManager. Click on'Import...' button. Nowbrowse to the folderwhere this pack wasextracted and selectthe .emerald file fromthe Emerald folder.

    Click 'Open'. Now scrolland select the Mac4LinEmerald theme toapply.

    Mac4Lin Documentation 9

  • 8/9/2019 MacOSX 4Lin

    10/28

    4. Applying Cursors

    GNOME 2.20

    Goto System > Preferences >

    Appearance. Click Install. Browseand choose the Mac4Lin CursorTheme .tar.gz file (wherever it isextracted).

    After theinstallation is

    confirmed click on'Apply newtheme'.

    If the cursortheme needs tobe reappliedanytime then Clickon Customize andgoto the Pointerstab. Select the

    Mac4Lin cursortheme.

    Mac4Lin Documentation 10

  • 8/9/2019 MacOSX 4Lin

    11/28

    GNOME 2.18

    To install, Goto System > Preferences > Theme > Customize > Icons. Click Install. ChooseMac4Lin Cursors Theme .tar.gz file where ever its extracted. Observe that the Mac4Lin OS XCursors package is now added under Icons. It is normal for the cursor themes to shown under

    the Icon tab. Do NOT select it. Close it now. Screenshot is as shown:

    To apply, Goto System > Preferences > Mouse > Pointers Tab, Select Mac4Lin OSX Cursorsthen click Apply. Restart X (Log off and Log back in) for the changes to take place.

    Mac4Lin Documentation 11

  • 8/9/2019 MacOSX 4Lin

    12/28

    5. GDM Login Window Theme

    Goto System > Administration > Login Window > Local Tab. Enter the Admin password whenasked. Now Add the included Mac4Lin GDM theme by clicking Add and seleting the bundledthemes.

    After adding, a preview of the theme will be shown. To apply, click on the radio button next topreview.

    Sample screenshot of the GDM theme:

    Mac4Lin Documentation 12

  • 8/9/2019 MacOSX 4Lin

    13/28

    6.GTK Splash

    Applying splash screen is easiest with GtweakUI. Install the package relevant to your distro.Homepage: http://sourceforge.net/projects/gtweakui

    For any problems/complaints/help/suggestions please head to the gtweakui website.

    For Debian and Debian-based distros (like Ubuntu etc.) with GtweakUI in the repos, in aterminal window type: sudo apt-get install gtweakui

    Other distros may have it in the repos. If not then trace and download. The source tarballs arealways available for compiling if binary package is not available. After installation, copy allsplash images files from /GTK Splash to /usr/share/pixmaps/splash/ as root.

    Now Goto System > Preferences > gtweakui-session. Click on the image. Select the file youwant to set as splash from the folder mentioned above to apply.

    Sample screenshot of GTK Splash screen:

    Mac4Lin Documentation 13

  • 8/9/2019 MacOSX 4Lin

    14/28

    7. USplash Screen (Boot splash)

    The easiest way of installing bootspash screen is to install the package: Startup Manager(SUM). Some distros may have it in the repos. If not the download from below mentioned link.Prebuilt packages for Debian and source tarballs are available. Startup Manager Homepage:

    https://sourceforge.net/projects/startup-manager/

    For any problems/complaints/help/suggestions please head to StartUp Manager website at:http://sourceforge.net/projects/startup-manager orhttp://web.telia.com/~u88005282/sum/index.htmlAccording to some users this has messed their splash screen. Use this software at your own risk!

    After SUM installation, copy the .so file from USplash folder to /usr/lib/usplash as root.

    IMPORTANT: Before changing the bootsplash screen backup the GRUB menu list!!! Goto aterminal window and type: sudo cp /boot/grub/menu.lst /boot/grub.menu.lst.copy (or whateveris the GRUB menu list file in your distro). This is important as Startup Manager package maymess the GRUB menu list file.

    To set the screen, goto System > Administration > Startup-Manager Enter Admin password. Inthe 'Boot options' page, Check the 'Show bootsplash' option. Now goto 'Appearance' page.

    Click on Usplash theme dropdown menu and select the bundled theme. If the themes don'tshow up then click on 'Manage usplash themes', browse to where the .so files have beenplaced, select them and add them.

    Mac4Lin Documentation 14

    https://sourceforge.net/projects/startup-manager/http://sourceforge.net/projects/startup-managerhttp://web.telia.com/~u88005282/sum/index.htmlhttps://sourceforge.net/projects/startup-manager/http://sourceforge.net/projects/startup-managerhttp://web.telia.com/~u88005282/sum/index.html
  • 8/9/2019 MacOSX 4Lin

    15/28

    Sample screenshot of Bootsplash screen:

    8. Fonts

    To install fonts, as root, open nautilus window and type "fonts:///" in the location bar. Now copyall the .ttf files there which are included in the archives (.tar.gz files etc.) in Fonts folder. Opena terminal window and type: "fc-cache -f -v". Restart and you can now use OSX fonts.

    Mac4Lin Documentation 15

  • 8/9/2019 MacOSX 4Lin

    16/28

    For other fonts and tweaking, follow this guide. This is optional. Apply this tweak if you are nothappy with the font rendering in your system. This guide has been taken fromUbuntuforums.org

    **********************************************************************************************************

    Install the Microsoft fonts. You have 2 ways of doing so:

    Either download the fonts into your home directory and install them on your system: "sudo tarxvjpf msfonts.tbz -C /usr/share/fonts/truetype/"

    Or, enable non-free, universe and multiverse repositories and install the Microsoft fonts: "sudoapt-get install msttcorefonts"

    You now have the Microsoft fonts installed. Let's configure your system now. Download thexml files and extract the file into /etc/fonts/ as root: sudo tar xvjpf fontconfig.tbz -C /etc/fonts/

    Log out from Ubuntu and relog in. Here's how your desktop will look, like the screenshot.

    Take a backup of /etc/fonts folder and whatever you modify here first, in case you may want torevert.

    **********************************************************************************************************

    Screenshot after applying the tweak:

    Mac4Lin Documentation 16

  • 8/9/2019 MacOSX 4Lin

    17/28

    My font settings are shown inthe screenshot:

    9. GRUB Splash

    You will again need StartUp Manager for this.TAKE A BACKUP OF GRUB MENU AS DIRECTEDIN Section 7, Page 14 BEFORE PROCEEDING.For any problems/help/suggestions/complaints

    please see the above mentioned page for thewebsite. According to some users this has messedtheir splash screen. Use this software at your ownrisk!

    As root, create a folder /boot/grub/splash.Copy .xpm.gz files to /boot/grub/splash. GotoSystem > Administration > Startup Manager. Gotothe Appearance tab. Now click on 'Managebootloader themes...' Click Add. Locate the .xpm.gzyou want to set as the GRUB boot screen. Onceadded, go back the Appearance tab and select theimage from the GRUB Background Image button.

    Mac4Lin Documentation 17

  • 8/9/2019 MacOSX 4Lin

    18/28

    Sample screenshot of GRUB splash screen:

    10. Docks

    10.1 Avant-Window-Navigator

    NOTE: Beryl/Compiz (Composite manager) is required for AWN. If you do not use anycomposite manager then you can try the SimDock package, mentioned later.

    For Ubuntu 7.10:

    Open terminal window and execute the below given lines. Type these without the quotes.

    1) Edit your apt sources list: "sudo gedit /etc/apt/sources.list" and add these two lines to thebottom of the file. Take a backup of the sources.list file before making any changes.

    ## Avant Window Navigatordeb http://download.tuxfamily.org/syzygy42 gutsy avant-window-navigatordeb-src http://download.tuxfamily.org/syzygy42 gutsy avant-window-navigator

    Here, gutsy is the Ubuntu version. Replace it with your version (for e.g. if you are usingUbuntu 7.04 then replace 'gutsy' with 'feisty' and so on).

    2) Type this in the terminal one after the other:

    wget http://download.tuxfamily.org/syzygy42/reacocard.ascsudo apt-key add reacocard.ascrm reacocard.asc

    Mac4Lin Documentation 18

    http://download.tuxfamily.org/syzygy42http://download.tuxfamily.org/syzygy42http://download.tuxfamily.org/syzygy42/reacocard.aschttp://download.tuxfamily.org/syzygy42http://download.tuxfamily.org/syzygy42http://download.tuxfamily.org/syzygy42/reacocard.asc
  • 8/9/2019 MacOSX 4Lin

    19/28

    sudo apt-get updatesudo apt-get upgrade"

    3) Now to install AWN:Note: AWN is still not completely stable. It may or may not work for you.

    Install from Synaptic or type this in terminal:sudo apt-get install avant-window-navigator-bzr awn-core-applets-bzr

    Launch AWN from Applications > Accessories > Avant Window Navigator.

    You can install the bundled Mac4Lin AWN Theme or create your own. The theme will onlywork with a newer build. Goto System > Preferences > Awn manager. The AWN Managerworks only when AWN is running. Goto the themes tab, click on the Add button. Select thistheme. Now click on the theme in the Themes tab and Apply. You can simply drag and dropitems to create launchers.

    For other distributions: you will need to look in the relevant package manager or compile fromsources. Various guides are available on the internet.

    AWN Homepage: http://code.google.com/p/avant-window-navigator/

    For any problems/complaints/help/suggestions please head to AWN forums at:http://www.planetblur.org/hosted/awnforum/index.php?shard=forum

    Screenshot of AWN:

    10.2 SimDock

    This is a lightweight dock which does not require any Composite manager (Beryl/Compiz).You can find binary packages on the web or compile your own with the sources. Homepage:http://sourceforge.net/projects/simdock/

    This has not been tested, hence it may have issues which are not mentioned here. Use atyour own risk. For any problems/complaints/help/suggestions please head to SimDock forumsat: http://sourceforge.net/forum/?group_id=198436

    Screenshot of Simdock:

    Mac4Lin Documentation 19

    http://code.google.com/p/avant-window-navigator/http://sourceforge.net/projects/simdock/http://code.google.com/p/avant-window-navigator/http://sourceforge.net/projects/simdock/
  • 8/9/2019 MacOSX 4Lin

    20/28

    11. Pidgin

    11.1 Pidgin Plugin for Avant-Window-Navigator

    Place the pidgin_awn.so in ~/.purple/plugins. Create a launcher for Pidgin in AWN, launch it,

    right click on the Pidgin tray icon and select Plugins. Enable AWN plug in.

    Default Pidgin icon on the AWN Dock:

    Status Idle/Invisible:

    Status Available:

    Status Connecting:

    Status Offline:

    Unread message (number of unreadmessages are shown):

    11.2 Pidgin iChat Theme

    Extract the theme archive to a temporary folder. Now, as root, move the "pidgin" folderto /usr/share/pixmaps. Overwrite the existing one after taking a backup of the original folder.This will install the iChat Theme for Pidgin.

    Mac4Lin Documentation 20

  • 8/9/2019 MacOSX 4Lin

    21/28

    Remember to reinstallthis theme wheneveryou perform a Pidginupgrade as it willrevert back to the

    default theme.

    This is a screenshot ofPidgin with iChatTheme:

    12. Exaile Avant-Window-Navigator Plugin

    You will need to have Exaile Media player installed to use this. Follow guides available on theweb to install this or search in your distribution's package manager.

    To install this Plugin, copy both the awn.py and awn.pyc files to ~/.exaile/plugins (if the folderdoes not exist then create one). Launch Exaile, goto the Plugins dialog, enable AWN Plugin.The status will now be shown on the Exaile launcher on AWN (You need to create an Exailelauncher on AWN first).

    NOTE: Some users have not been able to use this Plugin. Hence it may or may not work foryou.

    Idle Exaile icon on AWN:

    Exaile icon in representing remaining time in animated mode:

    Exaile icon in representing remaining time in numerical mode:

    Mac4Lin Documentation 21

  • 8/9/2019 MacOSX 4Lin

    22/28

    13. Mac OS X System Sounds

    Extract Mac4Lin OSX Sounds archive toa temporary folder. Copy the soundsfolder to /usr/share/sounds, as root, for

    easily applying sounds to GTK events.

    Goto System > Preferences > Sound >Sounds Tab

    Now assign sounds to events as youwish. An example screen is shown here:

    14. iTunes media player skin

    Extract the archive and move theMac4Lin iTunes skin folder to the

    location indicated for each mediaplayer below. If the folder does notexist then create one.

    1) XMMS~/.xmms/Skins folder

    2) Beep Media Player~/.bmp/skins folder

    3) Audacious

    ~/.audacious/Skins folder

    After extraction goto the Preferences > Skin and select the Mac4Lin iTunes skin to apply.

    Note: ~/ indicates the folder /home/

    Mac4Lin Documentation 22

  • 8/9/2019 MacOSX 4Lin

    23/28

    15. Mozilla Firefox

    15.1 Firefox Extensions

    Open Add-ons Window, Click Tools > Add-ons, drag & drop the .xpi files (in the

    Firefox/Extensions folder) into Extensions window. Wait for few seconds. Then click on"Install" button. Click on "Use Add on/Enalbe" for the extensions you want to use. RestartFirefox.

    15.2 Safari Firefox Theme

    Open Add-ons window. Drag & drop the .jar file into Themes window. Wait for few seconds.Then click on "Install" button. Click on "Apply/Use Theme". Restart Firefox.

    Mac4Lin Documentation 23

  • 8/9/2019 MacOSX 4Lin

    24/28

    After applying the extensions and add ons Firefox will now look like this:

    16. Wallpapers

    These can be extracted and copied anywhere (default is /usr/share/backgrounds). Right clickon the desktop and select 'Change Desktop Background'. In the window click on 'Addwallpaper'. Now browse and select the files where the wallpapers were extracted and copied.They will now be added to the list. Select the one you wish to apply.

    *********

    Installation is now complete. Congratulations! You now have the Mac OS X user interface onyour GTK desktop.

    Some software which will aid in enhancing the look:

    1) Screenlets and/or gDesklets and/or aDesklets2) Cairo Clock

    Mac4Lin Documentation 24

  • 8/9/2019 MacOSX 4Lin

    25/28

    17. Some screenshots.....

    Nautilus FileManager:

    Desktopwith Terminal

    and Exaile(not includedin Mac4Lin):

    Mac4Lin Documentation 25

  • 8/9/2019 MacOSX 4Lin

    26/28

    CompizFusionwith ExpoPlugin:

    CompizFusionwith CubePlugin:

    Mac4Lin Documentation 26

  • 8/9/2019 MacOSX 4Lin

    27/28

    CompizFusionwith Shiftplugin:

    CompizFusionwith Unfoldplugin:

    Mac4Lin Documentation 27

  • 8/9/2019 MacOSX 4Lin

    28/28

    Clean Desktop:

    Thanks to SkiesofAzel for imetal, Victor Hugo Casals for Firefox Safari skin, Calande for thefont guide, Laviano for urging me to release MacMenu version of GTK theme, GraFF forfolders, Mitko for nm-applet, stido for weather replacement, Jos Miguel for volume iconsuggestion, Maurizio for the GDM concept, jTc42 for Aurora and 'Professor' for suggestingchanges in the documentation. I also thank all those who tested the pack and everyone whoare directly or indirectly involved in this project. For any suggestions / comments /complaints / bug tracking please head to the project website and/or drop me a mail.

    No part or whole of this guide should be reproduced without permission. The Apple logo isNOT bundled with the package. It is only for demonstration purpose.

    Regards,

    Anirudh.R.Acharya (a.k.a infra_red_dude)Developer, Mac4Lin

    E-Mail: [email protected] Website: http://sourceforge.net/projects/mac4lin

    mailto:[email protected]:[email protected]