Fortunately, some solutions came out from the ubuntuforums.org thread mentioned in the previous post. Here are the patch and the applet that I have grabbed from avb’s post in page 99 of this thread, the no underline patch has been made with an idea from page 52 of the macmenu ubuntuforums.org thread (post at the bottom of the page) :
- gtk+ 2.12.0 gtkmenubar.diff
- no label underlines patch
- mac menu applet for patched gtk+ 2.12 (deb for gutsy 32 bits)
NOTE : I have edited this entry to add the no underline patch and modifiy the instructions to use this patch.
/!\ Read carefully instructions before try, if you do this this is at your own peril
I installed the mac menu applet deb package(with dpkg in CLI or gdebi for the graphical way), then in a terminal, I typed this to install apt-build (Choose add apt-build repository to sources.list when asked)
sudo apt-get install apt-build
After, I told apt-build to get libgtk2.0-0 source package (apt-build takes care of the build deps for you, ie: -dev packages)
sudo apt-build source libgtk2.0-0
Next step was to copy the dowloaded patches from where is was (on the desktop in _my_ case) to the libgtk2.0-0 source package directory
sudo cp ~/Desktop/099_mac_menubar.patch /var/cache/apt-build/build/gtk+2.0-2.12.0/debian/patches/ sudo cp ~/Desktop/098_no_label_underline.patch /var/cache/apt-build/build/gtk+2.0-2.12.0/debian/patches/
And, I added their name to the debian/patches/series list (at the very bottom of file)
sudo gedit /var/cache/apt-build/build/gtk+2.0-2.12.0/debian/patches/series
the last command was to use apt-build to build the packages
sudo apt-build install libgtk2.0-0
Note: this step could take around 30 min, depends of your computer capacities.
Finally, update-manger offered me an libgtk upgrade (the patched libgtk from apt-build repos, because my apt-build repos is unsigned.) and, I added the applet to the top panel, logged out/in gnome, and now it works 🙂
For those who don’t want to deal with the commands above and prefer to try my debs for ubuntu gutsy 32 bits, here they are. The 2 patches above are applied on this version :
NOTE : these packages have a superior version number than original gusty ones, so there shouldn’t have update (at least before ubuntu devs post a security update)
Uninstallation instructions :
If you have used the apt-build method to install the patched gtk do this to uninstall :
- Go to menu system > administration > software sources. Pick the “third party software” tab, and uncheck apt-build repository.
- Then in a terminal type in:
sudo apt-get clean && sudo apt-get update && sudo apt-get install --reinstall -y libgtk2.0-0
- Logout / in gnome to apply changes.