Here's how I did it and it worked.
I'm on Gutsy x86_64 (Turion64 HP dv2000).
1. Download the gtk patch that detaches menus from gnome windows.
(
http://ubuntuforums.org/attachment.p...chmentid=47782)
2. Download the mac menu applet source.
(
http://ubuntuforums.org/attachment.p...chmentid=48014)
3. Install the necessary dependencies for compiling gtk
Code:
sudo apt-get install build-essential autotools-dev comerr-dev dpkg-dev libart-2.0-dev libatk1.0-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libavahi-glib-dev libbonobo2-dev libbonoboui2-dev libc6-dev libcairo-directfb2-dev libcairo2-dev libcupsys2-dev libdbus-1-dev libdirectfb-dev libesd0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgail-dev libgconf2-dev libgcrypt11-dev libgdk-pixbuf-dev libglade2-dev libglib1.2-dev libglib2.0-dev libgnome-keyring-dev libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev libgnutls-dev libgpg-error-dev libgtk1.2-dev libgtk2.0-dev libhal-dev libhal-storage-dev libice-dev libidl-dev libjpeg62-dev libkrb5-dev liblzo2-dev libopencdk8-dev liborbit2-dev libpanel-applet2-dev libpango1.0-dev libpng12-dev libpopt-dev libselinux1-dev libsepol1-dev libsm-dev libstartup-notification0-dev libstdc++6-4.1-dev libsysfs-dev libtasn1-3-dev libtiff4-dev libusplash-dev libwnck-dev libx11-dev libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxml2-dev libxrandr-dev libxrender-dev libxres-dev libxt-dev linux-libc-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-resource-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev xutils-dev zlib1g-dev
3. Get GTK source
Code:
apt-get source libgtk2.0-0
4. Patch and compile GTK source
Code:
gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
cd gtk+2.0-2.12.0/
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install
5. Reboot.
6. Compile the applet.
Code:
sudo apt-get install libwnck-dev libpanelappletmm-2.6-dev
tar -xvzf macmenu-applet-0.1.tar.gz
cd macmenu-applet-0.1/
make
sudo make install
7. Restart gnome-panel
Code:
killall gnome-panel
8. I'm using carbonit gtk theme (
http://www.gnome-look.org/content/sh...d48fe9b49f7a60)which uses a png for menubar background. I adjusted the menu background to match the panel background by modyfying ~/.themes/Carbonit/gtk-2.0/Menu-Menubar/menubar.rc and changing all "menubar" at the end of the file to "no-manubar"
Code:
class "GtkMenuBar*" style "no-menubar"
widget_class "*MenuBar.*" style "no-menubar"
widget_class "*Nautilus*.GtkMenuBar*" style "no-menubar"
widget_class "*E*GtkMenuBar*" style "no-menubar"
widget_class "*Gimp*GtkMenuBar*" style "no-menubar"
widget_class "*Firefox*GtkMenuBar*" style "no-menubar"
class "*Panel*" style "no-menubar"
Bookmarks