Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old October 26th, 2007   #961
AcidumIrae
First Cup of Ubuntu
 
AcidumIrae's Avatar
 
Join Date: Mar 2007
Location: Ivano-Frankivsk, Ukraine
Beans: 6
Ubuntu 7.10 Gutsy Gibbon
Send a message via ICQ to AcidumIrae Send a message via MSN to AcidumIrae Send a message via Yahoo to AcidumIrae Send a message via Skype™ to AcidumIrae
Re: [SOLVED] Gutsy mac menu :)

Quote:
Originally Posted by BoardDWorld View Post
It seems that we have the means to patch everything correctly now. Could some please post a step by step How-To on completing the entire task. This includes any dependencies that are required. I don't personally want debs as I won't learn anything this way.


Thanks in advance.
mac menu applet:

Code:
tar jxvf gnome-macmenu-applet-1.0.11.tar.bz2
cd gnome-macmenu-applet-1.0.11
sudo cp gnome-macmenu-applet /usr/lib/gnome-applets/
sudo cp GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/
gtk+ patch:

Code:
gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
tar zxvf gtk+2.0_2.12.0.orig.tar.gz
cd gtk+2.0-2.12.0
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install
As for dependencies, i don't know what is needed exactly, here is the list of dev packages i have:

Code:
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
you can do before patching gtk+

sudo apt-get install ...packages from the list above...
__________________
//WBR Tolik aka AcidumIrae
AcidumIrae is offline   Reply With Quote
Old October 26th, 2007   #962
BoardDWorld
Gee! These Aren't Roasted!
 
BoardDWorld's Avatar
 
Join Date: Jul 2007
Beans: 171
Ubuntu 8.04 Hardy Heron
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

Awesome, I'll have a go at it now... thanks for your time!
__________________
OS: All Hardy!
System: HP DV9224TX Laptop
CPU: Core2Duo T5600 1.82GHz / RAM: 2048MB DDR2 667MHz
HD: 240GB SATA (2x 120GB) / VGA: nVidia Gforce 7600 1024MB (512 Dedicated/512 Shared)
BoardDWorld is offline   Reply With Quote
Old October 26th, 2007   #963
kashms
A Carafe of Ubuntu
 
Join Date: Sep 2005
Beans: 85
Send a message via MSN to kashms
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

Any debs would also be highly appreciated ...
kashms is offline   Reply With Quote
Old October 26th, 2007   #964
BoardDWorld
Gee! These Aren't Roasted!
 
BoardDWorld's Avatar
 
Join Date: Jul 2007
Beans: 171
Ubuntu 8.04 Hardy Heron
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

Well it's all working thank you!

Just one small problem to fix and that's the applets graphic, as seen in the attached image it doesn't match the rest of the task bar. Any ideas from anyone would be appreciated. I'm positive it has been mentioned in the past already so I should have it fixed soon.

Also for anyone who's going to install all the mentioned dev's use this command:
Code:
sudo apt-get install 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
Attached Images
File Type: png Screenshot2.png (234.8 KB, 387 views)
__________________
OS: All Hardy!
System: HP DV9224TX Laptop
CPU: Core2Duo T5600 1.82GHz / RAM: 2048MB DDR2 667MHz
HD: 240GB SATA (2x 120GB) / VGA: nVidia Gforce 7600 1024MB (512 Dedicated/512 Shared)

Last edited by BoardDWorld; October 26th, 2007 at 08:17 AM..
BoardDWorld is offline   Reply With Quote
Old October 26th, 2007   #965
ayoli
Fresh Brewed Ubuntu
 
ayoli's Avatar
 
Join Date: Jun 2006
Location: Millau, France
Beans: 1,468
Ubuntu 9.04 Jaunty Jackalope
Send a message via Yahoo to ayoli
Re: [SOLVED] Gutsy mac menu :)

Quote:
Originally Posted by AcidumIrae View Post
mac menu applet:

Code:
tar jxvf gnome-macmenu-applet-1.0.11.tar.bz2
cd gnome-macmenu-applet-1.0.11
sudo cp gnome-macmenu-applet /usr/lib/gnome-applets/
sudo cp GNOME_MacMenuApplet.server /usr/lib/bonobo/servers/
gtk+ patch:

Code:
gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
sudo apt-get install build-essential
apt-get source gtk+2.0
tar zxvf gtk+2.0_2.12.0.orig.tar.gz
cd gtk+2.0-2.12.0
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install
As for dependencies, i don't know what is needed exactly, here is the list of dev packages i have:

Code:
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
you can do before patching gtk+

sudo apt-get install ...packages from the list above...
Thanks, this one looks very interesting , I give a try and then a feedback
__________________
my blog - linux user #423778 - Ubuntu user #4214
HP nc6400 Core duo 1,66GHz Ram 3Go GChip i945GM HD 250Go@7200rpm
Get a dynamic blogroll - Install gnome globalmenu
ayoli is offline   Reply With Quote
Old October 26th, 2007   #966
avb
Just Give Me the Beans!
 
Join Date: Aug 2005
Beans: 61
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

Hello,

I made a package of applet and patched gtk for gutsy. Works for me.

HOWTO INSTALL:

1. Install macmenu-applet_0.1-2_i386.deb
2. Download libgtk2.0-part1.tar.bz2, libgtk2.0-part2.tar.bz2 and install.sh
3. Go to this directory in terminal
4. Run sudo sh install.sh
5. Add macmenu applet to a gnome-panel
6. Log off/Log on

HOWTO UNINSTALL:

1. run 'sudo apt-get install --reinstall libgtk2.0-0'
Attached Files
File Type: gz 099_mac_menubar.patch.gz (2.1 KB, 1314 views)
File Type: sh install.sh (217 Bytes, 1576 views)
File Type: bz2 libgtk2.0-part1.tar.bz2 (800.0 KB, 1704 views)
File Type: bz2 libgtk2.0-part2.tar.bz2 (512.0 KB, 1635 views)
File Type: deb macmenu-applet_0.1-2_i386.deb (9.9 KB, 2726 views)

Last edited by avb; October 26th, 2007 at 11:53 AM..
avb is offline   Reply With Quote
Old October 26th, 2007   #967
kashms
A Carafe of Ubuntu
 
Join Date: Sep 2005
Beans: 85
Send a message via MSN to kashms
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

Quote:
Originally Posted by avb View Post
1. Install macmenu-applet_0.1-1_i386.deb
Thanks, but where to find this one?

EDIT: Never mind found it!
kashms is offline   Reply With Quote
Old October 26th, 2007   #968
Hairy_Palms
Grande Half-n-Half Cinnamon Ubuntu
 
Hairy_Palms's Avatar
 
Join Date: Jul 2005
Location: London,England
Beans: 947
Ubuntu Karmic Koala (testing)
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

thanks for the debs avb!, i dont know whether its a problem with the debs or whether its meant to be like that, but the menubar only works for nautilus, everything else (gimp,thunar,inkscape,gedit) all have their menubars in the normal place.
__________________
Jeremy Clarkson - "A Dazzling Hero of Political Incorrectness"
My LastFM profile
want to Give each GTK program its own theme? well look Here
Hairy_Palms is offline   Reply With Quote
Old October 26th, 2007   #969
avb
Just Give Me the Beans!
 
Join Date: Aug 2005
Beans: 61
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

Quote:
Originally Posted by Hairy_Palms View Post
thanks for the debs avb!, i dont know whether its a problem with the debs or whether its meant to be like that, but the menubar only works for nautilus, everything else (gimp,thunar,inkscape,gedit) all have their menubars in the normal place.
try to log off and log on. I had the same problem before i reload session. Now i dont have only a menu of firefox
avb is offline   Reply With Quote
Old October 26th, 2007   #970
kashms
A Carafe of Ubuntu
 
Join Date: Sep 2005
Beans: 85
Send a message via MSN to kashms
Re: Mac-style Menu Bar for GTK and Java/Swing applications!

When I try to install the deb I get an error:

"Error: Dependency is not satisfiable: libpango1.0-0"

I checked and libpango1.0-0 is installed. Do I need to install dev packages?
kashms is offline   Reply With Quote

Bookmarks

Tags
globalmenu, gnome, java, mac

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:02 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry