View Full Version : Mac-style Menu Bar for GTK and Java/Swing applications!
Pages :
1
2
3
4
[
5]
6
7
8
9
10
11
12
Slaco
October 28th, 2007, 12:22 AM
Looking great, but I have encountered one small problem. There is a small grey bar right of the application name. (See attached image) Any ideas for a fix?
kb0tfd
October 28th, 2007, 06:14 AM
I am trying to find instructions to install the macmenu applet in Gusty....if somone knows what I should do please advise....I am rather lost, and would really like to get this working. Thanks for any help.
AcidumIrae
October 28th, 2007, 09:11 AM
Well I've gotten most of this to work, except for the icons in the top-right corner. What do you do to change them correctly?
you should use icon theme that will replace it.
you can start looking at
http://sourceforge.net/projects/mac4lin
http://www.taimila.com/?q=node/11&page=1
I am trying to find instructions to install the macmenu applet in Gusty....if somone knows what I should do please advise....I am rather lost, and would really like to get this working. Thanks for any help.
read around page 96 - it helps ;)
undine
October 29th, 2007, 01:26 AM
Is there any way to get this to fit in with the newer leopard styles, and the leopard style menu bar? It sticks out like a sore thumb against the transparency.
ScdGigi
October 29th, 2007, 02:53 AM
Anyone noticed that gnome goes so slow after this hack??
Hairy_Palms
October 29th, 2007, 07:59 AM
ive noticed a couple of programs dont start after this hack, and pump out lots of glib errors.
realbasic and transmission both dont start
ayoli
October 29th, 2007, 10:32 AM
Yes, sure.
Attached macmenu applet with debian/ and a patch for gtk, adopted for building libgtk2.0-0 package. Just put it to debian/patches and add the name of a patch to debian/patches/series list.
Wow, thanks :)
Only one week after installing gusty, I have now my Mac Menu bar back. I thought it could be longer.
I choose this solution (no offense to AcidumIrae) because it sounds more 'debianic' and use apt-build to build the libgtk (http://ayozone.org/2007/10/31/macmenu-bar-hack-for-gnome-220-gtk-212/).
conphara
October 29th, 2007, 02:43 PM
I just installed the macmenu-applet_0.1-2_i386.deb and installed the patch files: 099_mac_menubar.patch.gz, libgtk2.0-part1.tar.bz2, libgtk2.0-part2.tar.bz2.
All is working but I cant bring the focus to the new panel by using the alt key and corresponding first letter. The first letter in every menu is underlined.
Can it be done?
avb
October 29th, 2007, 10:00 PM
I just installed the macmenu-applet_0.1-2_i386.deb and installed the patch files: 099_mac_menubar.patch.gz, libgtk2.0-part1.tar.bz2, libgtk2.0-part2.tar.bz2.
All is working but I cant bring the focus to the new panel by using the alt key and corresponding first letter. The first letter in every menu is underlined.
Can it be done?
I think its not possible.
Psyphre
October 30th, 2007, 07:54 AM
sure it won't work. - applet binary is 32bit
you need to recompile applet, change directory to applet source in terminal and run
gcc $(pkg-config --cflags --libs libpanelapplet-2.0 libwnck-1.0) -DFOR_GNOME -o gnome-macmenu-applet macmenu-applet.c
then do sudo cp ... staff
You're rigth !!! Tnx ... now works fine :D
How do i recompile to 64bit? sorry im noobish.
AcidumIrae
October 30th, 2007, 11:26 AM
How do i recompile to 64bit? sorry im noobish.
How it is described above
LavianoTS386
October 30th, 2007, 02:22 PM
^ Which source so we use?
AcidumIrae
October 30th, 2007, 03:07 PM
^ Which source so we use?
any source, gcc command is the same for the applet
Psyphre
October 30th, 2007, 07:38 PM
How it is described above
Thx, i misunderstood, thought i had to recompile THEN follow those instructions.
Works now!! thx so much!
lxevolution
October 30th, 2007, 11:48 PM
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.php?attachmentid=47782)
2. Download the mac menu applet source.
(http://ubuntuforums.org/attachment.php?attachmentid=48014)
3. Install the necessary dependencies for compiling gtk
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
apt-get source libgtk2.0-0
4. Patch and compile GTK source
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.
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
killall gnome-panel
8. I'm using carbonit gtk theme (http://www.gnome-look.org/content/show.php/Carbonit+Suite+Reup?content=68567&PHPSESSID=d43d717b5837e4c627d48fe9b49f7a60)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"
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"
kenobiswc
October 31st, 2007, 02:35 AM
Here's how I did it and it worked.
Great work.
avlex
October 31st, 2007, 03:09 PM
Here is a little something for people who dont like the little arrow on the main menu applet (see result in the screenshot below):
mkdir ~/gnome-panel
Download the 99_no_arrows.patch.gz below and move it to gnome-panel in your home directory.
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
If the panel should act up after that, just log out, reboot or whatever.
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.
catanni
October 31st, 2007, 07:43 PM
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!
zhangsen
October 31st, 2007, 08:48 PM
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.php?attachmentid=47782)
2. Download the mac menu applet source.
(http://ubuntuforums.org/attachment.php?attachmentid=48014)
3. Install the necessary dependencies for compiling gtk
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
apt-get source libgtk2.0-0
4. Patch and compile GTK source
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.
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
killall gnome-panel
8. I'm using carbonit gtk theme (http://www.gnome-look.org/content/show.php/Carbonit+Suite+Reup?content=68567&PHPSESSID=d43d717b5837e4c627d48fe9b49f7a60)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"
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"
Failed to make it on ubuntu gutsy with gnome 2.20.1.
Each time I added the applet, gnome-panel complained.
lxevolution
October 31st, 2007, 11:56 PM
Failed to make it on ubuntu gutsy with gnome 2.20.1.
Each time I added the applet, gnome-panel complained.
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.
avlex
November 1st, 2007, 02:06 AM
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!
1.) Thats a problem with the Lucida Grande font, looks like all the ports for linux, that are around have a different base line for bolt and normal text. At least in the menu (havent seen that problem anywhere else). You can either disable the fake application menu or change the font, whichever one you like better. For the font, I would recommend Aquabase, because it is very similar to the Lucida Grande font, if you want your system to look like Mac OS X.
2.) There is a spacer to separate the fake application menu from the rest of the menu, that might just be painted wrong (maybe because of the font). Try changing the font and see if its still there.
3.) Its a hack, so certain performance issues are to be expected. However, I fail to see a real difference on my systems (which doesnt mean there are none :) )
andrek
November 1st, 2007, 06:44 AM
I've got a problem. As you can see on a picture below, instead of 'GNOME' i get 'GNO...'. I get the same thing with firefox, which is showed as 'Firef...'.
Is there any possibility to fix it?
Also, how can i change that ugly deskbar-applet icon?
One more thing.. I've applied that 'no-arrow' patch which worked well, but.. as i tried to update/upgrade my system, it has updated gnome-panel.. So i'm back with that arrow.
Thanks.
tarte en pion
November 1st, 2007, 07:57 AM
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.php?attachmentid=47782)
2. Download the mac menu applet source.
(http://ubuntuforums.org/attachment.php?attachmentid=48014)
3. Install the necessary dependencies for compiling gtk
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
apt-get source libgtk2.0-0
4. Patch and compile GTK source
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.
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
killall gnome-panel
8. I'm using carbonit gtk theme (http://www.gnome-look.org/content/show.php/Carbonit+Suite+Reup?content=68567&PHPSESSID=d43d717b5837e4c627d48fe9b49f7a60)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"
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"
Thanks, it's the first method that works on my comp ! :)
But in Firefox, I only see "Firefox" in the applet et the menu is still attached in Firefox...
Another thing : how can I get tranparence in the applet ? With Human it's ugly... I tried to modify the file like you did, but I didn't managed it, apparently... Any idea ?
Otherwise, Great job! :)
ayoli
November 1st, 2007, 08:19 AM
Thanks, it's the first method that works on my comp ! :)
But in Firefox, I only see "Firefox" in the applet et the menu is still attached in Firefox...
Firefox can't work with mac menu. It should need a patch but nobody has wrote it.
You can use the compact menu FF extension to hide the menu
Another thing : how can I get tranparence in the applet ? With Human it's ugly... I tried to modify the file like you did, but I didn't managed it, apparently... Any idea ?
Otherwise, Great job! :)
You need a gtkrc style for that, if you want it transparent you may need to set a style for gtk menu using pixbuf engine with a transprent png image.
tarte en pion
November 1st, 2007, 09:13 AM
Firefox can't work with mac menu. It should need a patch but nobody has wrote it.
You can use the compact menu FF extension to hide the menu
Ok, I didn't noticed everybody was using Epiphany! :)
You need a gtkrc style for that, if you want it transparent you may need to set a style for gtk menu using pixbuf engine with a transprent png image.
Ok, I will look closer at this when I have time. For the moment, could you please post your modified theme? It's so ugly so... Thanks ;)
EDIT: Oh, you're also in France!
ayoli
November 1st, 2007, 09:38 AM
Ok, I didn't noticed everybody was using Epiphany! :)
Some of us use firefox with the menu hidden.
Ok, I will look closer at this when I have time. For the moment, could you please post your modified theme? It's so ugly so... Thanks ;)
sure, attached (use the panel-bg.png also as backgtround image for the panel)
Edit: Take a look to gnome-look there is some themes "macmenu compatible"
EDIT: Oh, you're also in France!
et ouais :)
tarte en pion
November 1st, 2007, 10:12 AM
Thanks ! I in faict choose de Leopard Thème from Gnome-Look. It's not perfect, but looks nice. I'll have a look to improve the details later!
glw119
November 1st, 2007, 10:13 AM
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.php?attachmentid=47782)
2. Download the mac menu applet source.
(http://ubuntuforums.org/attachment.php?attachmentid=48014)
3. Install the necessary dependencies for compiling gtk
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
apt-get source libgtk2.0-0
4. Patch and compile GTK source
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.
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
killall gnome-panel
8. I'm using carbonit gtk theme (http://www.gnome-look.org/content/show.php/Carbonit+Suite+Reup?content=68567&PHPSESSID=d43d717b5837e4c627d48fe9b49f7a60)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"
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"
THX,the mac menubar works on my PC now!~ :)
But the file ,libgtk-x11-2.0.so.0.1200.0, is so large.
lrwxrwxrwx 1 root root 26 2007-11-01 16:21 libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.1200.0
-rw-r--r-- 1 root root 14997433 2007-11-01 15:55 libgtk-x11-2.0.so.0.1200.0
-rw-r--r-- 1 root root 4047248 2007-10-06 04:08 libgtk-x11-2.0.so.0.1200.0.backup
Xtopher_Robin
November 1st, 2007, 11:25 AM
Alright, I'm no programmer, but it would seem to me that a plugin could be written for Firefox and Thunderbird to show the menu in a way that MacMenu can detect, right? I just used the instructions here to install MacMenu and I'm loving it. I can't figure out how to change the background to a transparent PNG, but other than that (and the Firefox/Thunderbird bit), it's perfect! Thank you all for making what could have been a giant headache for a relative newbie go smoothly!
andrek
November 1st, 2007, 11:28 AM
Eh, seems like nobody sees my previous post..
Please tell me then, how can I stop my system from upgrading a modded gnome-panel package?
LavianoTS386
November 1st, 2007, 03:33 PM
^ I installed the 'update' and the patch still held.
LavianoTS386
November 1st, 2007, 03:33 PM
^ I installed the 'update' and the patch still held.
evil_core
November 1st, 2007, 05:00 PM
I applied rejected patches manually, and created new patch(attached) against gtk 2.12.1, but compilation fails:
gtkmenubar.c: In function 'gtk_menu_bar_class_init':
gtkmenubar.c:123: error: 'gtk_menu_bar_map' undeclared (first use in this function)
gtkmenubar.c:123: error: (Each undeclared identifier is reported only once
gtkmenubar.c:123: error: for each function it appears in.)
gtkmenubar.c: In function 'gtk_menu_bar_map':
gtkmenubar.c:331: warning: unused variable 'mbarstyle'
make[4]: *** [gtkmenubar.lo] Error 1
My patch has identical section with included files, and in previous patches this variable wasnt declared in patch, but in some other files. Im not sure, if error is caused, because API has changed, or new gcc is more restrictive.
--- EDIT ---
I successfully compiled gtk using this patch:
http://www.linuxsir.org/bbs/showthread.php?t=314682
I didnt tested it yet, because I am now preparing spec for macmenu-applet to build rpm for PLD.
--- EDIT ---
This patch from linuxsir is working.
But I have another problem (always I had it with macmenu). Window Selector Applet (not horizontal window panel, but window menu that sit in right corner by default in Gnome and MAcOSX) doesnt show on gnome-panel while using macmenu. W/o macmenu gtk patches it works w/o problems
mercurysquad
November 1st, 2007, 06:09 PM
I just did the same, ended up with a huge patch file because of vim's indentation. However, this compiled fine for me on ArchLinux (gtk 2.12.1). Hope this works for ubuntu too. The debs posted a couple pages back work for me on gutsy, so I have no particular need to compile myself.
However, on Arch every time I add the macmenu applet to the panel, it shows GNO... and then crashes. How do I see the stack trace or something to help debug it? The bug report file just contains some previous .xsession errors.
EDIT: Ok, after copying over the .server and gnome-macmenu-applet files from my ubuntu partition to arch, it works. Strange. I still would want the proper source though so that I can put it in the AUR.
Btw whoever wants it, in the attached archive, the gtkmenubar.patch is the patch against gtk 2.12.1
ayoli
November 2nd, 2007, 07:06 AM
I've got a problem. As you can see on a picture below, instead of 'GNOME' i get 'GNO...'. I get the same thing with firefox, which is showed as 'Firef...'.
Is there any possibility to fix it?
Also, how can i change that ugly deskbar-applet icon?
One more thing.. I've applied that 'no-arrow' patch which worked well, but.. as i tried to update/upgrade my system, it has updated gnome-panel.. So i'm back with that arrow.
Thanks.
Can't answer about the label question.
Now, to avoid upgrade problems with a patched package you make, you can do like this :
install apt-build (choose add apt-buil repo to sources.list when asked)
sudo apt-get install apt-build
then use apt-build to get the source package:
sudo apt-build source gnome-panel
then uncompress and copy the patch in the patch dir
gzip -d ~/99_no_arrows.patch.gz && sudo cp ~/99_no_arrows.patch /var/cache/apt-build/build/gnome-panel-2.20.1/debian/patches/
and add the name of the patch to /var/cache/apt-build/build/gnome-panel-2.20.1/debian/patches/series
Now you can build it with :
sudo apt-build install gnome-panel
After that an update for gnome-panel should be available (from your apt-build repo) install it.
aenima1891
November 2nd, 2007, 07:07 AM
i'm trying to install mac menu applet on ubuntu gutsy...but i've some problems.
my menu bar is like a mac menu bar, but it's not transparent...how can i do?
http://img502.imageshack.us/img502/998/schermatacs6.th.png (http://img502.imageshack.us/my.php?image=schermatacs6.png)
maybe there is this problem bacause i've not installed the patch 099_mac_menubar.patch?? i'm not able to install it
please help me
ayoli
November 2nd, 2007, 07:32 AM
i'm trying to install mac menu applet on ubuntu gutsy...but i've some problems.
my menu bar is like a mac menu bar, but it's not transparent...how can i do?
http://img502.imageshack.us/img502/998/schermatacs6.th.png (http://img502.imageshack.us/my.php?image=schermatacs6.png)
maybe there is this problem bacause i've not installed the patch 099_mac_menubar.patch?? i'm not able to install it
please help me
The menu is a widget and can't be set to transparent.
Try to add these lines to your gtkrc theme file (under ~/.themes/THEME_NAME/gtk-2.0/ or /usr/share/themes/THEME_NAME/gtk-2.0) :
style "theme-menubar"
{
xthickness = 0
ythickness = 0
#bg[NORMAL] = "#000000"
bg_pixmap[NORMAL] = "panel-bg.png"
fg[NORMAL] = "#000000"
fg[PRELIGHT] = "#000000"
fg[ACTIVE] = "#555555"
fg[SELECTED] = "#555555"
}
#panel stuff
style "panelbg"
{
xthickness = 0
ythickness = 0
bg_pixmap[NORMAL] = "panel-bg.png"
fg[NORMAL] = "#000000"
fg[PRELIGHT] = "#000000"
fg[ACTIVE] = "#555555"
fg[SELECTED] = "#555555"
}
class "GtkMenuBar" style "theme-menubar"
widget "*PanelApplet*" style "panelbg"
class "*notif*" style "panelbg"
class "*Notif*" style "panelbg"
class "*Tray*" style "panelbg"
class "*tray*" style "panelbg"
class "*Netstatus*" style "panelbg"
class "*netstatus*" style "panelbg"
class "*Deskbar*" style "panelbg"
class "*deskbar*" style "panelbg"
Use same panel-bg.png pattern as the one you use as panel background and place it in the same dir as the gtkrc file. Logout/login
Xtopher_Robin
November 2nd, 2007, 08:13 AM
Also, if you have Compiz Fusion installed, you can use the CompizConfig Settings Manager to make your entire dock transparent. Under General Options, go to Opacity Settings. Click Add and type "dock" (no quotations". Play with the transparency settings for your whole bar there. Make sure your bar itself matches the applet first or it'll still look weird. This is a relatively simple "hack" and won't get you any fancy .png background going (see post above for that) though.
andrek
November 2nd, 2007, 09:22 AM
Thanks Xtopher_Robin
However, it also changes opacity for avant-window-navigator.
Is there any way to keep its normal setting?
OK, figured it out.
instead of dock, type:
name=gnome-panel
Xtopher_Robin
November 2nd, 2007, 09:26 AM
Thanks Xtopher_Robin
However, it also changes opacity for avant-window-navigator.
Is there any way to keep its normal setting?
Not that I've found. My opacity setting is 30388. This gives me just enough transparency to the menu bar while not making AWN too transparent. You can see it in my screenshot:
andrek
November 2nd, 2007, 10:23 AM
And here's mine :)
You should take rid of those ugly underlines. There's a how-to in this thread.
ayoli
November 2nd, 2007, 10:27 AM
And here's mine :)
You should take rid of those ugly underlines. There's a how-to in this thread.
thats off topic, but what is the font in your terminal ?
andrek
November 2nd, 2007, 10:29 AM
Bauhaus, size 9
ayoli
November 2nd, 2007, 10:30 AM
Bauhaus, size 9
thanks mate :)
Xtopher_Robin
November 2nd, 2007, 10:47 AM
And here's mine :)
You should take rid of those ugly underlines. There's a how-to in this thread.
Gotta shortcut to the hack? Not sure I want to dig through 100+ pages; I went back to page 90 through here, but didn't see it! Do you know roughly around what page that was covered on?
andrek
November 2nd, 2007, 10:54 AM
Latest post on 52 page http://ubuntuforums.org/showthread.php?t=241868&page=52
and oh, 'make' process took about 30 min of my life :)
Xtopher_Robin
November 2nd, 2007, 11:41 AM
Latest post on 52 page http://ubuntuforums.org/showthread.php?t=241868&page=52
and oh, 'make' process took about 30 min of my life :)
Phew! 'make' DID take forever! Thank you though! Got rid of those nasty underlines! Now, if only someone would make some Firefox/Thunderbird plugins so the menu output can be read by MacMenu...
andrek
November 2nd, 2007, 11:49 AM
I'd appreciate it if you could send me your apple logo button.. It looks better than mine :)
And oh, why don't you add 'Mac Menu' applet to your panel? [ the thingy that shows application's name ]
edit:
Thanks.
Xtopher_Robin
November 2nd, 2007, 11:53 AM
I'd appreciate it if you could send me your apple logo button.. It looks better than mine :)
And oh, why don't you add 'Mac Menu' applet to your panel? [ the thingy that shows application's name ]
I removed the application name because it was non-functional to me. Without the actual menu options being displayed, "Firefox" or "Thunderbird" alone wasn't doing it for me. lol
And here's the icon I made:
nicolas2b
November 2nd, 2007, 12:57 PM
Not that I've found. My opacity setting is 30388. This gives me just enough transparency to the menu bar while not making AWN too transparent. You can see it in my screenshot:
Please, what is your GTK theme or Metacity, or Emerald ?
It's very nice :)
EDIT : Ok, I found it : Mac4Lin
But what is your font in the gnome panel, and can you send me the bauhaus font please ? (web [DOT] nicolas2b [AT] g mail [DOT] c om)
Xtopher_Robin
November 2nd, 2007, 01:34 PM
Please, what is your GTK theme or Metacity, or Emerald ?
It's very nice :)
EDIT : Ok, I found it : Mac4Lin
But what is your font in the gnome panel, and can you send me the bauhaus font please ? (web [DOT] nicolas2b [AT] g mail [DOT] c om)
The font I am using in my Gnome Panel is Aquabase. As for Bauhaus, you'll have to get that from andrek.
And yes, it's the Mac4Lin suite.
andrek
November 2nd, 2007, 01:55 PM
You can download bauhaus font from there - http://www.speedyshare.com/848586813.html
edit:
Oh yeah, no problem dude :) Rock on!
nicolas2b
November 2nd, 2007, 02:16 PM
Thanks to you : Xtopher_Robin and andrek :D
Xtopher_Robin
November 2nd, 2007, 02:23 PM
Thanks to you : Xtopher_Robin and andrek :D
Not a problem!
2cute4u
November 2nd, 2007, 04:31 PM
Its very hard to follow all the changes and updates in this thread.
Is there a wiki HOWTO in this anywhere?
There should be a place to get detailed info, that can be updated as needed without having to wade through old info/questions/discussion etc.
Also It would be great if somone could create a .deb package that can be simply installed
Kalli
November 2nd, 2007, 07:30 PM
Its very hard to follow all the changes and updates in this thread.
Is there a wiki HOWTO in this anywhere?
There should be a place to get detailed info, that can be updated as needed without having to wade through old info/questions/discussion etc.
Also It would be great if somone could create a .deb package that can be simply installed
I agree :(
LavianoTS386
November 2nd, 2007, 07:58 PM
Go to page 97.
And I agree. threads longer than 100 pages should be purged.
mangar
November 3rd, 2007, 05:55 AM
I've made a quick and dirty wiki page:
https://wiki.ubuntu.com/global_menu
feel free to move edit it.
male81
November 3rd, 2007, 07:54 AM
Thanks Xtopher_Robin
However, it also changes opacity for avant-window-navigator.
Is there any way to keep its normal setting?
OK, figured it out.
instead of dock, type:
name=gnome-panel
I use "(dock) & !(class=Avant-window-navigator)" with Compiz.
I saw that you were able to eliminate, as in the previous editions, underscores.
I installed everything just laid out (a couple of weeks ago, more or less) and there was still this "patch".
Someone can take back as the emphasis?
Thanks!
ayoli
November 3rd, 2007, 09:44 AM
I've made a quick and dirty wiki page:
https://wiki.ubuntu.com/global_menu
feel free to move edit it.
Hey, good idea , I do a little of formatting and add a second method to install this :)
CupofDice
November 3rd, 2007, 10:21 AM
Can someone add a 64bit version to the wiki. I tried lxevolution's method (pg 102), but that didn't work. Gonna try it again.
ayoli
November 3rd, 2007, 10:32 AM
Can you tell where you have a problem ?
I can add lxevolution's solution to compile the applet (which is the only thing that is not described in the wiki page) instruction to patch gtk should work for both 32 and 64 bits
Edit: Instructions to compile the applet added to the Wiki Page (https://wiki.ubuntu.com/global_menu)
CupofDice
November 3rd, 2007, 10:38 AM
I compiling the gtk source right now. If I remember correctly (because I also tried another way) lxevolution's way added the mac applet, but the applet didn't work. It only showed the name of the focused program. The other way (avb pg 97) I couldn't do all of it because of the i386 deb, but I think that was the one where I had the detached menu, but it wasn't part of the panel, and also got rid of the top window bars of my programs.
gnuts
November 3rd, 2007, 10:49 AM
i've followed most of what i could out of this thread, and now have the upper left corner with my name, and for most programs the file menu, I have downloaded the imetal theme, but can't install it with preferences --> appearance, and have no lower bar like most of the beautiful screen shots posted. any thoughts? (gutsy 64 bit)
Thanks for all the work you all are putting into this!
Xtopher_Robin
November 3rd, 2007, 10:58 AM
i've followed most of what i could out of this thread, and now have the upper left corner with my name, and for most programs the file menu, I have downloaded the imetal theme, but can't install it with preferences --> appearance, and have no lower bar like most of the beautiful screen shots posted. any thoughts? (gutsy 64 bit)
Thanks for all the work you all are putting into this!
I can't speak for the iMetal theme pack (as I haven't used it), but for the lower dock, I use Avant Window Manager with the theme for it pulled from the Mac4Lin theme pack.
CupofDice
November 3rd, 2007, 11:07 AM
I got it working.:)
http://img80.imageshack.us/img80/5511/completedyb2.th.png (http://img80.imageshack.us/my.php?image=completedyb2.png)
ayoli
November 3rd, 2007, 11:59 AM
i've followed most of what i could out of this thread, and now have the upper left corner with my name, and for most programs the file menu, I have downloaded the imetal theme, but can't install it with preferences --> appearance, and have no lower bar like most of the beautiful screen shots posted. any thoughts? (gutsy 64 bit)
Thanks for all the work you all are putting into this!
if you see the menu detached of the window, that means you have successfully patched gtk but you don't use the macmenu applet.
I you haven't already installed it there is a deb for 32bits on this page (http://ubuntuforums.org/showthread.php?t=241868&page=97#966) or get the source and compile it (if you use a 64bits distro) (page 101). After that add the applet to your top-panel.
The imetal pack contains not only one theme and there is instructions to install in the package and on the gnome-look.org page of the theme.
lxevolution
November 3rd, 2007, 12:57 PM
I built a amd64 macmenu deb package. I don't know if it's going to work, but feel free to experiment.
andrek
November 3rd, 2007, 01:22 PM
Anyway, you've got to rebuild and patch gtk by yourself.
2cute4u
November 3rd, 2007, 03:51 PM
Hey, good idea , I do a little of formatting and add a second method to install this :)
Your second method still involves some reinventing the wheel. Obviously you've already built a deb for the patch, so why not upload it, and modify the wiki to show using your deb
ayoli
November 3rd, 2007, 05:00 PM
Your second method still involves some reinventing the wheel. Obviously you've already built a deb for the patch, so why not upload it, and modify the wiki to show using your deb
well, I can surely post my debs, but I guess that update-manager will want to update your libgtk after, I gave this method because it makes a clean libgtk with all the patches integrated by the ubuntu dev team and it prevent update manager to update it.
edit: I also think taht the patch will survive to the minor gtk update in the gusty future (and maybe also in hardy heron) but packages posted on the wiki will not because there isn't maintainer for that.
edit again: here are the deb.
USE THEM AT YOUR OWN RISK, DO NOT ASK FOR UPGRADES OR SUPPORT
http://ayozone.org/2007/10/31/macmenu-bar-hack-for-gnome-220-gtk-212/
2cute4u
November 3rd, 2007, 06:20 PM
well, I can surely post my debs, but I guess that update-manager will want to update your libgtk after, I gave this method because it makes a clean libgtk with all the patches integrated by the ubuntu dev team and it prevent update manager to update it.
edit: I also think taht the patch will survive to the minor gtk update in the gusty future (and maybe also in hardy heron) but packages posted on the wiki will not because there isn't maintainer for that.
edit again: here are the deb.
USE THEM AT YOUR OWN RISK, DO NOT ASK FOR UPGRADES OR SUPPORT
http://ayozone.org/2007/10/31/macmenu-bar-hack-for-gnome-220-gtk-212/
I didn't realize that the update manager would overwrite them. so I guess using a prebuit patch could be a problem. But how is this avoided if we build or own debs?
LavianoTS386
November 3rd, 2007, 07:59 PM
I installed the update anyway on gutsy 32-bit and it didn't change the patch; the arrows are still gone.
mangar
November 4th, 2007, 04:00 PM
IMHO,
In order to provide cross-toolkit global menu support, there should be some kind of menu spec:
Proposition, pseudo C (very preliminary, just to get things started):
struct FDOglobalMenuNode
{
g_string name; //root node will be appname
g_string description; //application description?
g_string iconName;
e_keyboardEnum shortcutKey; //default Alt-F1?
g_globalMenuNodeExtender* extras;
g_globalMenu* childNodes; //submenu
};
struct FDOglobalMenuNodeExtender
{
g_extendAbleType extraAbility; //for example, a ticker
e_relativePosition positionInRelationToText;
};
The implicit assumption is that the application publishes the menu structure, and if there's a DE handle for the struct, it handles the menu, otherwise, the handling fall back to the toolkit.
avlex
November 4th, 2007, 04:31 PM
I installed the update anyway on gutsy 32-bit and it didn't change the patch; the arrows are still gone.
Update manager will only try to update packages, if a more recent version is available. So if you got a patched libgtk2.0-0_2.12.0-1ubuntu3.1 and f.e. libgtk2.0-0_2.12.0-1ubuntu4 is available on the ubuntu repos, the update manager will replace it. You need to either pin it or someone needs to maintain a repos for it, always keeping the packages one digit above the official ubuntu releases.
The wiki page itself is a good idea by the way, but i would recommend to describe only one way to compile and install that really works, because otherwise users run the risk of messing up their systems, especially if you mix building debs with a configure/make/make install approach and one of them fails.
Besides that, i would strongly recommend removing or replacing the screen shot with one that does not show anything connecting it to Mac OS X. This puts Ubuntu itself at risk and we wouldnt want that. So since its the official site, maybe the official themes should be used, anything else would be ok too though. Some name changes for the applet and patches might be in order too, but i guess we should wait for AqD to do that.
And finally, could someone who is more experienced than me please try and wrap the applet into an autoconf package, maybe with a deebian tree that builds seperate packages for the gnome applet, xfce plugin and maybe even the corner plugin? I tried but only got a make tree working and had to split the applet code, which shouldnt be necessary from what ive seen in other debian source trees. I attached the two source trees, I used for my packages (the xfce one builds the corner plugin as well), so maybe someone could be so kind as to finally provide a proper build system.
For people who simply want to use one of the two archives to build debs:mkdir ~/macmenu download the package you want to use into the macmenu directory in your home directory and:cd ~/macmenuFor the gnome applet:
tar -xvzf gnome-macmenu-applet-1.0.11.tar.gz
cd gnome-macmenu-applet-1.0.11For the xfce plugin:
tar -xvzf xfce4-macmenu-plugin-1.0.11.tar.gz
cd xfce4-macmenu-plugin-1.0.11
And build and install it with:debuild
sudo dpkg -i ../*.deb
ayoli
November 4th, 2007, 04:50 PM
Update manager will only try to update packages, if a more recent version is available. So if you got a patched libgtk2.0-0_2.12.0-1ubuntu3.1 and f.e. libgtk2.0-0_2.12.0-1ubuntu4 is available on the ubuntu repos, the update manager will replace it. You need to either pin it or someone needs to maintain a repos for it, always keeping the packages one digit above the official ubuntu releases.
The wiki page itself is a good idea by the way, but i would recommend to describe only one way to compile and install that really works, because otherwise users run the risk of messing up their systems, especially if you mix building debs with a configure/make/make install approach and one of them fails.
Besides that, i would strongly recommend removing or replacing the screen shot with one that does not show anything connecting it to Mac OS X. This puts Ubuntu itself at risk and we wouldnt want that, so since its the official site, maybe the official themes should be used, anything else would be ok too though.
And finally, could someone who is more experienced than me please try and wrap the applet into an autoconf package, maybe with a deebian tree that builds seperate packages for the gnome applet, xfce plugin and maybe even the corner plugin? I tried but only got a make tree working and had to split the applet code, which shouldnt be necessary from what ive seen in other debian source trees. I attached the two source trees, I used for my packages (the xfce one builds the corner plugin as well), so maybe someone could be so kind as to finally provide a proper build system.
About the update problem: with a same version number update manager will prefer your apt-build repos version first , then if not present the distro repos (experimented in the past. I built a deb with apt-build on my laptop, installed it on a workstation and just after updater manager wanted to update it to the original version).
About the wiki and install method, I put the second method because it keeps all the patches added by ubuntu/debian. But I agree that it can be confusing to have multiple method.
No idea for the last point, sorry.
baballin328
November 4th, 2007, 05:48 PM
Hi I am new to these forums and I am trying to install this mac-style menu bar because I am trying to make Ubuntu look like OSX. I had many difficulties trying to install this. I've included 2 screenshots showing you what I've done. Is there a way to fix this? Or did I completely mess up?
Thanks (sorry for being such a dumbass:))
O btw I've done the sudo apt-get -f install command but it says: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/gtk2-engines-pixbuf_2.12.0-1ubuntu3_i386.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Xtopher_Robin
November 4th, 2007, 07:18 PM
IMHO,
In order to provide cross-toolkit global menu support, there should be some kind of menu spec:
Proposition, pseudo C (very preliminary, just to get things started):
struct FDOglobalMenuNode
{
g_string name; //root node will be appname
g_string description; //application description?
g_string iconName;
e_keyboardEnum shortcutKey; //default Alt-F1?
g_globalMenuNodeExtender* extras;
g_globalMenu* childNodes; //submenu
};
struct FDOglobalMenuNodeExtender
{
g_extendAbleType extraAbility; //for example, a ticker
e_relativePosition positionInRelationToText;
};
The implicit assumption is that the application publishes the menu structure, and if there's a DE handle for the struct, it handles the menu, otherwise, the handling fall back to the toolkit.
Alright, as I'm pretty much a newbie to all this (hey, I've gotten all this patched and this far though!), would this cover the issues with Firefox, Thunderbird, OpenOffice, etc? I think that's what I'm reading... If so, I'm behind that 100%, or as much as I can be with having next to no idea what the code is! lol
mangar
November 4th, 2007, 07:55 PM
@Xtopher_Robin
it's just a sketch for FreeDesktop.org specification for handling a global menu; It's not real code, and it's posted here for further discussion.
If there will be a standard, and if all the toolkits will adopt it (wxWidgets, QT, gtk+, XUL, Uno (ooo's toolkit, i think), tcl/tk, lesstif, java, whatever), then the interoperability problems will be solved (trivially).
@ayoli:
if you find a method that works, or want to clear up the wiki, you're welcome...
DoubleClicker
November 4th, 2007, 10:47 PM
I see a very significant problem with this patch. Namely it doesn't work as advertised. Instead of creating a true, mac style global menu bar, all it does is move the windowed menubar out of the window and put it in the panel.
A true global menu bar like in mac os X is not owned by any window and therefore does not change by selecting any other window belonging to the application. in its current implementation the menus are owned by windows, and therefore regardless of whether they are physically in the window or moved to the top panel, they are still windowed menubars that reclect the currently selected window and not the application as a whole. the places I've found where thisa is most noticable is with nautilus where the menubar disapears when you click on the desktop; in gimp where you get figferent meubar when you select a tool from the pallete; and with menuless applications
where the menubar is blank.
For this patch to truly be of functional value, the following things would be needed:
1) When no application has a window with focus, the Nautilus menubar should be showing.
2) If the application who's window has focus, does not have a menubar in any window, whe nautilus meubar should be showing.
3) If an application has multiple windows, the menubars should only change by performing an action defined by the application, and should not change by selecting a different windows belonging to the same application.
4) When closing a window, the menubar should remain and the focus should be given to the next window of that application.
5) If the last window of an application is closed, but not explicitly quit. the menubar should remain untill and focus given to the menubar itself, until another application is selected and given focus.
Of course all of this is a departure from the very philosopy of XWindows, where applications belong to windows, instead of windows belonging to applications as it is on the Mac. Global menbars only make sense if the latter is true.
Frak
November 4th, 2007, 10:53 PM
Gripe to the Gnome devs, not us. We can't do anything about it.
Xtopher_Robin
November 4th, 2007, 11:31 PM
I see a very significant problem with this patch. Namely it doesn't work as advertised. Instead of creating a true, mac style global menu bar, all it does is move the windowed menubar out of the window and put it in the panel.
A true global menu bar like in mac os X is not owned by any window and therefore does not change by selecting any other window belonging to the application. in its current implementation the menus are owned by windows, and therefore regardless of whether they are physically in the window or moved to the top panel, they are still windowed menubars that reclect the currently selected window and not the application as a whole. the places I've found where thisa is most noticable is with nautilus where the menubar disapears when you click on the desktop; in gimp where you get figferent meubar when you select a tool from the pallete; and with menuless applications
where the menubar is blank.
For this patch to truly be of functional value, the following things would be needed:
1) When no application has a window with focus, the Nautilus menubar should be showing.
2) If the application who's window has focus, does not have a menubar in any window, whe nautilus meubar should be showing.
3) If an application has multiple windows, the menubars should only change by performing an action defined by the application, and should not change by selecting a different windows belonging to the same application.
4) When closing a window, the menubar should remain and the focus should be given to the next window of that application.
5) If the last window of an application is closed, but not explicitly quit. the menubar should remain untill and focus given to the menubar itself, until another application is selected and given focus.
Of course all of this is a departure from the very philosopy of XWindows, where applications belong to windows, instead of windows belonging to applications as it is on the Mac. Global menbars only make sense if the latter is true.
It never claimed to be a perfect analogue for Mac OS X's menu system, only Mac-like. No matter how you look at it, it's a lot closer than without it. I for one am very happy with it, and I'm also a Mac user. I just wish a few more programs worked with it (Firefox, Thunderbird, OpenOffice), but other than that, I have no gripes. And those would need output plugins to achieve that. It can't use a unified menu system because Gnome isn't set up that way. It's not the fault of the applet that it is fed information a certain way.
ayoli
November 5th, 2007, 04:36 AM
I think it's more a GTK bug than a gnome bug. The menu bar have to be reimplemented in the toolkit to be global and handled by the toolkit only if the used DE isn't capable to handle it.
Btw, gtk devs aren't open to this apparently (see discuss in AdQ bug (http://bugzilla.gnome.org/show_bug.cgi?id=353076))
avlex
November 5th, 2007, 12:56 PM
I see a very significant problem with this patch. Namely it doesn't work as advertised. Instead of creating a true, mac style global menu bar, all it does is move the windowed menubar out of the window and put it in the panel.
A true global menu bar like in mac os X is not owned by any window and therefore does not change by selecting any other window belonging to the application. in its current implementation the menus are owned by windows, and therefore regardless of whether they are physically in the window or moved to the top panel, they are still windowed menubars that reclect the currently selected window and not the application as a whole. the places I've found where thisa is most noticable is with nautilus where the menubar disapears when you click on the desktop; in gimp where you get figferent meubar when you select a tool from the pallete; and with menuless applications
where the menubar is blank.
For this patch to truly be of functional value, the following things would be needed:
1) When no application has a window with focus, the Nautilus menubar should be showing.
2) If the application who's window has focus, does not have a menubar in any window, whe nautilus meubar should be showing.
3) If an application has multiple windows, the menubars should only change by performing an action defined by the application, and should not change by selecting a different windows belonging to the same application.
4) When closing a window, the menubar should remain and the focus should be given to the next window of that application.
5) If the last window of an application is closed, but not explicitly quit. the menubar should remain untill and focus given to the menubar itself, until another application is selected and given focus.
Of course all of this is a departure from the very philosopy of XWindows, where applications belong to windows, instead of windows belonging to applications as it is on the Mac. Global menbars only make sense if the latter is true.
Oh dear, I think youre totally missing the point here. This patch is NOT ment to change the way the whole linux system acts and transform it into Mac OS X, it only moves the menubar to a place where you have space to spare, giving you more room on your desktop and accelerating access to the menu on small to medium size screens. What you want is simply impossible, because you would have to patch every existing X11 application, so you can either do that or simply buy a Mac! For linux mimicing a Macs behavior completely is impossible (and not advisable, since even OSX has its limitations), but it can mimic some practical aspects and the looks.
Now for your ideas:
1) Why exactly should there be the nautilus menu? Because the Finder menu is shown in that situation on a mac? If you ask me, thats not a good reason, because I dont want to manage files when I have no applications open! I want to start applications or manage my system configuration. In OSX, Finder is used for starting apps, so it is reasonable, but not perfect to have its menu as a default, so in gnome for example a better choice would be something like that gnome menu applet (the one with applications, places and system), I think. But I agree, a default menu would be nice, maybe by giving the nautilus desktop a hidden menu or something.
2) Again, why the heck the nautilus menu and why not look for a main window first? This might need some minor changes to gtk, but it should be possible.
3,4) Like I said earlier, this would mean changing every X11 or GTK application. Besides that, applications can have different menus, so it should change with the focus, IF the newly focused window has a menu.
5) This is simply impossible, since there is no menu without a window and its useless, because the menus are adjusted to fit the window content. And besides, it would make opening and closing apps a real pain, because you would have apps that only have a menu instance and no window, how in the world will you switch to those... and how do you suppose this should work for people who dont want the global menu? They would have a window with only a menu in it open for every app?
There is more than one concept where the menu bar makes sense and it would be nice to have it better integrated but you cant turn linux into a simple copy of a mac, because thats not what it should or will be (compropises and inovation are necessary to make the desktop better).
And besides that, its rather pointless to discuss something that abstract at this point, since the patches dont even have a maintainer! A team would be needed to keep this alive and develop it further, and until that is formed, there will be no changes in the behavior of the menu anyway. I would like to help with some things and I have some ideas on how it could work, but I'm not experienced enough to do it on my own, so until some people get together and do other things than documenting, and "emergancy patches", I think there is not much to expect from this, other than what is already available.
baballin328
November 5th, 2007, 07:20 PM
Can anyone help me with my problem?
ayoli
November 5th, 2007, 07:30 PM
Hi I am new to these forums and I am trying to install this mac-style menu bar because I am trying to make Ubuntu look like OSX. I had many difficulties trying to install this. I've included 2 screenshots showing you what I've done. Is there a way to fix this? Or did I completely mess up?
Thanks (sorry for being such a dumbass:))
O btw I've done the sudo apt-get -f install command but it says: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/gtk2-engines-pixbuf_2.12.0-1ubuntu3_i386.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
It seems that you have successfully patched gtk but you didn't install the macmenu applet (or didn't add it to your top panel)
see page 96 or 97 for a macmanu-applet deb.
About your apt problem try to change the source location (menu system > administration > software sources, then on the first tab choose another location/server)
Sometimes (depending of the macmenu install methiod) update manager could update you patched gtk with the ubuntu orignal one.
In this case try the second method on the wiki page (https://wiki.ubuntu.com/global_menu)
avlex
November 6th, 2007, 12:58 AM
Seems like I was dreaming a little much the past few hours, especially about better support for mac-style menus in x11 app.
I attached the results and I am open for discussion, but please go easy on me, because I dont really know the first thing about how gtk works or the communication between x11 windows and its been 2 years since I last used C for programming (except for that dirty little arrow patch) and Ive been spoiled by python ever since. And no, I cant code this, not alone anyway.
If anyone has suggestions, either write them here or send me a patch :) .
[Edit]: Oh and I dont know anything about dev drafts either, so dont expect too much :) .
baballin328
November 6th, 2007, 01:52 AM
It seems that you have successfully patched gtk but you didn't install the macmenu applet (or didn't add it to your top panel)
see page 96 or 97 for a macmanu-applet deb.
About your apt problem try to change the source location (menu system > administration > software sources, then on the first tab choose another location/server)
Sometimes (depending of the macmenu install methiod) update manager could update you patched gtk with the ubuntu orignal one.
In this case try the second method on the wiki page (https://wiki.ubuntu.com/global_menu)
I tried changing the server/location but it still won't work. I tried upgrading the packages in synaptic, but I get an error message. I also included a pic of the packages.
avlex
November 6th, 2007, 03:39 AM
I tried changing the server/location but it still won't work. I tried upgrading the packages in synaptic, but I get an error message. I also included a pic of the packages.
Try:sudo apt-get update
This should fix the size problem.
For the detached menu, you simply have to right click on the gnome panel, select "Add To Panel", search and select "Mac Menu" in the newly opened window and click add. The menu only works if ADD the applet to your panel, simply installing it is not the solution :) .
baballin328
November 6th, 2007, 07:11 PM
Try:sudo apt-get update
This should fix the size problem.
For the detached menu, you simply have to right click on the gnome panel, select "Add To Panel", search and select "Mac Menu" in the newly opened window and click add. The menu only works if ADD the applet to your panel, simply installing it is not the solution :) .
sudo apt-get update still didn't solve the problem. And when I try to add it to the panel, it says:
The panel encountered a problem while loading "OAFIID:GNOME_MacMenuApplet".
Do you want to delete the applet from your configuration?
ayoli
November 6th, 2007, 07:13 PM
sudo apt-get update still didn't solve the problem. And when I try to add it to the panel, it says:
The panel encountered a problem while loading "OAFIID:GNOME_MacMenuApplet".
Do you want to delete the applet from your configuration?
how did you patch gtk ?
what applet package did you install ?
what is your distro ?
is it 64bits ?
Frak
November 6th, 2007, 08:45 PM
Try
sudo apt-get reinstall libgtk --force-yes
baballin328
November 6th, 2007, 10:13 PM
how did you patch gtk ?
what applet package did you install ?
what is your distro ?
is it 64bits ?
I followed the instructions on this page: http://ayozone.org/2007/10/31/macmenu-bar-hack-for-gnome-220-gtk-212/
I am using Ubuntu 7.10 32 bit
Try
sudo apt-get reinstall libgtk --force-yes
This command does not work:
daniel@daniel-desktop:~$ sudo apt-get reinstall libgtk --force-yes
[sudo] password for daniel:
E: Invalid operation reinstall
Frak
November 6th, 2007, 10:26 PM
I followed the instructions on this page: http://ayozone.org/2007/10/31/macmenu-bar-hack-for-gnome-220-gtk-212/
I am using Ubuntu 7.10 32 bit
This command does not work:
daniel@daniel-desktop:~$ sudo apt-get reinstall libgtk --force-yes
[sudo] password for daniel:
E: Invalid operation reinstall
sudo apt-get remove libgtk --force-yes && sudo apt-get clean && sudo aptitutde install libgtk
baballin328
November 7th, 2007, 12:15 AM
sudo apt-get remove libgtk --force-yes && sudo apt-get clean && sudo aptitutde install libgtk
Those don't work either. It said libgtk wasn't a package, so I entered libgtk2.0-0 and it still didn't work. So I went to your other steps, finished those and it still came up with errors.
Get:1 http://ftp.usf.edu gutsy/main gtk2-engines-pixbuf 2.12.0-1ubuntu3 [123kB]
Fetched 123kB in 0s (129kB/s)
E: Failed to fetch http://ftp.usf.edu/pub/ubuntu/pool/main/g/gtk+2.0/gtk2-engines-pixbuf_2.12.0-1ubuntu3_i386.deb: Size mismatch
E: Unable to correct for unavailable packages
Frak
November 7th, 2007, 12:19 AM
Those don't work either. It said libgtk wasn't a package, so I entered libgtk2.0-0 and it still didn't work. So I went to your other steps, finished those and it still came up with errors.
Get:1 http://ftp.usf.edu gutsy/main gtk2-engines-pixbuf 2.12.0-1ubuntu3 [123kB]
Fetched 123kB in 0s (129kB/s)
E: Failed to fetch http://ftp.usf.edu/pub/ubuntu/pool/main/g/gtk+2.0/gtk2-engines-pixbuf_2.12.0-1ubuntu3_i386.deb: Size mismatch
E: Unable to correct for unavailable packages
My mistake
sudo apt-get install libgtk --force-yes
baballin328
November 7th, 2007, 12:38 AM
My mistake
sudo apt-get install libgtk --force-yes
daniel@daniel-desktop:~$ sudo apt-get install libgtk --force-yes
[sudo] password for daniel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libgtk
daniel@daniel-desktop:~$
daniel@daniel-desktop:~$ sudo apt-get install libgtk2.0-0 --force-yes
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
gtk2-engines-pixbuf: Depends: libpango1.0-0 (>= 1.18.3) but 1.18.2-0ubuntu1 is to be installed
gtk2.0-examples: Depends: libpango1.0-0 (>= 1.18.3) but 1.18.2-0ubuntu1 is to be installed
libgtk-directfb-2.0-0: Depends: libpango1.0-0 (>= 1.18.3) but 1.18.2-0ubuntu1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Frak
November 7th, 2007, 12:45 AM
sudo apt-get -f install
baballin328
November 7th, 2007, 01:07 AM
sudo apt-get -f install
Yeah lol I've done that command many times and it still comes up with the error that there is a size mismatch.
herrma29
November 7th, 2007, 03:42 AM
I got it installed and running, but I seem to be having a problem with firefox. It won't show the menu on the applet. I am running it on gutsy.
ayoli
November 7th, 2007, 05:23 AM
Yeah lol I've done that command many times and it still comes up with the error that there is a size mismatch.
sudo apt-get install --reinstall libgtk2.0-0
ayoli
November 7th, 2007, 05:50 AM
I got it installed and running, but I seem to be having a problem with firefox. It won't show the menu on the applet. I am running it on gutsy.
It doesn't work with firefox since firefox emulate gtk
avlex
November 7th, 2007, 07:19 AM
Since I didnt get a single reply to my ideas before:
In this post (http://ubuntuforums.org/showpost.php?p=3714712&postcount=1087), I attached something that could evolve into an FDO draft and maybe even an example implementation, but I cant and dont intend to do that on my own.
I hope at least some people will join the discussion, so tell me if its complete crap or what needs work, useability ideas, whatever.
herrma29
November 7th, 2007, 09:53 AM
It doesn't work with firefox since firefox emulate gtk
Are there any other programs that won't work with it? Right now GIMP doesn't work either. I haven't checked all of them yet, but it would be nice to know.
EDIT: It was working fine for several programs until I tried to follow the instructions here: http://ayozone.org/2007/10/31/macmenu-bar-hack-for-gnome-220-gtk-212/
Now, the name of the app shows up, but the menus are still on the app window. Any clue how to get it back to where it was?
ayoli
November 7th, 2007, 01:04 PM
Are there any other programs that won't work with it? Right now GIMP doesn't work either. I haven't checked all of them yet, but it would be nice to know.
EDIT: It was working fine for several programs until I tried to follow the instructions here: http://ayozone.org/2007/10/31/macmenu-bar-hack-for-gnome-220-gtk-212/
Now, the name of the app shows up, but the menus are still on the app window. Any clue how to get it back to where it was?
I don't understant why did you fellow this how to when your mac menu was working ?
Your description means your libgtk isn't patched anymore.
This howto has worked for me and some people on gusty 32bits without problems.
what's your distro ? did you use my packages or just fellowed the howto ? did you have an update at the end from a non trusted repos for libgtk ?
Tiger658
November 7th, 2007, 02:42 PM
Hi, I'm new to this forum, and I can't find anything, could someone please summarize how to get the mac menu bar, I've tried many things, and none of them worked, I am running gutsy, so if someone can help, it would be greatly appreciated.
herrma29
November 7th, 2007, 06:14 PM
I don't understant why did you fellow this how to when your mac menu was working ?
Your description means your libgtk isn't patched anymore.
This howto has worked for me and some people on gusty 32bits without problems.
what's your distro ? did you use my packages or just fellowed the howto ? did you have an update at the end from a non trusted repos for libgtk ?
I had originally thought that more programs were supposed to work than had been working, which is why I tried to use the method on that site to add the patch to libgtk. I just followed some of the directions on the wiki page with no results as well. I still have the app name in the bar, but all the menus are in the app window.
I am running this on gutsy. Is there any way to uninstall the program and restore libgtk to before the patch in order to try again?
I believe I did have an update after following those instructions for libgtk.
ayoli
November 7th, 2007, 06:42 PM
uninstalling can be done with :
sudo apt-get install --reinstall -y libgtk2.0-0
baballin328
November 7th, 2007, 10:22 PM
sudo apt-get install --reinstall libgtk2.0-0
UGH! This is getting annoying! It STILL says that there are:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
2cute4u
November 7th, 2007, 10:57 PM
Ok the wiki page (https://wiki.ubuntu.com/global_menu) is a little confusing at the end. What are all of these packages, and which do we use where? :confused:
latests patches/sources/packages (needs urgent attention): Mac menu applet: https://wiki.ubuntu.com/htdocs/ubuntu/img/u-www.png http://ubuntuforums.org/attachment.php?attachmentid=47781&d=1193338299 (http://ubuntuforums.org/attachment.php?attachmentid=47781&d=1193338299)
1 Mac menu applet deb package (gusty gibbon 32bits): https://wiki.ubuntu.com/htdocs/ubuntu/img/u-www.png http://ubuntuforums.org/attachment.php?attachmentid=47899&d=1193414016 (http://ubuntuforums.org/attachment.php?attachmentid=47899&d=1193414016)
gtkMenuBar Patch: https://wiki.ubuntu.com/htdocs/ubuntu/img/u-www.png http://ubuntuforums.org/attachment.php?attachmentid=47782&d=1193338357 (http://ubuntuforums.org/attachment.php?attachmentid=47782&d=1193338357)
2 or 099_mac_menubar.patch.gz: https://wiki.ubuntu.com/htdocs/ubuntu/img/u-www.png http://ubuntuforums.org/attachment.php?attachmentid=48015&d=1193500579 (http://ubuntuforums.org/attachment.php?attachmentid=48015&d=1193500579)
gtk2MenuPatch:
https://wiki.ubuntu.com/htdocs/ubuntu/img/u-www.png http://ubuntuforums.org/attachment.php?attachmentid=48733&d=1193950276 (http://ubuntuforums.org/attachment.php?attachmentid=48733&d=1193950276)
Patch against 2.12.1 (removing annoying underlines):
https://wiki.ubuntu.com/htdocs/ubuntu/img/u-www.png http://ubuntuforums.org/attachment.php?attachmentid=48738&d=1193954936 (http://ubuntuforums.org/attachment.php?attachmentid=48738&d=1193954936)
.conkyrc:
https://wiki.ubuntu.com/htdocs/ubuntu/img/u-www.png http://ubuntuforums.org/attachment.php?attachmentid=48019&d=1193501364 (http://ubuntuforums.org/attachment.php?attachmentid=48019&d=1193501364)
ayoli
November 8th, 2007, 05:12 AM
Ok the wiki page (https://wiki.ubuntu.com/global_menu) is a little confusing at the end. What are all of these packages, and which do we use where? :confused:
the links with a 1 and a 2 are the files that I've used for the second method the others was posted by mangar.
this should be clarified sometime, I 'll do this later.
duriankia
November 8th, 2007, 08:33 AM
Currently after adding the bar I currently see it as a grey bar on my panel, is there a way to make it look like the rest of my panel?
ayoli
November 8th, 2007, 11:21 AM
Currently after adding the bar I currently see it as a grey bar on my panel, is there a way to make it look like the rest of my panel?
use an appropriate gtk theme (ie mac4lin, imetal,.. take a look at gnome look.org)
baballin328
November 8th, 2007, 08:34 PM
Is there a way to remove the stupid package with the size mismatch manually? I want to reinstall the macapplet, but with this size mismatch, its not lettting me install any packages..:(
Frak
November 8th, 2007, 08:37 PM
sudo dpkg -r libgtk*
baballin328
November 8th, 2007, 10:38 PM
sudo dpkg -r libgtk*
I removed the libgtk-directfb-2.0-0 package, but couldn't remove the libgtk2.0-0 package because it said it wasn't installed. Is there a way to remove that stupid package from a list or something, so it doesn't try to update it?
2cute4u
November 9th, 2007, 12:42 AM
the links with a 1 and a 2 are the files that I've used for the second method the others was posted by mangar.
this should be clarified sometime, I 'll do this later.
Yeah those are the ones I used, but I want to get rid of the underlines under letters in the menubar. there's a patch that says it gets rid of the underlines, Do I use it with your patch or use it instead of yours?
Do I have to uninstall it first?
ayoli
November 9th, 2007, 04:24 AM
Yeah those are the ones I used, but I want to get rid of the underlines under letters in the menubar. there's a patch that says it gets rid of the underlines, Do I use it with your patch or use it instead of yours?
Do I have to uninstall it first?
I didn't know much about the no-underlines patch. I think it is just another patch that you have to apply with the macmenu one if you wawnt the mac menu without underlines.
Or you simply use the method of this poster:
http://ubuntuforums.org/showthread.php?t=241868&page=52#520
drbraniac
November 9th, 2007, 08:28 AM
Hi, so I'm trying to apply one of the patches listed on the wiki (the 2nd one for removing the underlines from the mac menu applet). The patch isn't working for some reason. The terminal output was this:
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- gtk/gtkmenubar.c.old 2007-09-13 16:35:40.000000000 -0400
|+++ gtk/gtkmenubar.c 2007-10-17 22:23:56.000000000 -0400
--------------------------
File to patch:
Can anyone help me with this?
limac
November 9th, 2007, 05:32 PM
Any suggestions for gutsy??
DoubleClicker
November 10th, 2007, 06:34 AM
deleted
2cute4u
November 10th, 2007, 06:42 AM
I didn't know much about the no-underlines patch. I think it is just another patch that you have to apply with the macmenu one if you want the mac menu without underlines.
Or you simply use the method of this poster:
http://ubuntuforums.org/showthread.php?t=241868&page=52#520
I wasn't able to figure out what do do from that part of the thread. It looks like its asking me to edit the main file instead of adding a patch.
The other patch on the other the wiki (gtk+-2.12.0-r2-gtkmenubar.diff.gz) doesn't work so I had to go back to your patch. It would be great if someone could start with that one (099_mac_menubar.patch) and add code for removing the underlines.
Actually, one other thing I'd really like to see, is the menubar using the windowtitle font, instead of the application font. Is that possible?
Frak
November 10th, 2007, 12:54 PM
I wasn't able to figure out what do do from that part of the thread. It looks like its asking me to edit the main file instead of adding a patch.
The other patch on the other the wiki (gtk+-2.12.0-r2-gtkmenubar.diff.gz) doesn't work so I had to go back to your patch. It would be great if someone could start with that one (099_mac_menubar.patch) and add code for removing the underlines.
Actually, one other thing I'd really like to see, is the menubar using the windowtitle font, instead of the application font. Is that possible?
It's possible, it would just need to be reworked as Metacity is the WM for Gnome (e.g. handles its own fonts), it's possible that it could render its fonts from Metacity, but it could run into some problems if Metacity is NOT the WM (i.e. Compiz Fusion)
ayoli
November 10th, 2007, 01:34 PM
I wasn't able to figure out what do do from that part of the thread. It looks like its asking me to edit the main file instead of adding a patch.
The other patch on the other the wiki (gtk+-2.12.0-r2-gtkmenubar.diff.gz) doesn't work so I had to go back to your patch. It would be great if someone could start with that one (099_mac_menubar.patch) and add code for removing the underlines.
I'm reaaly busy atm but, I'll give a look later and post a solution here and in the wiki if I find one.
Actually, one other thing I'd really like to see, is the menubar using the windowtitle font, instead of the application font. Is that possible?
A workaround could be set a font in your gtkrc for the menu.
2cute4u
November 10th, 2007, 02:22 PM
It's possible, it would just need to be reworked as Metacity is the WM for Gnome (e.g. handles its own fonts), it's possible that it could render its fonts from Metacity, but it could run into some problems if Metacity is NOT the WM (i.e. Compiz Fusion)
:confused: I thought that the font was specified by the GTK control. I'm not trying to use the "window title font" in the Apearance preferences. I'm not trying to use match the font of the window title, if it's set by somthing else"
I'm reaaly busy atm but, I'll give a look later and post a solution here and in the wiki if I find one.
A workaround could be set a font in your gtkrc for the menu.
Thanks, but in order to do it, I need it in steps a that I can follow. ( On the wiki page, (https://wiki.ubuntu.com/global_menu)I can't even make sence of the "first way", but the "second way" gives, step by step directions, that are clear enough for us non techies. )
nikoPSK
November 10th, 2007, 02:43 PM
it does look a bit odd with the rounded corners at the top though. I do like it.:)
baballin328
November 10th, 2007, 09:25 PM
So is there a way to get my Synaptic and update manager working? Or am I screwed?
ice60
November 11th, 2007, 11:06 AM
how do you get rid of the 'alt' lines? like in this picture -
EDIT. i found out how, i'm not going to bother now. it's really irritating that you want it to look just right, but there are a couple of things i'm going to add that don't look like a mac, it's a hard life lol
ice60
November 11th, 2007, 12:32 PM
has anyone had random lockups after applying the patch from page 97?
i can't find an errors about it, but my laptop was running perfectly, and after applying all the changes with mac4lin i now have random lockups.
a couple of times this applet has used a lot of the CPUs' cycles, but only when i've been adding it back to the panel. so, i think it's working fine, but something is making the computer lockup once every couple of hours for a few seconds. it could be AWN??
does anyone have any idea what could be causing it?
ayoli
November 11th, 2007, 01:00 PM
has anyone had random lockups after applying the patch from page 97?
i can't find an errors about it, but my laptop was running perfectly, and after applying all the changes with mac4lin i now have random lockups.
a couple of times this applet has used a lot of the CPUs' cycles, but only when i've been adding it back to the panel. so, i think it's working fine, but something is making the computer lockup once every couple of hours for a few seconds. it could be AWN??
does anyone have any idea what could be causing it?
nope, no random lockups here.
v.stiff
November 11th, 2007, 01:15 PM
I have working menu by following instructions found in this post:
http://ubuntuforums.org/showpost.php?p=3637111&postcount=966
Maybe it should be added to wiki page as an alternative to compilation?
Frak
November 11th, 2007, 01:25 PM
I'll ask people that have experience with this, so, how do you
1. get a nice panel like ice60's, and
2. change the Ubuntu logo to an apple?
ayoli
November 11th, 2007, 03:36 PM
I'll ask people that have experience with this, so, how do you
1. get a nice panel like ice60's, and
2. change the Ubuntu logo to an apple?
1. what do you mean ? background ?
2. find an apple logo you like, put it in your theme icon folder in place of gnome-main-menu.png and start-here.png
Frak
November 11th, 2007, 03:39 PM
1. what do you mean ? background ?
2. find an apple logo you like, put it in your theme icon folder in place of gnome-main-menu.png and start-here.png
Better yet, could anybody point me to a post or thread about customizing the gnome-panels and mac-menu-applet?
Frak
November 11th, 2007, 04:02 PM
Just to show contrast, I made the bar transparent. I tried ayoli's gtkrc hack, but to no avail, it did nada.
ice60
November 11th, 2007, 04:34 PM
nope, no random lockups here.
thanks, i'll just try running with one thing disabled at a time and see how it turns out. that should find what's causing the lock-ups.
I'll ask people that have experience with this, so, how do you
1. get a nice panel like ice60's, and
2. change the Ubuntu logo to an apple?
i just used the files uploaded to pages 96 and 97 of this thread -
http://ubuntuforums.org/showthread.php?t=241868
the apple icon comes with the leopard icons i think. there's a guide here -
http://www.howtoforge.com/mac4lin_make_linux_look_like_a_mac
this might be OT but i did this too
http://ubuntuforums.org/showpost.php?p=3672448&postcount=2
that changes the brown colour you get when you login at the gdm with gutsy i think, although i put the colour i wanted there instead of an x. the x way is probably the correct way??
Frak
November 11th, 2007, 05:08 PM
thanks, i'll just try running with one thing disabled at a time and see how it turns out. that should find what's causing the lock-ups.
i just used the files uploaded to pages 96 and 97 of this thread -
http://ubuntuforums.org/showthread.php?t=241868
the apple icon comes with the leopard icons i think. there's a guide here -
http://www.howtoforge.com/mac4lin_make_linux_look_like_a_mac
this might be OT but i did this too
http://ubuntuforums.org/showpost.php?p=3672448&postcount=2
that changes the brown colour you get when you login at the gdm with gutsy i think, although i put the colour i wanted there instead of an x. the x way is probably the correct way??
Thanks ice60, I got it all sorted out now :)
Jeremiah Griffin
November 11th, 2007, 05:50 PM
I've been fiddling with my desktop for about a day now trying to get it to look like a Mac. Getting a proper menu bar is one of the few items remaining on my list. I downloaded the source code for MacMenu, applied some patches of my own, compiled, and installed. But no programs are being altered by MacMenu. It shows the window title properly, but doesn't move the menu onto the panel. Attached is a screen shot.
If anyone could provide me with information on fixing this, I'd be really grateful!
P.S. If you want the modified source code, I can put that up, too. Also, off-topic, could anyone point me to a properly scaled Apple logo extracted from Leopard? Preferably with a transparent background.
ayoli
November 11th, 2007, 05:52 PM
thanks, i'll just try running with one thing disabled at a time and see how it turns out. that should find what's causing the lock-ups.
i just used the files uploaded to pages 96 and 97 of this thread -
http://ubuntuforums.org/showthread.php?t=241868
the apple icon comes with the leopard icons i think. there's a guide here -
http://www.howtoforge.com/mac4lin_make_linux_look_like_a_mac
this might be OT but i did this too
http://ubuntuforums.org/showpost.php?p=3672448&postcount=2
that changes the brown colour you get when you login at the gdm with gutsy i think, although i put the colour i wanted there instead of an x. the x way is probably the correct way??
wow, thanks for the last one, looks like a bug to me to have a color 'unsetable' like that.
nikoPSK
November 11th, 2007, 05:53 PM
in the screen shots what dock are you using? I haven't found one with magnification yet.
ayoli
November 11th, 2007, 05:59 PM
in the screen shots what dock are you using? I haven't found one with magnification yet.
who do you ask this ? mine is awn.
nikoPSK
November 11th, 2007, 06:02 PM
this screeny
http://static.flickr.com/112/284328104_6995c6f4b7_o.jpg
ayoli
November 12th, 2007, 04:18 AM
this screeny
http://static.flickr.com/112/284328104_6995c6f4b7_o.jpg
this is kxdocker.
snurrig
November 12th, 2007, 05:34 AM
I've been fiddling with my desktop for about a day now trying to get it to look like a Mac. Getting a proper menu bar is one of the few items remaining on my list. I downloaded the source code for MacMenu, applied some patches of my own, compiled, and installed. But no programs are being altered by MacMenu. It shows the window title properly, but doesn't move the menu onto the panel. Attached is a screen shot.
If anyone could provide me with information on fixing this, I'd be really grateful!
P.S. If you want the modified source code, I can put that up, too. Also, off-topic, could anyone point me to a properly scaled Apple logo extracted from Leopard? Preferably with a transparent background.
I'm having the same problem. The file, edit, view etc are still in there original places and not in the top bar. Only the title of the app is visible.
ayoli
November 12th, 2007, 07:00 AM
I'm having the same problem. The file, edit, view etc are still in there original places and not in the top bar. Only the title of the app is visible.
Means your installed gtk isn't patched.
Kalli
November 12th, 2007, 12:49 PM
Just a thought. I'm not much for making Ubuntu look like Mac OSX, don't really see the point, but I do really like the menu and would like to have it as an "official" option in gnome...and apparently a lot of people would agree with that! So what's stopping the Gnome team again?
snurrig
November 12th, 2007, 04:05 PM
Means your installed gtk isn't patched.
I've followed the instructions in the wiki. Both of them. The first one, as it is and with more sudos and whatnot. Still no luck.
Anything else it could be?
LavianoTS386
November 13th, 2007, 09:27 AM
Just a thought. I'm not much for making Ubuntu look like Mac OSX, don't really see the point, but I do really like the menu and would like to have it as an "official" option in gnome...and apparently a lot of people would agree with that! So what's stopping the Gnome team again?
I believe the reason may be that Apple claims to own that paradigm, hence the reason almost all GUI's have menus attached to each window. However Apple also has claims to the "trash-can" yet it's in free GUI's w/o license. Go figure.
zniavre
November 13th, 2007, 10:56 AM
thank you all of you of this macmenubar
i followed some how-to but i stuck on this one http://ubuntuforums.org/showpost.php?p=3637111&postcount=966 , the one script hack
i never use mac to call this applet macmenu but only kde (long time ago) with that
so i can call it kde "a la mac' applet
sorry for jokintroll
http://img250.imageshack.us/img250/1715/capturetb1.png
it works perfectly and know i improve my gtk+ to get menu bar as panel bar
thank you all of you for huge list of post
Kalli
November 13th, 2007, 05:09 PM
I believe the reason may be that Apple claims to own that paradigm, hence the reason almost all GUI's have menus attached to each window. However Apple also has claims to the "trash-can" yet it's in free GUI's w/o license. Go figure.
I don't know if that's the reason though because KDE has this as an official option. I think the reason is, for some reason, more emotional...
avlex
November 13th, 2007, 05:14 PM
Just a thought. I'm not much for making Ubuntu look like Mac OSX, don't really see the point, but I do really like the menu and would like to have it as an "official" option in gnome...and apparently a lot of people would agree with that! So what's stopping the Gnome team again?
Its not that simple. This hack is basically a GTK hack which depends on support from Gnome or Xfce4. So the first problem is that with this option, GTK would have to work even closer with the window managers as they do now. The second problem is the space used for the menu. The design of the Gnome desktop puts the applications, places and system menus, where the window menu would be, so a completely new desktop setup would be needed. A third reason is that Fitt's Law only applies to small and medium-sized screens and some people argue that screens get bigger anyway (which isnt true for laptops and portable devices). And lastly, some people in the Gnome dev team are simply against copying everything from Mac. This adds up to a bunch of problems and until those are solved, no cookies for us... Besides that, Gnome is an open source project, so in general it doesnt matter if a lot of people want it, unless the developers want it too and Gnome isnt really known for giving the people what they want, more like they think they know what we want (not that Gnome is a bad desktop or anything, but I'm using it for many years now and some things they do just dont make sense at all).
So if we want the cookies, some people would have to get together and think of a way to make the detached menu a FDO standard, maybe integrate it into an existing window manager standard and make an example implementation (for example with patches for GTK and Gnome), but since nobody even reacted to my attempt to get something moving, I guess it will take a very long time until this happens (probably not before the current patch becomes completely incompatible to the GTK source or it causes more glitches than just the focus problem).
Kalli
November 13th, 2007, 05:58 PM
Thanks avlex, that's a good answer.
Perhaps the Gnome team will never accept this as an option but at least this project seems to be off to a good start and hopefully one day it will be as easy as getting a package and adding a standardised/tried an tested applet to the panel.
avlex
November 14th, 2007, 12:19 AM
Thanks avlex, that's a good answer.
Perhaps the Gnome team will never accept this as an option but at least this project seems to be off to a good start and hopefully one day it will be as easy as getting a package and adding a standardised/tried an tested applet to the panel.
For Gnome, my idea is more like right clicking on the menubar applet and activating the detached menu option, but oh well :) . The problem here is not that everyone, working on Gnome is opposed, the main problem is that primarily it is not their business. It is the GTK team that has to move first but probably wont, since it is more of a window manager improvement. In the end, it comes down to a standard and until someone tries that, everything will get shot down by either GTK or Gnome.
I already posted my ideas, so if someone is interested in really improving this, please read my suggestions (txt attachment to post #1087) and comment them (and be prepared to do a share of the actual work, if possible).
ayoli
November 14th, 2007, 04:31 AM
For Gnome, my idea is more like right clicking on the menubar applet and activating the detached menu option, but oh well :) . The problem here is not that everyone, working on Gnome is opposed, the main problem is that primarily it is not their business. It is the GTK team that has to move first but probably wont, since it is more of a window manager improvement. In the end, it comes down to a standard and until someone tries that, everything will get shot down by either GTK or Gnome.
I already posted my ideas, so if someone is interested in really improving this, please read my suggestions (txt attachment to post #1087) and comment them (and be prepared to do a share of the actual work, if possible).
Actually, I appreciate your effort but I dunno much about C. Btw, the idea looks good.
az_s_za
November 15th, 2007, 02:44 AM
I've been following this thread for a few weeks, and have just taken the plunge and installed the global menu.
Thanks for all the great info and contributions on this thread.
I don't go much for the mac-style themes... I prefer to make the system 'mine', but I do REALLY like the global menu.
I have seen from earlier posts that it doesn't work with firefox. I have also found it not working with opera and openoffice. Is this to be expected, or is it just me?
Will we ever see the global menu with these apps?
... now, if I can just choose between my favorite web browser (opera) and the global menu:)
avlex
November 15th, 2007, 02:53 AM
I've been following this thread for a few weeks, and have just taken the plunge and installed the global menu.
Thanks for all the great info and contributions on this thread.
I don't go much for the mac-style themes... I prefer to make the system 'mine', but I do REALLY like the global menu.
I have seen from earlier posts that it doesn't work with firefox. I have also found it not working with opera and openoffice. Is this to be expected, or is it just me?
Will we ever see the global menu with these apps?
... now, if I can just choose between my favorite web browser (opera) and the global menu:)
Opera could work, since it is based on QT (another toolkit like GTK). QT is also used in KDE applications that allow a similar hack that even works with the global menu applet for Gnome. However, I have not yet found out how to get Opera to accept the KDE control center option for a mac-style menu.
For the other two, a patch to their toolkits would be needed, since both dont use either GTK or QT but emulate their behavior (to a certain degree). So until someone gets down to creating one (for firefox, a plugin might do), you are out of luck.
2cute4u
November 15th, 2007, 06:00 AM
Can somebody please update the wiki (https://wiki.ubuntu.com/global_menu) with instructions how to remove the underlines, (and if possible how to set the menubar font to be something other than the default application font)?
It will be greatly appreciated :)
echelon89
November 15th, 2007, 10:50 AM
hi!
how can I remove patched gtk engines if I have installed them with apt-build?
ayoli
November 15th, 2007, 11:38 AM
hi!
how can I remove patched gtk engines if I have installed them with apt-build?
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
then logout/in gnome to apply changes.
echelon89
November 15th, 2007, 11:47 AM
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
then logout/in gnome to apply changes.
thanks a lot!:)
skattman83
November 15th, 2007, 12:08 PM
I checked out the deb file on page 97. Would it be possible to use a macapplet.postinst to apply the patch? Also, if the package also diverted the original files, it would make the uninstall trivial. I'd be happy to help out with this if its possible.
skattman83
November 15th, 2007, 12:36 PM
I noticed something else, I'm not sure if anyone else has had this problem though. I can no longer drag and drop .png images into Open Office word. It looks like it works, but then it locks up, and i have to end process. Any ideas on why this is happening, or if it really is related to this? It worked yesterday, I applied these patches, and now it doesn't work today.
devilsoulblack
November 15th, 2007, 01:36 PM
any one know's how erase Mac-style Menu Bar for GTK from ubuntu 7.10 ?
skattman83
November 15th, 2007, 03:24 PM
any one know's how erase Mac-style Menu Bar for GTK from ubuntu 7.10 ?
The previous page had a post at the bottom that explained it:
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
devilsoulblack
November 15th, 2007, 07:07 PM
thanks
az_s_za
November 15th, 2007, 07:33 PM
I installed the mac-menu using the instructions here:- post #966 (http://ubuntuforums.org/showpost.php?p=3637111&postcount=966), and had a mac-menu working until update manager updated my libraries.
So then I tried both methods on the wiki page, and although everything seemed to work fine, the mac-menu still didn't work.
Then I tried to start from scratch by doing this sudo apt-get clean && sudo apt-get update && sudo apt-get install --reinstall -y libgtk2.0-0then trying the wiki-page instructions again, but still no luck.
So, at the moment I am running a patched libgtk, with a mac-menu applet in a panel, but the menus all appear within windows.
Any ideas?
skattman83
November 16th, 2007, 09:46 AM
Actually, I booted up this morning, and I have the same situation.
ayoli
November 16th, 2007, 10:53 AM
If the menu isn't detached from the windows, that means your running gtk isn't patched.
If you have used the second method from the wiki don't forget to accept the libgtk update after building (apt-build won't automatically install the package because apt-build local repository isn't signed).
ayoli
November 16th, 2007, 10:59 AM
I've just updated the wiki page (https://wiki.ubuntu.com/global_menu)
I added a patch to remove the underlines and added also instruction tio the second method to integrate this patch.
az_s_za
November 16th, 2007, 06:58 PM
If the menu isn't detached from the windows, that means your running gtk isn't patched.
If you have used the second method from the wiki don't forget to accept the libgtk update after building (apt-build won't automatically install the package because apt-build local repository isn't signed).
I followed the wiki, and was offered (and I accepted) a new libgtk, but I still have a detached menu?
HAL9000/2
November 16th, 2007, 08:50 PM
I built all debs via edit changelog (in order to avoid official repo overwrites them) removing arrows and underscores, if u wanna try them reply i'll upload
HAL9000/2
November 16th, 2007, 09:06 PM
file:///home/scorpio/Desktop/something_like_osx.png
az_s_za
November 16th, 2007, 09:10 PM
I built all debs via edit changelog (in order to avoid official repo overwrites them) removing arrows and underscores, if u wanna try them reply i'll upload
YES I do wanna try them... please upload.
Thanks in advance.
HAL9000/2
November 16th, 2007, 09:12 PM
here the link..sorry i've a java policy don't allow insert images here:
http://img255.imageshack.us/img255/5484/somethinglikeosxhy2.png
HAL9000/2
November 16th, 2007, 09:45 PM
here are debs:
http://rapidshare.com/files/70248395/GutsyOSX.tar.bz2.html
az_s_za
November 17th, 2007, 08:12 AM
YES!!! I finally have it working!
Thanks for the debs Hal, but that's not how I got it going. (Infact I had dependency problems with them).
I finally got it going from ayoli's method, #2 on the wiki page (https://wiki.ubuntu.com/global_menu)
Thanks heaps ayoli for all your work here.
I can't say what I did different to finally get it working, because the answer is "everything".
My system was becoming fairly complicated, so I took this opportunity to reinstall it (everything except /home). I then had no problems with the wiki's instructions.
Now I better go and check if my wife is still talking to me after spending 3-days on the computer!:)
mangar
November 17th, 2007, 08:52 AM
I've updated the wiki:
https://wiki.ubuntu.com/global_menu
please keep the page updated, I _really_ don't have the time to maintain it (otherwise, I would have peeked harder at the code, rather than vaguely wave my hands..)
nicolas2b
November 17th, 2007, 05:15 PM
here the link..sorry i've a java policy don't allow insert images here:
http://img255.imageshack.us/img255/5484/somethinglikeosxhy2.png
Hi, what are the color of your dock AWN, please.
This display is very nice :)
Thanks
HAL9000/2
November 17th, 2007, 11:40 PM
u've got to download the tarball Mac4LinV3 at http://sourceforge.net/projects/mac4lin and inside u have several dock backgrounds, the right name is "22leopard.png".
skattman83
November 18th, 2007, 01:25 AM
I tried following the wiki page, but neither the debs (method 0) nor the apt-build method (method 2) worked for me. I did not try the 1st method because it seemed to have a lot of dependencies, and I didn't want to deal with that. Is there any way to verify that I am running the patched version of gtk? Also, does any one know why it broke in the first place? I used the 4 files that were posted a while ago, but one day this week they just stopped working.
ayoli
November 18th, 2007, 05:27 AM
I tried following the wiki page, but neither the debs (method 0) nor the apt-build method (method 2) worked for me. I did not try the 1st method because it seemed to have a lot of dependencies, and I didn't want to deal with that. Is there any way to verify that I am running the patched version of gtk? Also, does any one know why it broke in the first place? I used the 4 files that were posted a while ago, but one day this week they just stopped working.
If your gtk is patched the menu should be detached even without applet usage you should see apps menu in the upperleft corner of your screen.
az_s_za
November 18th, 2007, 06:19 AM
Also, does any one know why it broke in the first place? I used the 4 files that were posted a while ago, but one day this week they just stopped working.
It "broke" because an updated libgtk was released which updated your patched version to the new, unpatched one.
That's the problem with using debs, they don't survive an update the way your own patched libs do.
ayoli
November 18th, 2007, 09:28 AM
I've updated the wiki:
https://wiki.ubuntu.com/global_menu
thank you.
please keep the page updated, I _really_ don't have the time to maintain it (otherwise, I would have peeked harder at the code, rather than vaguely wave my hands..)
I've also updated the wiki page (and i'm not alone, this is around the 20th update).
This update add uninstall instructions for the second method (the apt-build one).
+ litle presentation improvements.
skattman83
November 18th, 2007, 09:59 PM
Has anyone used method zero from the wiki? If so, what order did you need to install the debs in?
az_s_za
November 18th, 2007, 11:31 PM
I've updated the wiki:
https://wiki.ubuntu.com/global_menu
Thanks. I like the intro lines that overview the three methods of installation.
Now if someone could just add to that, the pros and cons (briefly) of each method for noobs like me. I don't know, so can't do it myself.
ayoli
November 19th, 2007, 04:44 AM
Has anyone used method zero from the wiki? If so, what order did you need to install the debs in?
I don't think order of install is a matter, I'll do
sudo dpkg -i *.deb
ayoli
November 19th, 2007, 04:46 AM
Thanks. I like the intro lines that overview the three methods of installation.
Now if someone could just add to that, the pros and cons (briefly) of each method for noobs like me. I don't know, so can't do it myself.
Not a bad idea, I'll try to do that.
skattman83
November 21st, 2007, 01:14 AM
I think I'm stuck. I used sudo dpkg -i * to install everything in the GutsyOSX.tar.bz2 archive (I ran it in each of the three directories). When I log back in, nothing has changed. Same after a reboot. So I checked synaptic, and it says that I have the packages installed rather than the Ubuntu packages. At this point I decided to just uninstall the patches. I ran sudo apt-get clean && sudo apt-get update && sudo apt-get install --reinstall -y libgtk2.0-0 and I get an odd error message: Reinstallation of libgtk2.0-0 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. How do I revert back to the Ubuntu packages, or better yet, how do I get the patch to work properly? This was really cool for the few days I did have it working.
male81
November 22nd, 2007, 05:28 AM
I built all debs via edit changelog (in order to avoid official repo overwrites them) removing arrows and underscores, if u wanna try them reply i'll upload
I used yours .debs to reinstall the menubar, but have only removed the arrow to the menu, while underlining remained.
My problem is or .debs were changed?
:(
az_s_za
November 22nd, 2007, 10:22 PM
How do I revert back to the Ubuntu packages, or better yet, how do I get the patch to work properly? This was really cool for the few days I did have it working.
before you run sudo apt-get clean && sudo apt-get update && sudo apt-get install --reinstall -y libgtk2.0-0 you need to disable your apt-build repository:
system - administration - software sources - Third Party Software
, uncheck file:/var/cache/apt-build/repository apt-build
Then it should work.
I'm sure there is a better way to clean up your apt-build repository so that you can try again, but I'd go to the directory you have just uncommented, and remove the gtk folders from there, then try again with method 1 from the wiki.
N.B. I was having similar problems to you and just couldn't get anything to work for me, so I completely re-installed gutsy from a CD (I have /home on a seperate partition, so reinstalling the system, i.e. everything except /home was not as dramatic as it sounds). Then method 1 from the wiki worked for me.
skattman83
November 23rd, 2007, 10:34 AM
before you run you need to disable your apt-build repository:
system - administration - software sources - Third Party Software
, uncheck file:/var/cache/apt-build/repository apt-build
I went through and disabled all 3rd party repositories, but it still gives me that error. I think its odd that I can't force a version (in synaptic) or do the reinstall (with apt-get).
skenliv
November 24th, 2007, 04:12 PM
Ive just installed it on Ubuntu 7.10 64-bit version.
There is an error though, that has to be fixed.
It installs itself in /usr/local/lib when it should be /usr/lib
So the files have to be moved to the right location, and then the server file have to be edited.
sudo mv /usr/local/lib/bonobo/server/GNOME_MacMenuApplet.server /usr/lib/bonobo/servers
sudo mv /usr/local/lib/gnome-applets/macmenu-applet /usr/lib/gnome-applets/
sudo nano /usr/lib/bonobo/server/GNOME_MacMenuApplet.server
bas1
November 24th, 2007, 09:53 PM
Howdy!
I just read through pages 90-118. I recently installed the hack detailed at the bottom of pg 97. I've used this hack before on feisty, and now I have it working to some extent in gutsy. The only problem I have with the macmenu-applet is the annoying blank space at the end of it (see right above the X in the screenshot below):
http://img137.imageshack.us/img137/573/screenshotgy3.png
Other than this, I'm pretty happy with the macmenu-applet. Great job devs!!
BoardDWorld
November 25th, 2007, 11:06 AM
Howdy!
I just read through pages 90-118. I recently installed the hack detailed at the bottom of pg 97. I've used this hack before on feisty, and now I have it working to some extent in gutsy. The only problem I have with the macmenu-applet is the annoying blank space at the end of it (see right above the X in the screenshot below):
http://img137.imageshack.us/img137/573/screenshotgy3.png
Other than this, I'm pretty happy with the macmenu-applet. Great job devs!!
It's quite likely your theme needs to be changed. Try the Imetal theme:
http://skiesofazel.deviantart.com/art/imetal-for-gnome-53789181
If you don't have the same glitch you'll know your current theme doesn't allow for it. Most themes can be adjusted with the use of the attached file which I acquired from here:
http://marko23.deviantart.com/art/Neon-69022627?offset=10#comments
Good luck!
darkhacker902
November 26th, 2007, 08:31 PM
I can't uninstall this, or a least I think. I am using fluxbox now, and as you can see now, there is a bar at the top left, that belongs in the windows that floats up there.
http://i50.photobucket.com/albums/f301/Livin4messiah/terminal_bg4.png
It bothers me :(.
Anyway, I have added the like to my ~/.gnomerc, and I have tried the reinstalling of the libgtk2.0-0, but that just returns a message that nothing was uninstalled.
Frak
November 26th, 2007, 11:45 PM
I can't uninstall this, or a least I think. I am using fluxbox now, and as you can see now, there is a bar at the top left, that belongs in the windows that floats up there.
http://i50.photobucket.com/albums/f301/Livin4messiah/terminal_bg4.png
It bothers me :(.
Anyway, I have added the like to my ~/.gnomerc, and I have tried the reinstalling of the libgtk2.0-0, but that just returns a message that nothing was uninstalled.
It wasn't made to work with fluxbox, only Xfce and Gnome.
BoardDWorld
November 27th, 2007, 06:25 AM
I see there are a lot of problems so just to help everyone along with the debs available from the WIKI (https://wiki.ubuntu.com/global_menu#deb) here's a small HowTo:
Step 1:
Download the GutsyOSX file from RapidShare. Extract it to your desktop so you have a GutsyOSX folder on your desktop containing 3 folders.
Step 2:
Install all the dependencies which is where most of you are having trouble. Go to Terminal and Copy & Paste the following:
sudo aptitude install liborbit2-dev libgnomeui-dev libglade2-dev libbonoboui2-dev libglib2.0-dev libpango1.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxext-dev libxinerama-dev libxi-dev libxrandr-dev libxcursor-dev libxfixes-dev libxcomposite-dev libxdamage-dev libcairo-directfb2 libcairo-directfb2-dev libcairo2-dev
Step 3
Install all the deb packages. In terminal Copy & paste the following 3 commands:
sudo dpkg -i ~/Desktop/GutsyOSX/applet/macmenu-applet_0.1-2_i386.deb
sudo dpkg -i ~/Desktop/GutsyOSX/GTK/*.deb
sudo dpkg -i ~/Desktop/GutsyOSX/gnome-panel-no-arrows/*.deb
Step 4:
Restart your system then right click on the taskbar where you want the mac menu, then choose Add to Panel and select the mac menu.
Done!
NOTE: At no time during this should there be Error messages. If there are you should inquire on this thread pasting the error message. Try not to restart your system until any errors are resolved.
darkhacker902
November 27th, 2007, 11:00 AM
It wasn't made to work with fluxbox, only Xfce and Gnome.I know that. I installed it when I had gnome, and now I believe it is disabled in gnome, but it is still floating aroud with my fluxbox session. :(
ayoli
November 27th, 2007, 11:34 AM
I know that. I installed it when I had gnome, and now I believe it is disabled in gnome, but it is still floating aroud with my fluxbox session. :(
disable the gtkmacmenu via the environment var in ~/.gnomerc won't work in fluxbox since fluxbox doesn't care about ~/.gnomerc or other gnome files.
If you could tell us what method you used to install a patched gtk, then we could help to reinstall the original packages.
darkhacker902
November 27th, 2007, 03:44 PM
I can't remember what way I did it. I am pretty sure I didn't do much work, because I was a noob at the time. I tried the re installation of GTK but like I said it returned the "no packages were removed, or installed, or re installed" deal.
SkiesOfAzel
November 28th, 2007, 12:34 AM
disable the gtkmacmenu via the environment var in ~/.gnomerc won't work in fluxbox since fluxbox doesn't care about ~/.gnomerc or other gnome files.
If you could tell us what method you used to install a patched gtk, then we could help to reinstall the original packages.
If i remember correctly you can put the environmental variable inside xinitrc and it will work (i used to do this on my xfce happy laptop) .
voodoo44
November 29th, 2007, 04:36 PM
Hello!
I'm totally new in the world if linux.
I've just installed the new Ubuntu 7.10 with Gnome Interface.
How can i modify my toolbar? I wan't the look like the one in the first post - just want the MacOSX look...can anyone tell me which "hacks"/mods i need and how to install them?
Sorry for not reading, but there are about 100 pages...:(
anyone got a good link to some literature to me?
nikoPSK
November 29th, 2007, 04:40 PM
front page should explain everything....
voodoo44
November 29th, 2007, 04:42 PM
Which page do i need?
GTK 2.8.0 ?
Where do i get those Hacks? Download won't work for me :(
nikoPSK
November 29th, 2007, 04:43 PM
hmmm, well I've never tried but want to, Generally here the forst page (first post) should contain all your info.
voodoo44
November 29th, 2007, 04:46 PM
alright...but as i said - downloading any of these GTK Patches wont work: "for gtk 2.10.x | 2.8.x | AUR".
Where do i get those packages?
nikoPSK
November 29th, 2007, 04:50 PM
synaptic? or sudo apt-get install packagename
voodoo44
November 29th, 2007, 04:51 PM
don't i need those patches? Well okay ... i will just try it
hm...
I just downloaded libgtk2. After that i tried some of these tutorials in this thread ... but never the less nothing worked for me.
I'm using the new Ubuntu 7.10 64bit Edition ...
Can anyone tell me what i have to do? There are so much files in this thread...so much tutorials...i don't know what to do.
Iam completely new to linux, so im sorry that im doing so stupid :(
HAL9000/2
November 29th, 2007, 06:32 PM
I added a mint menu and edited some gconf values now ubuntu gutsy looks like these screenshots:
http://img143.imageshack.us/img143/6133/gutsyosxidea1sc4.png
http://img143.imageshack.us/img143/773/gutsyosxidea2gq0.png
add to repo
# Minti-menu
deb http://www.linuxmint.com/repository/ daryna/
install mintmenu and change the name "daryna" into Finder after added mint-applets
we can improve the code to fit well with ubuntu.. it's just an idea
ayoli
November 29th, 2007, 06:33 PM
don't i need those patches? Well okay ... i will just try it
hm...
I just downloaded libgtk2. After that i tried some of these tutorials in this thread ... but never the less nothing worked for me.
I'm using the new Ubuntu 7.10 64bit Edition ...
Can anyone tell me what i have to do? There are so much files in this thread...so much tutorials...i don't know what to do.
Iam completely new to linux, so im sorry that im doing so stupid :(
The front page is somewhat obsolete.
There is a wiki page
(https://wiki.ubuntu.com/global_menu) that explain several methods to install this.
If you use the method zero from the wiki page read this post (http://ubuntuforums.org/showthread.php?t=241868&page=120#1197) (edit this may not be neccessary, as I've just seen thta the wiki page has been updated with more instructions)
In any case read very carefully all instructions.
ayoli
November 29th, 2007, 06:38 PM
I added a mint menu and edited some gconf values now ubuntu gutsy looks like these screenshots:
http://img143.imageshack.us/img143/6133/gutsyosxidea1sc4.png
http://img143.imageshack.us/img143/773/gutsyosxidea2gq0.png
add to repo
# Minti-menu
deb http://www.linuxmint.com/repository/ daryna/
install mintmenu and change the name "daryna" into Finder after added mint-applets
we can improve the code to fit well with ubuntu.. it's just an idea
Looks like USP (ubuntu system panel : it has a project subforum here) or suse slab menu.
HAL9000/2
November 29th, 2007, 07:04 PM
Looks like USP (ubuntu system panel : it has a project subforum here) or suse slab menu.
ok thanks i'll check, i am looking for that.
bikmak
November 29th, 2007, 09:04 PM
Hi!
Is there any howto for this macmenu + gutsy installation? I know, that in this post there is the solution somewhere, but i don't want to browse all 122 pages.
bas1
November 29th, 2007, 09:23 PM
Hi!
Is there any howto for this macmenu + gutsy installation? I know, that in this post there is the solution somewhere, but i don't want to browse all 122 pages.
bikmak,
At post 966 (pg 96) their is a small how-to. It is really easy and it works.
Good luck! :)
groo028
November 30th, 2007, 02:44 AM
I have some issues with the color of the menu bar and the color of the gnome panel. They dont seem to be matching. Can i change the color settings somewhere?
Take a look at this screenshot of the menubar - you can see the distinction in the colors - it is not very pronounced in this screenshot because I tried to make it look similar by adjusting the transparency in Compiz.
ThankS!!
voodoo44
November 30th, 2007, 10:21 AM
Okay....i got macmenu now installed with an .deb package from page 107.
But as you can see, there are no links like "Bookmarks, File, Edit, ..."
How do i get them? Anybody may help me?
BoardDWorld
November 30th, 2007, 03:46 PM
You could read back 2 pages(this is a general response)... Or even just one page which will tell you to go back one more page and provides a link to get there. Many of us have read the entire thread before considering hacking our system. Attached is an incentive!
Good luck!:popcorn:
Please excuse the apple icon, it's going, just haven't got around to making a new logo, It will be Ubuntu or Gnome... Shinyblack... I've only just finished the taskbar!
Frak
November 30th, 2007, 06:20 PM
Okay....i got macmenu now installed with an .deb package from page 107.
But as you can see, there are no links like "Bookmarks, File, Edit, ..."
How do i get them? Anybody may help me?
If you mean Firefox, then you need to make an XUL hack, since XUL only emulates the GTK interface, it cannot use the same functions.
murt
December 1st, 2007, 10:55 AM
I myself does like to have the firefox menu in the window, and the rest in the bar.
Get the plugin tiny menu and it will be much less big (<--can one say that!?)
murt
December 1st, 2007, 11:03 AM
How can you know what GTK version you have?
BoardDWorld
December 1st, 2007, 12:23 PM
I myself does like to have the firefox menu in the window, and the rest in the bar.
Get the plugin tiny menu and it will be much less big (<--can one say that!?)
The best is the "hide Menu" plugin, you just press Alt to make it appear. Or "Global Menu". Both are available here:
https://addons.mozilla.org/en-US/firefox/search?q=hide+menu&status=4
How can you know what GTK version you have?
System --- About Gnome
Donnie Darko
December 2nd, 2007, 04:24 PM
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
I got to step 3. What do you mean by go to this directory? I'm still fairly new here..
Frak
December 2nd, 2007, 04:31 PM
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
I got to step 3. What do you mean by go to this directory? I'm still fairly new here..
cd into the directory that contains the file, i.e. cd ~/Desktop or cd ~/
Donnie Darko
December 2nd, 2007, 07:28 PM
What? what is cd? and what do I do with the libgtk 2.0 tars?
Frak
December 2nd, 2007, 07:45 PM
What? what is cd? and what do I do with the libgtk 2.0 tars?
cd = Change Directory
You decompress the libgtk 2.0 tars, put them into the same directory, cd into that directory from the terminal, and run "sudo sh install.sh"
Necrome
December 3rd, 2007, 03:30 AM
Hi!
I tried this and wanted to go back following exactly the instructions to uninstall. However, now i have the terminal's menubar floating around as detached.. I cannot solve this problem.. any help is appreciated..
teolemon
December 3rd, 2007, 08:14 AM
Which uninstall method listed on the wiki did you try ?
The only one I tested is the gnomerc one.
Note that you have to log out and in for the effects to apply.
Necrome
December 3rd, 2007, 12:12 PM
Which uninstall method listed on the wiki did you try ?
The only one I tested is the gnomerc one.
Note that you have to log out and in for the effects to apply.
I have tried all of the uninstall methods in this website:
https://wiki.ubuntu.com/global_menu#uninstall
But none of them worked. The 3rd one, where you use synaptic to force a stable version was a complete failure because the force version command was disabled for libgtk2.0-0.
ayoli
December 3rd, 2007, 12:31 PM
I have tried all of the uninstall methods in this website:
https://wiki.ubuntu.com/global_menu#uninstall
But none of them worked. The 3rd one, where you use synaptic to force a stable version was a complete failure because the force version command was disabled for libgtk2.0-0.
what method from the wiki or post from this thread do you use to install the hacked gtk ?
Necrome
December 3rd, 2007, 12:35 PM
what method from the wiki or post from this thread do you use to install the hacked gtk ?
I used the how-to install post somewhere before this page:
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
But the Uninstall part, where you reinstall the lib does not seem to work for me.
Necrome
December 3rd, 2007, 12:51 PM
I used the how-to install post somewhere before this page:
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
But the Uninstall part, where you reinstall the lib does not seem to work for me.
I have solved it somehow :) I guess re-trying the uninstall method worked. Thanks for your help.
cyberbuff
December 3rd, 2007, 11:16 PM
Edit: the links provided in this post are not valid any longer.
Any plan to give new links?
ayoli
December 4th, 2007, 05:02 AM
Any plan to give new links?
take a look to the mac menu hack wiki page (https://wiki.ubuntu.com/global_menu)
HAL9000/2
December 6th, 2007, 02:50 AM
If someone wanna set transparence on panel without decrease opacity of awn and related icons use this way:
sudo apt-get install transset
type in terminal transset 0.50 (withouth sudo!!) and move the cross upon gnome-panel.
soulful1
December 6th, 2007, 12:24 PM
I've been trying this for this past 2 hours. i'm so ready to give up. I can't get Java right nor this.. *sigh*
mverrilli
December 6th, 2007, 02:53 PM
I think I'm stuck. I used sudo dpkg -i * to install everything in the GutsyOSX.tar.bz2 archive (I ran it in each of the three directories). When I log back in, nothing has changed. Same after a reboot. So I checked synaptic, and it says that I have the packages installed rather than the Ubuntu packages. At this point I decided to just uninstall the patches. I ran sudo apt-get clean && sudo apt-get update && sudo apt-get install --reinstall -y libgtk2.0-0 and I get an odd error message: Reinstallation of libgtk2.0-0 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. How do I revert back to the Ubuntu packages, or better yet, how do I get the patch to work properly? This was really cool for the few days I did have it working.
The install worked fine for me, I just would like to uninstall it. I'm having the exact same problem.
When I go into the package manager, under third-party software, I don't see any entries in there for an apt-build repository. I went ahead and just unchecked all entries, but I still get the same error.
Reinstallation of libgtk2.0-0 is not possible, it cannot be downloaded.
Any ideas?
Frak
December 6th, 2007, 05:30 PM
The install worked fine for me, I just would like to uninstall it. I'm having the exact same problem.
When I go into the package manager, under third-party software, I don't see any entries in there for an apt-build repository. I went ahead and just unchecked all entries, but I still get the same error.
Reinstallation of libgtk2.0-0 is not possible, it cannot be downloaded.
Any ideas?
Remove your apt-build repository in System->Administration->Software Sources, then run
sudo aptitude update
then try the above again.
@soulful1
Java, Swing, XUL, QT, and K applications will not utilize the menu-bar.
Donnie Darko
December 6th, 2007, 09:07 PM
So, I did everything spelled out in the global menu install method with packages, and when I ran the mac menu app I got this.
http://img.photobucket.com/albums/v451/ska7245/Screenshot-3.png
It's grey, without the file edit view, etc in the top. it has the right programs when I load it. What could have gone wrong here?
mverrilli
December 6th, 2007, 10:20 PM
Remove your apt-build repository in System->Administration->Software Sources, then run
sudo aptitude update
then try the above again.
Hi, At the risk of sounding really stupid.... I've read to do this over and over, but I just don't see "apt-build" anywhere. Is there a file I can edit instead or something?
Frak
December 6th, 2007, 11:19 PM
Hi, At the risk of sounding really stupid.... I've read to do this over and over, but I just don't see "apt-build" anywhere. Is there a file I can edit instead or something?
I was just assuming that you had used apt-build, but yes, you can edit a file.
https://wiki.ubuntu.com/global%20menu#uninstall
BoardDWorld
December 7th, 2007, 12:14 AM
So, I did everything spelled out in the global menu install method with packages, and when I ran the mac menu app I got this.
It's grey, without the file edit view, etc in the top. it has the right programs when I load it. What could have gone wrong here?
It requires a theme that is made for the mac menu, or you can modify the theme. Reading through this thread you will find this answer written many times.
Edit: I've just seen that I've started a new page so for those that can't read back one page you can set up the Global Menu here:
https://wiki.ubuntu.com/global_menu (Mac Menu)
mverrilli
December 7th, 2007, 01:40 AM
Thanks, I got it all cleaned up. For some reason I had some broken package issues. I just downloaded the latest released debs (using the list in the original zip file) and reloaded them manually and everything looks good again.
Thanks again. :-)
ayoli
December 7th, 2007, 04:23 AM
So, I did everything spelled out in the global menu install method with packages, and when I ran the mac menu app I got this.
http://img.photobucket.com/albums/v451/ska7245/Screenshot-3.png
It's grey, without the file edit view, etc in the top. it has the right programs when I load it. What could have gone wrong here?
yes, you need a mac-menu compatible theme, or to tweak your own theme.
see here (http://ayozone.org/2007/11/15/mac-menu-gtk-compatible-themes/)
teolemon
December 7th, 2007, 04:19 PM
Ayoli, would it be ok to include your theme blog post in the wiki?
ayoli
December 7th, 2007, 04:56 PM
Ayoli, would it be ok to include your theme blog post in the wiki?
it's ok :)
teolemon
December 8th, 2007, 04:58 AM
Done. I would like to bring the project to the next step by re-skimming the 123 pages or so for additional knowledge and transform it into a project (add a BTS, translation support system et all in Launchpad) , host all the files on a server (or on Launchpad), make a mini website , a discussion forum
We may as well ask somebody to post on Planet Ubuntu for volunteer GTK hackers.
We may as well contact the Mac4Lin guys, but there hasn't been any visible activity since the last release.
I'd love to see a customized version of Ubuntu to see how far we can customize it to look like Leopard (basically, that would be applying the Mac4Lin tutorial by default and adding the Global Menu)
Then we would list the missing features and promote their implementation (not in order to make in the end a mac-alike system but only to create excitement so that we can leverage Linux interfaces)
BoardDWorld
December 8th, 2007, 12:16 PM
Here's another mac menu theme i have just announced:
http://ubuntuforums.org/showthread.php?p=3914741
timoswe
December 9th, 2007, 07:33 AM
I can't get the Mac Menu to work. I have followed the first installation method and use mac4lin theme. The only additional thing I can see on the bottom panel after i added the Mac Menu is a black text that shows the active application. See below. Have I missed something?
Sugz
December 9th, 2007, 02:32 PM
Hmm ive just seen this guys theme and Menu on Gnome-look
How has he got a Finder menu as the default menu, as all i have is a menu that says Gnome?
Picture (http://www.gnome-look.org/CONTENT/content-pre1/42668-1.png)
Oh and that theme look awesome!
ayoli
December 9th, 2007, 05:58 PM
Hmm ive just seen this guys theme and Menu on Gnome-look
How has he got a Finder menu as the default menu, as all i have is a menu that says Gnome?
Picture (http://www.gnome-look.org/CONTENT/content-pre1/42668-1.png)
Oh and that theme look awesome!
GtkMacMenu is only a gtk hack there is no "default environment menu".
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.