How it is described above
Printable View
^ Which source so we use?
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
3. Get GTK sourceCode: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
4. Patch and compile GTK sourceCode:apt-get source libgtk2.0-0
5. Reboot.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
6. Compile the applet.
7. Restart gnome-panelCode: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
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:killall gnome-panel
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"
Here is a little something for people who dont like the little arrow on the main menu applet (see result in the screenshot below):
Download the 99_no_arrows.patch.gz below and move it to gnome-panel in your home directory.Code:mkdir ~/gnome-panel
If the panel should act up after that, just log out, reboot or whatever.Code:cd ~/gnome-panel
gzip -d 99_no_arrows.patch.gz
apt-get source gnome-panel
mv 99_no_arrows.patch gnome-panel-2.20.1/debian/patches
cd gnome-panel-2.20.1
debuild
sudo dpkg -i ../*.deb
killall gnome-panel
I also built packages for gutsy for both the gnome applet and xfce4 plugin, but I am still missing a way to remove the underlines in the menu and maybe to make the text bolt, keeping me from making a proper package for gtk. Does anyone know a patch or what I have to change in the GTK+2 source to accomplish this?
Hope someone can make some use of this,
Avlex.
P.S.: I know my window button setup is weird, youll understand why this way when you closed a window you didnt want to close instead of the VNC viewer window on a real mac.
Hello,
I've just installed the patch and everything seems to be ok except for the following problems:
1) The app label position is too high, it is not aligned to the app menu
2) After app label, there seems to bee a little white underscore.
3) Gnome seems to be much slower with mac menu patch applied...?!
I've attached a screenshoot to see what I'm saying....please help, is there any fix for this?
Thank you!
My gnome version is also 2.20.1.
Are you sure you did "make" and "sudo make install" for the gnome applet? Try removing the /usr/lib/gnome-applets/gnome-macmenu-applet and /usr/lib/bonobo/servers/GNOME_MacMenuApplet.serverfiles and then recompiling the panel applet again.