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
KingNothing13
January 27th, 2008, 05:52 PM
Does anyone have any tips for getting this working in the 64-bit version of Gutsy?
The instructions given here (https://wiki.ubuntu.com/global_menu), are less that useful at this point, at least for the compiling from source. There really is no clue as to where to find the file, macmenu-applet-0.1.tar.gz. I have downloaded files from the other links, (http://ubuntuforums.org/attachment.php?attachmentid=54026&d=1198381611 which downloads macmenu-applet.c.tar.gz, but that is just a C file, and there is no make file as the instructions give.
Thanks for any help that anyone can lend.
stiffler_zzz
January 27th, 2008, 08:04 PM
Does anyone have any tips for getting this working in the 64-bit version of Gutsy?
The instructions given here (https://wiki.ubuntu.com/global_menu), are less that useful at this point, at least for the compiling from source. There really is no clue as to where to find the file, macmenu-applet-0.1.tar.gz. I have downloaded files from the other links, (http://ubuntuforums.org/attachment.php?attachmentid=54026&d=1198381611 which downloads macmenu-applet.c.tar.gz, but that is just a C file, and there is no make file as the instructions give.
Thanks for any help that anyone can lend.
For gutsy 64 this work (you can find the original post at page 102 of this thread):
Here's how I did it and it worked.
I'm on Gutsy x86_64 (Turion64 HP dv2000).
1. Download the gtk patch that detaches menus from gnome windows.
(http://ubuntuforums.org/attachment.p...chmentid=47782)
2. Download the mac menu applet source.
(http://ubuntuforums.org/attachment.p...chmentid=48014)
3. Install the necessary dependencies for compiling gtk
Code:
sudo apt-get install build-essential autotools-dev comerr-dev dpkg-dev libart-2.0-dev libatk1.0-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libavahi-glib-dev libbonobo2-dev libbonoboui2-dev libc6-dev libcairo-directfb2-dev libcairo2-dev libcupsys2-dev libdbus-1-dev libdirectfb-dev libesd0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgail-dev libgconf2-dev libgcrypt11-dev libgdk-pixbuf-dev libglade2-dev libglib1.2-dev libglib2.0-dev libgnome-keyring-dev libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev libgnutls-dev libgpg-error-dev libgtk1.2-dev libgtk2.0-dev libhal-dev libhal-storage-dev libice-dev libidl-dev libjpeg62-dev libkrb5-dev liblzo2-dev libopencdk8-dev liborbit2-dev libpanel-applet2-dev libpango1.0-dev libpng12-dev libpopt-dev libselinux1-dev libsepol1-dev libsm-dev libstartup-notification0-dev libstdc++6-4.1-dev libsysfs-dev libtasn1-3-dev libtiff4-dev libusplash-dev libwnck-dev libx11-dev libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxml2-dev libxrandr-dev libxrender-dev libxres-dev libxt-dev linux-libc-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-resource-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev xutils-dev zlib1g-dev
3. Get GTK source
Code:
apt-get source libgtk2.0-0
4. Patch and compile GTK source
Code:
gzip -d gtk+-2.12.0-r2-gtkmenubar.diff.gz
cd gtk+2.0-2.12.0/
patch -p0 < ../gtk+-2.12.0-r2-gtkmenubar.diff
./configure --prefix=/usr
make
sudo make install
5. Reboot.
6. Compile the applet.
Code:
sudo apt-get install libwnck-dev libpanelappletmm-2.6-dev
tar -xvzf macmenu-applet-0.1.tar.gz
cd macmenu-applet-0.1/
make
sudo make install
7. Restart gnome-panel
Code:
killall gnome-panel
KingNothing13
January 27th, 2008, 09:49 PM
For gutsy 64 this work (you can find the original post at page 102 of this thread):
Cool, thanks, that helped some, but this command:
apt-get source libgtk2.0-0
is returning:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for gtk+2.0
Does anyone have any ideas as to how to fix that one?
EDIT-- OK, got the source myself, from here http://packages.ubuntu.com/gutsy/libs/libgtk2.0-0 but now I am getting an error during the 'make' phase of the build.
grumble.
Again, thanks in advance!
KingNothing13
January 27th, 2008, 10:32 PM
OK, I got it all compiled, but it looks like this...notice how it cuts off before the whole word of "File". Anyone have any ideas how to fix that?
http://www.berkshire.net/~kingnthg/screenshot.png
rainai2k7
January 28th, 2008, 07:26 PM
Thanks for this! I followed mostly Tamilia's guide here (http://www.taimila.com/?q=node/11) and some others' (and my few modifications) and I got my Ubuntu Gutsy 32-bit to look like this:
http://i55.photobucket.com/albums/g132/RaiNai/UMac8.png
Thanks so much to AqD who started this and to Lauri Tamilia for the great guide and themes.:KS:KS
rainwoodman
January 29th, 2008, 01:27 AM
Hi, KingNothing, and everybody,
Someone should update the ubuntu wiki
The applet has been rewitten, and renamed from macmenu to globalmenu. (since I don't want to go to law issues).
That's why the file is so difficult to find. If you really want the very old adq's original code you can check it out from
http://gnome2-globalmenu.googlecode.com/svn/tags/0.1_11/
The most recent stable tags is located at
http://gnome2-globalmenu.googlecode.com/svn/tags/0.3_234/
The applet code contains a bug and after su make install, you have to edit /usr/lib/bonobo/server/GNOME_GlobalMenuApplet.server.
http://gnome2-globalmenu.googlecode.com/svn/branches/0.3/ contains bug fixes since the 234 tag. But the fixes might have introduced new bugs. (Since I don't have time to heavily test them).
Perhaps the documentation in this link will be useful if you want to install
http://code.google.com/p/gnome2-globalmenu/wiki/Installation
I was planning to write a guide for 'build from scratch' but never manage to collect enough time. There was some building infomation in the Fedora Guide, but might not work. Things have changed a lot, especially the way to patch gtk. Originally I have some auto scripts for patching it on Fedora, but several weeks ago I got rid of them and now you have to manually patch it.
Sorry for the inconvenience, but I am writing a bunch of new code. (hopefully) an easier to install and patch version of global menu 'system' will be available in late February, when a build from scratch guide will be ready, and hopefully several binary packages will also be provided for downloading.
Also, please see
http://code.google.com/p/gnome2-globalmenu/wiki/DevelopmentHome
for a brief idea about the recent development.
Does anyone have any tips for getting this working in the 64-bit version of Gutsy?
The instructions given here (https://wiki.ubuntu.com/global_menu), are less that useful at this point, at least for the compiling from source. There really is no clue as to where to find the file, macmenu-applet-0.1.tar.gz. I have downloaded files from the other links, (http://ubuntuforums.org/attachment.php?attachmentid=54026&d=1198381611 which downloads macmenu-applet.c.tar.gz, but that is just a C file, and there is no make file as the instructions give.
Thanks for any help that anyone can lend.
rainai2k7
January 29th, 2008, 04:01 AM
Hi rainwoodman,
Are you the new "maintainer" for the mac/global menu? Sorry, I was not able to read through all the posts in this thread (I was too lazy; I just read from 1 through 70 then skipped to here... =p) so I don't know what really has been happening with this applet.
I've recently (about 2 or 3 days ago) downloaded the mac/global menu from the links given by this https://wiki.ubuntu.com/global_menu site and compiled from source code using the guide in the "Install using autotools" section. Is the menu from this site different from the one in the links you just posted?
Also, please see
http://code.google.com/p/gnome2-globalmenu/wiki/DevelopmentHome
for a brief idea about the recent development.
I get a "Not Found" error when I click on the diagram link (http://gnome2-globalmenu.googlecode.com/svn/branches/0.4-devel/doc/ClassDiagram.dia) found in the page you mentioned.
Thanks,
Rai
ayoli
January 29th, 2008, 06:32 AM
Hi, KingNothing, and everybody,
Someone should update the ubuntu wiki
The applet has been rewitten, and renamed from macmenu to globalmenu. (since I don't want to go to law issues).
That's why the file is so difficult to find. If you really want the very old adq's original code you can check it out from
http://gnome2-globalmenu.googlecode.com/svn/tags/0.1_11/
The most recent stable tags is located at
http://gnome2-globalmenu.googlecode.com/svn/tags/0.3_234/
The applet code contains a bug and after su make install, you have to edit /usr/lib/bonobo/server/GNOME_GlobalMenuApplet.server.
http://gnome2-globalmenu.googlecode.com/svn/branches/0.3/ contains bug fixes since the 234 tag. But the fixes might have introduced new bugs. (Since I don't have time to heavily test them).
Perhaps the documentation in this link will be useful if you want to install
http://code.google.com/p/gnome2-globalmenu/wiki/Installation
I was planning to write a guide for 'build from scratch' but never manage to collect enough time. There was some building infomation in the Fedora Guide, but might not work. Things have changed a lot, especially the way to patch gtk. Originally I have some auto scripts for patching it on Fedora, but several weeks ago I got rid of them and now you have to manually patch it.
Sorry for the inconvenience, but I am writing a bunch of new code. (hopefully) an easier to install and patch version of global menu 'system' will be available in late February, when a build from scratch guide will be ready, and hopefully several binary packages will also be provided for downloading.
Also, please see
http://code.google.com/p/gnome2-globalmenu/wiki/DevelopmentHome
for a brief idea about the recent development.
I'll try to update the global menu ubuntu wiki page tonight, and yes packages ill be wellcome :) (maybe SkiesOfAzel could provide them for ubuntu ? )
LavianoTS386
January 29th, 2008, 06:41 PM
^ Is there anything in the wiki to help people still using the old macmenu/gtk hack move to the new global menu applet?
rainai2k7
January 29th, 2008, 08:31 PM
^ Is there anything in the wiki to help people still using the old macmenu/gtk hack move to the new global menu applet?I am (was) using the old macmenu and I've "uninstalled" it (by reinstalling libgtk2). Am downloading the new global menu now... Hopefully, I'll be able to get this to work...
jslmg
January 29th, 2008, 09:10 PM
I am (was) using the old macmenu and I've "uninstalled" it (by reinstalling libgtk2). Am downloading the new global menu now... Hopefully, I'll be able to get this to work...
About a month ago, I tried to get the new global menu to install, but I couldn't. There were issues in the instructions for installing that early build--file paths were not correct, and such.
I reported those problems in this thread--posts #1428, 1437, 1455, 1456, 1459, 1467. It seemed no one could figure out what was going wrong.
I hope these have been ironed out. I'll make sure I've fully removed the aqd patch, then try the global menu again.
rainai2k7
January 30th, 2008, 06:42 AM
Hi,
I've tried the new global menu using the packages and guide from this site: http://code.google.com/p/gnome2-globalmenu/wiki/QuickInstallonUbuntu
And, here is what I got:
The Global Menu when there is no active window:
http://i55.photobucket.com/albums/g132/RaiNai/macmenu-1.png
And here it is with the terminal as the active window:
http://i55.photobucket.com/albums/g132/RaiNai/macmenu-2.png
As you can see, the menu I got is not very pretty. For one, it uses a different background from my panel and I can't seem to find an option to change it.
Secondly, it has these arrow buttons on each side, which, though useful in the sense that they allow for scrolling of the menu when they won't fit in the panel, I find distracting. Is there a way to hide these buttons?
Thirdly, the menu items that do appear when there's an active window are not skinned quite well to go with the rest of the panel (as you can see in the second image). It's not always like this, though. Like for gconf-editor, the menus look OK. It seems that the menu applet is using whatever look the menus have originally from their parent window.
If you compare the global menu here from my previous, older macmenu (see my previous post), the previous one looks more polished. So, I'm thinking I'd use the older macmenu. At least, until the newer global menu gets better. I'll be waiting for developments, but, till then, I'll revert to the old menu.
Thanks! And more power to the developers of this cool applet!
Rai
Edit:
I take back what I said about the menus of the current window not skinned to go with the rest of the panel. When I removed the global menu and replaced it with a different instance, the menus became OK. However, when there is no active window, the menu still looks like the first image above. And there are still those arrow buttons. If someone can tell me how to configure the menu to hide the buttons and change the background, I'd appreciate it. Thanks!
ayoli
January 30th, 2008, 06:48 AM
Hi,
I've tried the new global menu using the packages and guide from this site: http://code.google.com/p/gnome2-globalmenu/wiki/QuickInstallonUbuntu
And, here is what I got:
The Global Menu when there is no active window:
http://i55.photobucket.com/albums/g132/RaiNai/macmenu-1.png
And here it is with the terminal as the active window:
http://i55.photobucket.com/albums/g132/RaiNai/macmenu-2.png
As you can see, the menu I got is not very pretty. For one, it uses a different background from my panel and I can't seem to find an option to change it.
Secondly, it has these arrow buttons on each side, which, though useful in the sense that they allow for scrolling of the menu when they won't fit in the panel, I find distracting. Is there a way to hide these buttons?
Thirdly, the menu items that do appear when there's an active window are not skinned quite well to go with the rest of the panel (as you can see in the second image). It's not always like this, though. Like for gconf-editor, the menus look OK. It seems that the menu applet is using whatever look the menus have originally from their parent window.
If you compare the global menu here from my previous, older macmenu (see my previous post), the previous one looks more polished. So, I'm thinking I'd use the older macmenu. At least, until the newer global menu gets better. I'll be waiting for developments, but, till then, I'll revert to the old menu.
Thanks! And more power to the developers of this cool applet!
Rai
I also got some skinning problems with the new global menu, but I managed to have it working (can't renember how).
The arrows will be hide-able in a next version (I think it is alreay done in the last svn revisions).
jslmg
January 30th, 2008, 07:27 AM
Yep, looks like the old Macmenu is still the best option for most people at this point. Global just needs further development.
rainai2k7
January 30th, 2008, 07:30 AM
I also got some skinning problems with the new global menu, but I managed to have it working (can't renember how).
The arrows will be hide-able in a next version (I think it is alreay done in the last svn revisions).Oh, OK. Thanks for the info... I hope you can remember how you fixed it and maybe you can share it here :)... I'll be waiting for that revision. I'll try to look in my system if it has some configuration files (if you know if there are and where they are, please tell me) that maybe I can tweak. Also, I took back what I said about the menus not being skinned well. Well, I take that back again! (This is getting confusing... =p) Pidgin's menu is not skinned well on my system. There may be more applications with this behaviour. Also, it can't seem to display Azureus Vuze's menu. I can't see the menu in the window, but, neither can I see it in the global menu applet. So, I have no menu for Vuze at all. (The older macmenu applet didn't have this problem with Vuze.)
What I do like about this applet though is that when I remove it from my panel, the menus return to their parent windows without me having to do some tweaking/uninstalling/relogging. And that's cool!
ayoli
January 30th, 2008, 09:04 AM
Oh, OK. Thanks for the info... I hope you can remember how you fixed it and maybe you can share it here :)... I'll be waiting for that revision. I'll try to look in my system if it has some configuration files (if you know if there are and where they are, please tell me) that maybe I can tweak. Also, I took back what I said about the menus not being skinned well. Well, I take that back again! (This is getting confusing... =p) Pidgin's menu is not skinned well on my system. There may be more applications with this behaviour. Also, it can't seem to display Azureus Vuze's menu. I can't see the menu in the window, but, neither can I see it in the global menu applet. So, I have no menu for Vuze at all. (The older macmenu applet didn't have this problem with Vuze.)
What I do like about this applet though is that when I remove it from my panel, the menus return to their parent windows without me having to do some tweaking/uninstalling/relogging. And that's cool!
I guess skinning problems are a matter of gtkrc tweaking (gtk theme conf file in your ~/.themes/theme_name/gtk-2.0 directory usually) If I remind the tweak I done on a friend computer (mine still have the old macmenu) I'll share it here.
Dunno for Vuze (I actually even dunno this app) but I think you can use :
export GTK_MENUBAR_NO_MAC="Vuze"
in your ~/.gnomerc file (will work after only logout/in gnome)
if it doesn't work use launch xprop in a terminal and find the CLASS name for vuze's window and in your ~/.gnomerc :
export GTK_MENUBAR_NO_MAC="class_name_of_vuze"
In the new usefull things in global menu there are also the working keybinds (ie ALT+letter) which weren't in the old macmenu.
Benedict
January 30th, 2008, 02:16 PM
Hello All,
I'm really confused. I'm trying to install this on to a fresh Xubuntu 7.10 but I'm getting no where. Here's what I understand:
1. I need to patch GTK so that the menu in GTK app becomes detachable. I can't figure out how to do this.
2. I need to add an applet so that the XFCE panels can display the GTK menu.
3. Finally I need to add the applet to a XFCE panel. I guess I do this by right clicking the panel add selecting 'add applet', but the applet won't appear in the list until I've done steps 1 and 2.
Have I understood the process correctly?
Please can some one explain in clear steps how to do this? I couldn't find a page on the wiki to explain how to do this in Xubuntu/XFCE.
I must emphasis that I'm running Xubuntu/XFCE and not GNOME. There's lots of info for GNOME but very little for XFCE.
Cheers
Benedict
isaacj87
January 31st, 2008, 07:53 PM
Hey guys,
I'm a little late in the game obviously. I was wondering if there are packages for Feisty?
thanks
rainwoodman
February 1st, 2008, 12:30 AM
I guess skinning problems are a matter of gtkrc tweaking (gtk theme conf file in your ~/.themes/theme_name/gtk-2.0 directory usually) If I remind the tweak I done on a friend computer (mine still have the old macmenu) I'll share it here.
Dunno for Vuze (I actually even dunno this app) but I think you can use :
export GTK_MENUBAR_NO_MAC="Vuze"
in your ~/.gnomerc file (will work after only logout/in gnome)
if it doesn't work use launch xprop in a terminal and find the CLASS name for vuze's window and in your ~/.gnomerc :
export GTK_MENUBAR_NO_MAC="class_name_of_vuze"
In the new usefull things in global menu there are also the working keybinds (ie ALT+letter) which weren't in the old macmenu.
I am sorry but the GTK_MENUBAR_NO_MAC environment is not implented in the 0.3 version. There will be a final solution for filtering different applications in version 0.4. My plan is to read in some gconf key or read some file for the different treatment of strange applications. The file can be located at user's home directory and a systemwide list will also be available. This is called Quirks. If there is enough time the Quirks files will be some XML. If there is no enough time, XML format quirks will be postponed to version 0.5.
rainwoodman
February 1st, 2008, 12:33 AM
In a very recent release we will get rid of those ugly arrows.
It is already removed by default in the svn.
See the boxed dialog.
rainwoodman
February 1st, 2008, 12:36 AM
About a month ago, I tried to get the new global menu to install, but I couldn't. There were issues in the instructions for installing that early build--file paths were not correct, and such.
I reported those problems in this thread--posts #1428, 1437, 1455, 1456, 1459, 1467. It seemed no one could figure out what was going wrong.
I hope these have been ironed out. I'll make sure I've fully removed the aqd patch, then try the global menu again.
I know nothing about debian packaging. But if you'd like to build from source before we manage to collect enough time to make any packages for debian, here is the guide for building from source.
http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch
rainwoodman
February 1st, 2008, 12:50 AM
Hi rainwoodman,
Are you the new "maintainer" for the mac/global menu? Sorry, I was not able to read through all the posts in this thread (I was too lazy; I just read from 1 through 70 then skipped to here... =p) so I don't know what really has been happening with this applet.
I've recently (about 2 or 3 days ago) downloaded the mac/global menu from the links given by this https://wiki.ubuntu.com/global_menu site and compiled from source code using the guide in the "Install using autotools" section. Is the menu from this site different from the one in the links you just posted?
It is different. those code are stored in branches/0.1 and tags/0.1*
I get a "Not Found" error when I click on the diagram link (http://gnome2-globalmenu.googlecode.com/svn/branches/0.4-devel/doc/ClassDiagram.dia) found in the page you mentioned.
Thanks,
Rai
hi Rai, it is different. since I begin to write code for the global menu project, I made too many frequent changes in the structure, and documentation didn't catch up.
The Not Found error is also due to another change in the structure. Those images are now part of the source of 0.4-devel and stored at svn/branches/0.4-devel/doc/reference/libgnomenu/ .
When the 0.4 version is finished, the full documentation for development global menu application will be availible at the same time.
Most part of the installation will be (and actually has already been in the svn tags/0.3_323 ) reduced into a configure/make
scheme. However because we are not going to ship any source code of gtk, patching will still manual work.
I will always upload the rpms whenever a big snapshot is created in tags. Other project members will also try to create packages when they have time.
I've finally written a building guide at
http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch
I hope it will help.
rainwoodman
February 1st, 2008, 01:02 AM
I'll try to update the global menu ubuntu wiki page tonight, and yes packages ill be wellcome :) (maybe SkiesOfAzel could provide them for ubuntu ? )
Thanks ayoli!
If everything is fine I'll move back to the development of 0.4-devel.
After adopting OO it really gets complex. Nevertheless about 1/3 of the work is already finished by now.
rainwoodman
February 1st, 2008, 01:05 AM
I'll create an issue in the project website. We have two developers now and hopefully my friend will fix it. I personally don't use the label (It will then be too similar to a mac), thus it is only a stub that demonstrate a label is possible.....
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.
tominabox1
February 2nd, 2008, 03:46 PM
Just installed per instructions here: https://wiki.ubuntu.com/global_menu
and I have nothing in the bar except 2 arrows pointing < and >. Did I miss something or am I supposed to install from another location?
Thanks for the help and I greatly appreciate the work you're doing!
ayoli
February 2nd, 2008, 05:22 PM
Thanks ayoli!
If everything is fine I'll move back to the development of 0.4-devel.
After adopting OO it really gets complex. Nevertheless about 1/3 of the work is already finished by now.
Done, wiki updated here (https://wiki.ubuntu.com/global_menu#ng) and here (https://wiki.ubuntu.com/global_menu#fdi)
Did you think about anticipating the compatibility with next gtk versions (since I guess next ubuntu release (for April 2008 ) will use a more recent gtk) ?
rainwoodman
February 3rd, 2008, 02:02 AM
Done, wiki updated here (https://wiki.ubuntu.com/global_menu#ng) and here (https://wiki.ubuntu.com/global_menu#fdi)
Did you think about anticipating the compatibility with next gtk versions (since I guess next ubuntu release (for April 2008 ) will use a more recent gtk) ?
Hi ayoli, Thank you for the wiki.
But there is two notes,
1 the build guide is already done.
http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch
2 the installation bug in svn234 is fixed in svn 323
http://gnome2-globalmenu.googlecode.com/svn/tags/0.3_323/
Thus the latest stable tag is 0.3_323 (instead of 0.3_234, as mentioned in the wiki.
as for the compatibility issue, the 0.4 version will only patch one or two functions in gtk. Unless they make huge changes to GtkMenuxxx, things will be just fine. I am working on a fedora system which doesn't build the recent gtk svn(some dependency problem). But I'll check if the patch can apply to it.
ayoli
February 3rd, 2008, 04:48 AM
Hi ayoli, Thank you for the wiki.
But there is two notes,
1 the build guide is already done.
http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch
2 the installation bug in svn234 is fixed in svn 323
http://gnome2-globalmenu.googlecode.com/svn/tags/0.3_323/
Thus the latest stable tag is 0.3_323 (instead of 0.3_234, as mentioned in the wiki.
Modifications done. So is it ok to remove this note :
The applet code contains a bug and after su make install, you have to edit /usr/lib/bonobo/server/GNOME_GlobalMenuApplet.server.
http://gnome2-globalmenu.googlecode.com/svn/branches/0.3/ contains bug fixes since the 234 tag. But the fixes might have introduced new bugs. (Since I don't have time to heavily test them).
as for the compatibility issue, the 0.4 version will only patch one or two functions in gtk. Unless they make huge changes to GtkMenuxxx, things will be just fine. I am working on a fedora system which doesn't build the recent gtk svn(some dependency problem). But I'll check if the patch can apply to it.
Ok, maybe people here using testing ubuntu version could do testing for you (with instructions to fellow and questions to answer to on a wiki page on your googlecode site for ex).
dbbolton
February 3rd, 2008, 08:57 PM
For anyone who's interested:
http://gnome-look.org/content/show.php/Clearlooks-MacMenubar?content=74666
I made a Clearlooks mod that allows you to put one image for the whole panel. It works fine on Feisty with this (http://ubuntuforums.org/showpost.php?p=2591836&postcount=532) version of the menubar, but I'd really like someone to test on Gutsy and the latest versions to see if it still works.
ayoli
February 4th, 2008, 04:30 AM
For anyone who's interested:
http://gnome-look.org/content/show.php/Clearlooks-MacMenubar?content=74666
I made a Clearlooks mod that allows you to put one image for the whole panel. It works fine on Feisty with this (http://ubuntuforums.org/showpost.php?p=2591836&postcount=532) version of the menubar, but I'd really like someone to test on Gutsy and the latest versions to see if it still works.
Quickly tested your theme this morning, it works fine with gusty.
tominabox1
February 4th, 2008, 09:22 AM
Since I havent got an answer yet... My menu bar doesnt have anything in it just like this: http://ubuntuforums.org/attachment.php?attachmentid=58663&d=1202131229
used these instructions: https://wiki.ubuntu.com/global_menu
Any help?
ayoli
February 4th, 2008, 09:52 AM
Since I havent got an answer yet... My menu bar doesnt have anything in it just like this: http://ubuntuforums.org/attachment.php?attachmentid=58663&d=1202131229
used these instructions: https://wiki.ubuntu.com/global_menu
Any help?
- Which method did you use ?
- Note that won't work with firefox, open office, kde apps and few other incompatible apps.
- When you launch a gtk app (gedit for ex) is the menu stand in the applet, is the menu stand in the window, detached of the window ?
tominabox1
February 4th, 2008, 12:57 PM
- Which method did you use ?
- Note that won't work with firefox, open office, kde apps and few other incompatible apps.
- When you launch a gtk app (gedit for ex) is the menu stand in the applet, is the menu stand in the window, detached of the window ?
I used the method that is first under the "installation Instructions" (packages)
as for running gedit, the menus dont come off or anything... i have them set to be removable in gTweakUI but they dont seem to work.
Thanks for the help.
I may try to uninstall and reinstall global menu to see if it helps.
EDIT: just tried to reinstall by building the source from scratch and now I dont have any icons or menus on my desktop.... ie: right click on desktop and nothing comes up.... help!
EDIT2: Fixed the dealio with the desktop... but no luck on the bar
az_s_za
February 5th, 2008, 09:27 AM
Since I installed the "old-style" mac-menu gtk patch a few months ago I have not been following this thread.
I need to install it all again as I recently did a fresh install on my machine.
I was happy with how to get build the old patch from source, and happy with how it worked. Now I see this new "global-menu" on the wiki.
Just wondering how stable / easy to install is this new one? Has it been working for most people, and does it look OK? If not 'yes' to all of these, I may as well stick to the one I have used before.
Thanks
LavianoTS386
February 5th, 2008, 12:24 PM
Yeah a new development thread should really be started, so people don't get confused, cause there are 2 different names (macmenu and globalmenu), and many different directions being thrown around. After 100 pages these threads become kind of hard to navigate
teolemon
February 5th, 2008, 01:20 PM
We're working on having a whole subforum for GnomeGlobalMenu. That would mean a Dev thread, a Help thread, a Feature request , and so on.
The request has been made , and ubuntu-geek is reviewing it.
ayoli
February 5th, 2008, 04:04 PM
We're working on having a whole subforum for GnomeGlobalMenu. That would mean a Dev thread, a Help thread, a Feature request , and so on.
The request has been made , and ubuntu-geek is reviewing it.
I strongly support this idea. I won't spam the staff members to say that, just hope they will accept the idea since global menu is now a real project and people use it and want it a lot.
az_s_za
February 5th, 2008, 11:47 PM
We're working on having a whole subforum for GnomeGlobalMenu. That would mean a Dev thread, a Help thread, a Feature request , and so on.
The request has been made , and ubuntu-geek is reviewing it.
All very nice, and I really appreciate all the work so many of you have put into this... but for now, which one should I try?
Is the global menu good enough yet for everyday use, or do I stick with the old mac-menu that I am familiar with? Recommendations???
teolemon
February 6th, 2008, 08:26 PM
The new one is the way to go imho. I have one of the first version installed, and it was already better than the old one.
tominabox1
February 6th, 2008, 08:28 PM
I still havent heard any help for my situation... I have installed the thing but it doesnt work for any apps. Maybe its because i have both Global Menu and Mac Menu installed? (I dont even know the difference, I thougth they were the same thing...)
ayoli
February 7th, 2008, 06:23 AM
I still havent heard any help for my situation... I have installed the thing but it doesnt work for any apps. Maybe its because i have both Global Menu and Mac Menu installed? (I dont even know the difference, I thougth they were the same thing...)
Mac menu is the old patch and applet, originally written by Adq. Global menu is the new one completely rewritten by rainwoodman.
You can't have the two menu at the same time. since the gtk patch is not the same.
If you tried to patch gtk and it didn't work, please give more details :
- what version of gtk (and source : from ubuntu repo, from gtk ?)
- which patch (link or attach te patch)
- did you notice errors when you applied the patch ? (if yes attach the .rej file)
Then we could help you more.
I think you have to start by reinstalling a clean non patched gtk, then retry to patch from a clean source.
tominabox1
February 7th, 2008, 11:09 AM
Mac menu is the old patch and applet, originally written by Adq. Global menu is the new one completely rewritten by rainwoodman.
You can't have the two menu at the same time. since the gtk patch is not the same.
If you tried to patch gtk and it didn't work, please give more details :
- what version of gtk (and source : from ubuntu repo, from gtk ?)
- which patch (link or attach te patch)
- did you notice errors when you applied the patch ? (if yes attach the .rej file)
Then we could help you more.
I think you have to start by reinstalling a clean non patched gtk, then retry to patch from a clean source.
All right, how do I go about reinstalling gtk? I've searched around a while and havent found the instructions yet...
Thanks for the help.
ayoli
February 7th, 2008, 05:43 PM
All right, how do I go about reinstalling gtk? I've searched around a while and havent found the instructions yet...
Thanks for the help.
try:
sudo apt-get install libgtk2.0-0 --reinstall
az_s_za
February 8th, 2008, 05:36 AM
The new one is the way to go imho. I have one of the first version installed, and it was already better than the old one.
Thanks for the recommendation.
I have installed the new global menu, and here are my experiences / initial thoughts:
INSTALLATION:
The instructions on the original wiki page (https://wiki.ubuntu.com/global_menu#deb) for the .deb installation method did not work for me. Even after installing all the packages listed as dependencies, I still had unsatisfied dependencies that I could not resolve.
Note, for newbies to this thread, this ".deb method" from the wiki page is the only method which deals with the gnome2-global-menu project. The other methods are for the older "mac-menu" applet.
Then I followed the links to the installation (http://code.google.com/p/gnome2-globalmenu/wiki/Installation) section of the gnome2-global-menu project page. This offers 2 choices, the "new", "Quick-Install-on-Ubuntu" page and the "Installation-On-Ubuntu" page.
The Quick install method was messy with some problems (e.g. the initial wget command doesn't get anything), but even after working this out, I still had dependancy problems.
Finally I went to the InstallingonUbuntu (http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu) page. These instructions worked, and is the method I would recommend trying 1st. Only a couple of minor problems... some of the commands required "sudo", and the last "cd" command points to the wrong directory, but it was easy to see the real intended directory.
INITIAL THOUGHTS:
So far, I actually prefer the old appelet, for the following reasons:
- the old one gave me the name of the application the menu was representing, which I like to see;
- when there is no active application (i.e. looking at the desktop only), I see a bar in place of the appelet which is not the same colour as the panel
- I don't need the scrolling arrows, as I have plenty of room for the biggest menus. I do feel its a good idea though.
All in all, these are only minor annoyances... I am VERY happy with the appelet as it satisfies my primary need of more screen-estate. With a 11.1" screen of 1366x768 pixels, I have plenty of width for the menu on my panel, but want to conserve height.
:) Thanks
andrek
February 8th, 2008, 07:10 AM
(...)So far, I actually prefer the old appelet,(...)
Is there any tutorial how to install it?
az_s_za
February 8th, 2008, 07:33 AM
Is there any tutorial how to install it?
Yep, the main wiki here (https://wiki.ubuntu.com/global_menu)
It lists 4 alternative methods for installing a global menu (5 if you count installing the applet from source). The first 2 refer to the new global menu, the 2nd 2 refer to the older one (referred to as the "AdQ Patch").
The "autotools" method worked fine for me. Just make sure you follow it exactly.
andrek
February 8th, 2008, 07:37 AM
OK, now the most important question is.. will it work with xfce and its xfce4-panel ?
az_s_za
February 8th, 2008, 08:12 AM
OK, now the most important question is.. will it work with xfce and its xfce4-panel ?
It is supposed to.
I hope there is someone who knows more about the patch than I do who can help you with that, because I tried it a few months ago. (I normally use gnome, but had a play with xfce for 1-day only). I found that my menu was detached, but not into the panel, and there were a few other minor bugs which basically made it unusable for me.
Anyone else got it working in xfce?
tomillo
February 9th, 2008, 05:17 PM
Hello,
I made a package of applet and patched gtk for gutsy. Works for me.
HOWTO INSTALL:
1. Install macmenu-applet_0.1-2_i386.deb
2. Download libgtk2.0-part1.tar.bz2, libgtk2.0-part2.tar.bz2 and install.sh
3. Go to this directory in terminal
4. Run sudo sh install.sh
5. Add macmenu applet to a gnome-panel
6. Log off/Log on
HOWTO UNINSTALL:
1. run 'sudo apt-get install --reinstall libgtk2.0-0'
I uninstall this applet and restart os, The menu below the main and i dont know how do to fix it.
http://img267.imageshack.us/img267/3690/pantallazo1gu7ky3.th.png (http://img267.imageshack.us/my.php?image=pantallazo1gu7ky3.png)
ayoli
February 9th, 2008, 06:21 PM
I uninstall this applet and restart os, The menu below the main and i dont know how do to fix it.
http://img267.imageshack.us/img267/3690/pantallazo1gu7ky3.th.png (http://img267.imageshack.us/my.php?image=pantallazo1gu7ky3.png)
you need to reinstall a non patched libgtk (as said in the quote)
sudo apt-get install --reinstall libgtk2.0-0
rainwoodman
February 11th, 2008, 12:36 PM
Hi guys, is any of you familiar with firefox extensions?
Some of the extension can remove the menubar of firefox, some can move the menu items into its own popup.
One of them is
https://addons.mozilla.org/en-US/firefox/addon/3895
Is it possible to hide the firefox menubar and create a real GtkMenuBar, then put every menu item in it by a firefox extension? Then we can have a native(thus a global) menubar for firefox.
Maybe or not some of you will be interested on doing this, but I really don't know how to do it. A native binary extension is needed. ( for create a GtkMenuBar and expose some methods to be accesed by javascripts), and some js script is also necessary(to move the firefox menu items to the GtkMenuBar and hide the original menubar)
male81
February 11th, 2008, 02:22 PM
I don't undestand if globalmenubar will be compatible ( ..following FreeDesktop standards, if there are..) with KDE apps, instead of Xul-based apps..
:confused:
teolemon
February 11th, 2008, 03:40 PM
The most knwoledgeable guy about Firefox and its interactions with GTK might be : http://ventnorsblog.blogspot.com/
He's the guy who added native GTK fields in pages. He might be helpful on the subject.
ayoli
February 11th, 2008, 05:28 PM
I don't undestand if globalmenubar will be compatible ( ..following FreeDesktop standards, if there are..) with KDE apps, instead of Xul-based apps..
:confused:
KDE and GTK are two different toolkits, and the global menu won't handle kde menus but only gtk's.
Btw, kde already have a menu detachable to a panel.
male81
February 11th, 2008, 07:35 PM
KDE and GTK are two different toolkits, and the global menu won't handle kde menus but only gtk's.
Btw, kde already have a menu detachable to a panel.
Sorry, i know that.
I ask you if with the new project Global Menubar will be possible to follow Intregration between GTK+ & Qt, so the development could be more "official".
:)
tomillo
February 11th, 2008, 08:43 PM
you need to reinstall a non patched libgtk (as said in the quote)
sudo apt-get install --reinstall libgtk2.0-0
I tried, but dont repair this..
rainwoodman
February 11th, 2008, 09:05 PM
Sorry, i know that.
I ask you if with the new project Global Menubar will be possible to follow Intregration between GTK+ & Qt, so the development could be more "official".
:)
So far there is no freedesktop standard for global menu bar.(as far as I know)
Maybe one of the reason is because GNOME lacks it.
rainwoodman
February 11th, 2008, 09:09 PM
The most knwoledgeable guy about Firefox and its interactions with GTK might be : http://ventnorsblog.blogspot.com/
He's the guy who added native GTK fields in pages. He might be helpful on the subject.
He seems to be a developer of firefox who is working on linux nativeliaztion of firefox. I've left a message on his blog about the performance of firefox under global menu. I hope he can understand what I said(my English sucks!) though.
Anyway I am NOT going to write the extension. It is far out of my knowledge and effort.
ampl1f1er
February 12th, 2008, 09:17 AM
I uninstall this applet and restart os, The menu below the main and i dont know how do to fix it.
http://img267.imageshack.us/img267/3690/pantallazo1gu7ky3.th.png (http://img267.imageshack.us/my.php?image=pantallazo1gu7ky3.png)
I am having the same problem.. any solution?
hazyumps
February 12th, 2008, 04:05 PM
Hey, so i have the globalmenu app installed and working - wonderfully. The only qualm i have is the 2 arrows on the end of the bar...i saw a ref to a no-arrow patch but i cant find it anywhere. any idea where to d/l it or other ways to remove them?? thanks n adv.
rainwoodman
February 12th, 2008, 04:21 PM
Hi, all,
this is a message from our developer:
--------------------------
Comment 7 by fengshenx, Today (4 hours ago)
Hi all,
Try fixed deb package.
Package:
http://gnome2-globalmenu.googlecode.com/files/gtk2.0-ubuntu-gutsy.tar.gz
Updated install guideline:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
---------------------------
Also, there still lacks a ubuntu package for the recent menubar applet which can remove those arrows. (for hazyumps).
hazyumps
February 12th, 2008, 07:31 PM
thanks man - @ least now im not hunting for days lol - love the app tho makes everything clean up really nicely...
rainwoodman
February 13th, 2008, 03:16 PM
thanks man - @ least now im not hunting for days lol - love the app tho makes everything clean up really nicely...
Hi, there is update for ubuntu update guide.
Hopefully, we are going to release deb build a svn 400(or around) build soon, which sovles the short title label problem and other recent complains we collected from this thread.
LavianoTS386
February 13th, 2008, 10:12 PM
I am having the same problem.. any solution?
same problem here.
zp3dd4
February 14th, 2008, 03:56 AM
The svn installation guide posted on
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
does not work for me..
Also its really vague, for example it mentions:
sudo gedit <name of the series file>
and I have no idea to which file this refers to..
thanks
ayoli
February 14th, 2008, 05:26 AM
The svn installation guide posted on
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
does not work for me..
Also its really vague, for example it mentions:
sudo gedit <name of the series file>
and I have no idea to which file this refers to..
thanks
this file is in the debian/patch directory and is called series. it contains the names of the used patches to apply before buiding.
ayoli
February 14th, 2008, 05:28 AM
same problem here.
Uninstall the applet isn't enough, you have to reinstall libgtk.
zp3dd4
February 14th, 2008, 03:46 PM
in the newest svn there is no "debian/patch directory and is called series"
also "dpkg-buildpackage -r fakeroot" does not work :(
thx
ayoli
February 14th, 2008, 04:49 PM
in the newest svn there is no "debian/patch directory and is called series"
also "dpkg-buildpackage -r fakeroot" does not work :(
thx
I guess the global menu wiki is not made to learn how to build a deb package.
You should start here (https://wiki.ubuntu.com/PackagingGuide/Complete) to learn basics about building a deb.
Or wait for the future debs (hopefully soon).
zp3dd4
February 14th, 2008, 09:09 PM
another issue i have is that I have the old version of the mac menu applet. I compiled it from source, but now I don't know how to remove it.
sudo apt-get clean && sudo apt-get update && sudo apt-get install --reinstall -y libgtk2.0-0
does not remove it, neither does force version..
thx a lot
Spinnick597
February 15th, 2008, 12:18 AM
Hello,
Please forgive me if this issue has already been addressed, but several hours of tinkering and searching haven't been enough to get this working for me.
I'm trying to use the macmenu applet with xfce in xubuntu 7.10 - my gtk is patched (all of my menus float in the upper left of my screen), and the macmenu applet (which I've put in what I believe is the right place) appears in xfce4-panel 's list of items that can be added. But if I run xfce4-panel from the terminal and try to add the macmenu plugin - either via doubleclick or drag-and-drop - I am greeted with the following error messages:
** Message: Mac Menu: screen changed: 0
** Message: No valid plug window.
(xfce4-panel:6026): Gtk-CRITICAL **: gtk_socket_get_id: assertion `GTK_WIDGET_ANCHORED (socket)' failed
** (xfce4-panel:6026): CRITICAL **: An item was unexpectedly removed: "Mac Menu".
Hopefully I'm the typical noob and this is simple and obvious human error. If anyone has resolved a similar problem or can point me in the right direction, that would be greatly appreciated! :)
*EDIT: It works! Recompiling the plugin did the trick. :)
Sikon
February 15th, 2008, 01:50 PM
The new globalmenu doesn't work for Eclipse for me (the old macmenu did), the menubar just disappears.
Is it possible to disable it for a single application somehow? GTK_MENUBAR_NO_MAC no longer works.
LavianoTS386
February 15th, 2008, 03:34 PM
another issue i have is that I have the old version of the mac menu applet. I compiled it from source, but now I don't know how to remove it.
sudo apt-get clean && sudo apt-get update && sudo apt-get install --reinstall -y libgtk2.0-0
does not remove it, neither does force version..
thx a lot
I am experiencing the same problem, I used the patch.
ayoli
February 15th, 2008, 04:13 PM
I am experiencing the same problem, I used the patch.
try:
sudo apt-get install libgtk2.0-0=2.12.0-1ubuntu3
zp3dd4
February 15th, 2008, 04:47 PM
it still doesn't work.
It gives:
peter@peter-laptop:~$ sudo apt-get install libgtk2.0-0=2.12.0-1ubuntu3
[sudo] password for peter:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgtk2.0-0 is already the newest version.
The following packages were automatically installed and are no longer required:
libaudacious5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
peter@peter-laptop:~$
thx
ayoli
February 15th, 2008, 05:03 PM
it still doesn't work.
It gives:
peter@peter-laptop:~$ sudo apt-get install libgtk2.0-0=2.12.0-1ubuntu3
[sudo] password for peter:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgtk2.0-0 is already the newest version.
The following packages were automatically installed and are no longer required:
libaudacious5
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
peter@peter-laptop:~$
thx
ok, so try like this :
download the package for your arch here :
http://packages.ubuntu.com/gutsy/libs/libgtk2.0-0
then :
sudo dpkg -i libgtk2.0-0*.deb
zp3dd4
February 15th, 2008, 07:14 PM
oh it works
thanks a lot :p
ayoli
February 16th, 2008, 03:54 AM
Welcome.
rainwoodman
February 17th, 2008, 01:51 AM
A screenshot of in-progress development.
[rainwoodman@localhost libgnomenu]$ wc *.c *.h
458 1215 13452 clienthelper.c
988 3366 29764 gdksocket.c
79 234 2829 gnomenu-enums.c
168 472 7321 gnomenu-marshall.c
21 37 415 gnomenumessage.c
730 1958 22531 gtkglobalmenubar.c
13 20 235 quirks.c
557 1497 17194 serverhelper.c
66 192 2421 clienthelper.h
118 464 3786 gdksocket.h
24 54 571 gnomenu-enums.h
45 93 2317 gnomenu-marshall.h
279 723 6966 gnomenumessage.h
76 298 2609 gtkglobalmenubar.h
74 278 2591 quirks.h
110 385 4250 serverhelper.h
3806 11286 119252 total
Dark Star
February 17th, 2008, 04:16 AM
The d/l link @ WIki page ends before completing the download.. I guesss there is some error in that :(
ayoli
February 17th, 2008, 04:27 AM
The d/l link @ WIki page ends before completing the download.. I guesss there is some error in that :(
There's many links on this page so, which link ?
Dark Star
February 17th, 2008, 06:46 AM
There's many links on this page so, which link ?
Sorry for giving incomplete info.. the 1'st package of .deb installation :|
ayoli
February 17th, 2008, 07:37 AM
Sorry for giving incomplete info.. the 1'st package of .deb installation :|
did you mean this one :
http://gnome2-globalmenu.googlecode.com/files/patched-gtk-ubuntu-gutsy-i386-part1.tar.gz
I've tried it, it worked for me.
You may give it a try again.
giampy86
February 17th, 2008, 01:16 PM
hi guys.. can someone compile globalmenu for debian??
i tried to compile it on my lenny but it didn't work..(i used the wiki on googlecode page).
bye
rainwoodman
February 17th, 2008, 08:23 PM
The GTK patch is done.
Interprocess menubar embedding is almost working.
It seems to be the right time to write the applet now. But I won't have time next week.
rainwoodman
February 17th, 2008, 08:45 PM
hi guys.. can someone compile globalmenu for debian??
i tried to compile it on my lenny but it didn't work..(i used the wiki on googlecode page).
bye
which are your compiling? which page are you following?
what error did you meet?
would you submit an new issue to the project?
rainwoodman
February 18th, 2008, 12:31 AM
which are your compiling? which page are you following?
what error did you meet?
would you submit an new issue to the project?
so many question marks.....
fengshenx
February 18th, 2008, 02:04 AM
hi guys.. can someone compile globalmenu for debian??
i tried to compile it on my lenny but it didn't work..(i used the wiki on googlecode page).
bye
Hi,
compiling guideline for Ubuntu has been updated. You can try it again.
Maybe it works in Debian.
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
giampy86
February 18th, 2008, 10:36 AM
hi guys..
I was trying to compile gtk+-aqd following this page http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
section : compile from SVN.
During compiling i don't get any errors.
then I compiled and packaged gnome2-globalmenu-applet (without errors).
I can load the applet itself but it is kinda i didn't patch anything...just compiled gtk from source.
bye bye
andrek
February 18th, 2008, 10:46 AM
I suggest you guys to install the whole thing using this tutorial : https://wiki.ubuntu.com/global_menu#apt-build
Although it is based on the old aqd hack, it still does look better for me.
giampy86
February 18th, 2008, 11:11 AM
following the "apt-build" way i get this error
Applying patch 099_mac_menubar.patch
patching file gtk/gtkmenubar.c
Hunk #3 succeeded at 234 with fuzz 2 (offset 128 lines).
Hunk #4 FAILED at 408.
1 out of 4 hunks FAILED -- rejects in file gtk/gtkmenubar.c
Patch 099_mac_menubar.patch does not apply (enforce with -f)
the version of gtk i was trying to patch is 2.12.8
Besides using the patch downloaded from this link http://code.google.com/p/gnome2-globalmenu/downloads/list gtkmenubar.patch.tar.bz2
i get this error
Applying patch 098_gtkmenubar.patch
patching file gtk/gtkmenubar.c
Hunk #4 succeeded at 263 (offset 127 lines).
Hunk #5 FAILED at 302.
1 out of 12 hunks FAILED -- rejects in file gtk/gtkmenubar.c
patching file gtkmenuembed-x11.h
Patch 098_gtkmenubar.patch does not apply (enforce with -f)
Dark Star
February 18th, 2008, 11:56 AM
did you mean this one :
http://gnome2-globalmenu.googlecode.com/files/patched-gtk-ubuntu-gutsy-i386-part1.tar.gz
I've tried it, it worked for me.
You may give it a try again.
Can you please upload that archive for me ..Its still not getting download fully here :(
Oleg_G
February 22nd, 2008, 07:34 AM
Is it possible to make something like "Desktop menu" in KDE, when desktop, firefox or other application without menu is active?
rainwoodman
February 22nd, 2008, 02:19 PM
Is it possible to make something like "Desktop menu" in KDE, when desktop, firefox or other application without menu is active?
It is possible, but we are not concentrating on this, lacking of a clear solution.
BTW, KDE global menu support is achieved by a hack in applet in a 0.3 branch(trunk).
http://gnome2-globalmenu.googlecode.com/svn/trunk/
I'll appeciate if some of you will have a test on it(only need to recompile the applet).
Oleg_G
February 22nd, 2008, 06:53 PM
It works only with the first launched kde application. Than menu disapears and works only with kde aps. But maybe it's because I use libgtk2 from deb package. Is there difference between it and patched from trunk?
Snoober
February 22nd, 2008, 07:55 PM
This looks incredibly awesome, however I am encountering a problem when I try to install it (double click .deb file) in Gutsy:
Error: Dependency is not satisfiable: libgtk2.0-0
Thoughts? I appreciate any help as I am a Linux newbie.
rainwoodman
February 22nd, 2008, 08:39 PM
It works only with the first launched kde application. Than menu disapears and works only with kde aps. But maybe it's because I use libgtk2 from deb package. Is there difference between it and patched from trunk?
You have to install the patched gtk for gtk menus.
I made a fix (even dirtier) for kde, would you test if it works?
Also, thanks to bis0n.lives' work. In /trunk we have a the applet also work for xfce now!
XFCE (full) + GNOME(full) + KDE(partial).
giampy86
February 23rd, 2008, 08:07 AM
@rainwoodman
do u know why the hell i am getting these errors?? [hunk failed]
bye bye :popcorn:
Sagia
February 23rd, 2008, 09:45 AM
How to install this thing?
I have mess my ubuntu for eight times and doing clean install and update with my 128 Kbps,
I'm using gutsy
rainwoodman
February 23rd, 2008, 01:45 PM
@rainwoodman
do u know why the hell i am getting these errors?? [hunk failed]
bye bye :popcorn:
I didn't see any changes in gtkmenubar.c
since 2.12.2
http://svn.gnome.org/viewvc/gtk%2B/tags/GTK_2_12_8/gtk/gtkmenubar.c?view=log
I guess you use are using a otherwise patched gtk.
What about filing an issue at the project page attaching the .rej files and your origin gtkmenubar.c? I also uploaded the newest patch as
http://gnome2-globalmenu.googlecode.com/files/gtk2-aqd.patch.453.tar.gz
You may also have a try on it.
rainwoodman
February 23rd, 2008, 01:51 PM
How to install this thing?
I have mess my ubuntu for eight times and doing clean install and update with my 128 Kbps,
I'm using gutsy
I suggest you download the origin ubuntu gtk .deb file to your hard drive before trying this hell thing. Then if things messed up for several times, you don't need to download for several times.
I am no familiar with ubuntu system, but did you ever try the new packages at
http://gnome2-globalmenu.googlecode.com/files/gtk2.0-ubuntu-gutsy.tar.gz
and
http://gnome2-globalmenu.googlecode.com/files/gnome2-globalmenu-applet_0.3.397-1_i386.deb ?
If not, I strongly recommend you give then a try. If you are having problems with the above two packages, please file an issue at
http://code.google.com/p/gnome2-globalmenu/issues/entry
describing what error you see:
1 when you try to install,
2 when you managed to install but fail to start it,
3 when you get bored and want to remove it.
With (but not only with) these information, we can try to locate the bugs(quickly)and make bug fixes for you.
Thank you very much!
rainwoodman
February 23rd, 2008, 01:54 PM
Can you please upload that archive for me ..Its still not getting download fully here :(
What about this?
http://gnome2-globalmenu.googlecode.com/files/gtk2.0-ubuntu-gutsy.tar.gz
this looks like a one part tarball of what you want.
oparada88
February 23rd, 2008, 04:43 PM
can this work with Feisty? i think it awesome and i wanna try it
Sagia
February 23rd, 2008, 11:31 PM
Thank for your reply
I manage to install it, and it work :)
but when i click desktop, it doesn't show anything on panel
how to put fake menu in there?
thank you
giampy86
February 24th, 2008, 08:21 AM
hi guys..
i am so lucky
btw using "apt-build" way and the lastest gtk2-aqd patch i am getting a :
collect2 : ld returned 1 exit status...any clue?
gcc -Wall -g -O2 -o .libs/gtk-query-immodules-2.0 queryimmodules.o ./.libs/libgtk-directfb-2.0.so
../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-directfb-2.0.so
../gdk/.libs/libgdk-directfb-2.0.so: undefined reference to `cairo_directfb_surface_create'
collect2: ld returned 1 exit status
bye bye
ububug
February 24th, 2008, 02:11 PM
Just one doubt: it works with Hardy (libgtk2-2.12.8)?
Tiede
February 26th, 2008, 03:31 PM
Hmmm. I have been noticing some strange behaviors after using Mac Menu...
I have a .gnomerc file with export GTK_MENU_BAR_NO_MAC=1 and it makes the gtk themes act normal under gnome. However, under KDE or enlightenment, the menu bar just "floats" somewhere on the upper left of the display, until such time as when I close the program - at which point it may decide to either quit properly, or crash, depending on the app. This is quite an annoyance to me. Any ideas how I can fix this? Thank you for your answers.
motang
February 26th, 2008, 03:42 PM
Pure madness...I love it. :-D
ayoli
February 26th, 2008, 03:43 PM
Hmmm. I have been noticing some strange behaviors after using Mac Menu...
I have a .gnomerc file with export GTK_MENU_BAR_NO_MAC=1 and it makes the gtk themes act normal under gnome. However, under KDE or enlightenment, the menu bar just "floats" somewhere on the upper left of the display, until such time as when I close the program - at which point it may decide to either quit properly, or crash, depending on the app. This is quite an annoyance to me. Any ideas how I can fix this? Thank you for your answers.
Other DE won't read your .gnomerc file so make an executable script that export GTK_MENU_BAR_NO_MAC=1 and which is launched at DE startup.
ayoli
February 26th, 2008, 03:47 PM
Just one doubt: it works with Hardy (libgtk2-2.12.8)?
I guess it should since rainwoodman said few posts above that he didn't see any changes in the gtkmenubar.c file in the svn of the 2.12.
The major risk is that the patch or the compilation fails which is not a matter for your system.
giampy86
February 26th, 2008, 06:01 PM
hi guys, do u know how to make transparent globalmenu like in this screenshot?? now i have just a flat grey panel.
bye bye
rainwoodman
February 27th, 2008, 03:26 PM
hi guys, do u know how to make transparent globalmenu like in this screenshot?? now i have just a flat grey panel.
bye bye
Do you mean this?
The attachment is a recent screen-shot of recent development.
rainwoodman
February 29th, 2008, 12:17 AM
trunk has transited into 0.4
svn checkout http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome2-globalmenu-read-only
Installation guide:
http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch?updated=BuildFromScratch&ts=1204258474
Many fancy abilities in 0.3.xxx is lost:
preference setting,
popup menu,
bold title label,
....
The only fancy thing we obtain in 0.4 is a solid backend, a clear design. A seperate library.
skinning and most applications work out-of-box: e.g eclipse, evolution, gedit, gimp,
though tests/testmenubars works in a weird way, it don't crash at all.
Also, for the development, a set of test cases are written, as well as some devel-doc.
[rainwoodman@localhost trunk]$ wc -l `find . -name "*.[ch]"`|grep total
6243 total
I am tired. I will apperiate if any of you, my dear friends, want to try out this new 'alpha of alpha' ,
and send me feedbacks,
There might be some installation problems, too.
Any problems, please issue bugs on http://code.google.com/p/gnome2-globalmenu/issues/list.
FlyingIsFun1217
February 29th, 2008, 12:24 AM
Can I ask where to find the changelog between the .4 and .3 versions?
Thanks!
FlyingIsFun1217
rainwoodman
February 29th, 2008, 12:35 AM
Can I ask where to find the changelog between the .4 and .3 versions?
Thanks!
FlyingIsFun1217
there is a architecture change(from a hack to a real project). what change log can I collect? It basically follows the roadmap in
http://code.google.com/p/gnome2-globalmenu/wiki/DevelopmentHome
Most code is rewritten.
Everything in 0.3 is lost(the most important part is the fancy applet!), but two funtanmental ideas of a socket for communication, and keeping MenuBar's state in the MenuBar's owner process are preserved.
FlyingIsFun1217
February 29th, 2008, 12:39 AM
So just mostly a code cleanup...?
And what does
# Fully solve the Skinning Problem
mean? I've already edited the GTK theme I'm using to have the same background as the gnome-panel, and I'm curious if you mean that default panel backgrounds are now used.
Nice work, keep it up!
FlyingIsFun1217
rainwoodman
February 29th, 2008, 12:49 AM
So just mostly a code cleanup...?
And what does
mean? I've already edited the GTK theme I'm using to have the same background as the gnome-panel, and I'm curious if you mean that default panel backgrounds are now used.
You are exactly right!
The default panel background, whatever it is, is used. Thus transparency is also supported. the code is not very nicely written and may have some memory leaks, Though
FlyingIsFun1217
February 29th, 2008, 12:55 AM
Alright. Cool to hear that there's transparency for the panel.
Can't wait until theres some crazy way to get Firefox and Thunderbird to work with it, be it an extension... whatever.
Nice work again!
FlyingIsFun1217
rainwoodman
February 29th, 2008, 12:58 AM
Alright. Cool to hear that there's transparency for the panel.
Can't wait until theres some crazy way to get Firefox and Thunderbird to work with it, be it an extension... whatever.
Nice work again!
FlyingIsFun1217
Maybe you want to write it?
A XPCOM wrapper for gtkmenubar, gtkmenuitem gtkmenu and some scripts to copy each firefox menu item to that XPCOM wrapper is needed. I don't feel like learning XPCOM at all. It will be a big amount of code (I think), since there don't even seems to be a GObject ->XPCOM binding yet.
Unfortunately menu code is the most messy part of gtk.
rainwoodman
February 29th, 2008, 01:10 AM
So just mostly a code cleanup...?
FlyingIsFun1217
I also have to mention,
0.4 is by definition stable. So unstablility is a bug. I also tried hard to avoid Heisenberg bugs.
0.3 is by definition unstable, and Heisenberg-like. Stablility is luck.
FlyingIsFun1217
February 29th, 2008, 01:12 AM
I don't feel like learning XPCOM at all.
Can't blame you there. I tried doing that a while ago (about a year), and it was incomprehensible for me. Maybe it's just the C++ nature of my coding self :)
Well, now that I've got 2.6.24 running (quite nice, I must say), I'll work on getting 0.4 of this running. Ohhh... Bleeding edge!
FlyingIsFun1217 :)
rainwoodman
February 29th, 2008, 01:27 AM
Well, now that I've got 2.6.24 running (quite nice, I must say), I'll work on getting 0.4 of this running. Ohhh... Bleeding edge!
FlyingIsFun1217 :)
I've done building rpms, trying to install it now.
davbren
February 29th, 2008, 04:39 AM
Is there any way to make these changes non global? Only I have a friend who comes round and uses my pc and likes the mac interface so I created a "mac" account for him. I however don't like the mac menu look, so I don't want it for my account. Is there a way of separating the two?
Also, the option for a mac-style menu really should be i nthe next version of Gnome, so many peope want it!
ayoli
February 29th, 2008, 05:25 AM
Also, is it possible to disable the detached menu per application (like it was with the GTK_MENUBAR_NO_MAC evironment var) ?
FlyingIsFun1217
February 29th, 2008, 09:54 AM
Converted the RPM's to DEB's w/alien. Trying to install gtk2-aqd resulted in:
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Any thoughts?
If this doesn't work, I'll try building from SVN again (last night when trying I recieved a 304 with subversion).
FlyingIsFun1217
rainwoodman
February 29th, 2008, 07:48 PM
I've done building rpms, trying to install it now.
It doesn't work. (memory corroption for parsing default libgnomenu files)
A few fixes. Now the latest rpms should work.
my ~/.libgnomenu.conf
gnome-panel : ignore
*applet* : ignore
pidgin : class
# appname(regular exp) : quirk(ignore, class)
note that only 'ignore' quirk flag has effects.
also part of my ~/.bash_profile
# .bash_profile
#
# OTHER UNRELATED LINES ARE REMOVED FOR PRIVACY REASONS.
#
GTK_MODULES=libgnomenu
export GTK_MODULES
NOTE that when desktop is the active window, the nautilus menu bar appears.
It is a treasure in nautlis code.
It creates the menu bar but don't show it. In 0.4 we can detect this, and ask
nautilus to realize and show it.
Is this what everybody wants for a default menu bar?
rainwoodman
February 29th, 2008, 07:55 PM
Is there any way to make these changes non global? Only I have a friend who comes round and uses my pc and likes the mac interface so I created a "mac" account for him. I however don't like the mac menu look, so I don't want it for my account. Is there a way of separating the two?
Also, the option for a mac-style menu really should be i nthe next version of Gnome, so many peope want it!
If you don't load the libgnomenu as a GTK_MODULE, you don't have globalmenu.(this behaivor might change later, though).
rainwoodman
February 29th, 2008, 07:56 PM
Also, is it possible to disable the detached menu per application (like it was with the GTK_MENUBAR_NO_MAC evironment var) ?
Yes, by editing /etc/libgnomenu.conf
and ~/.libgnomenu.conf
Oleg_G
March 1st, 2008, 12:25 PM
Can anyone give deb packages or write step by step instruction how to build it on Ubuntu? Unfortunately I can't build anything following this guide http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch?updated=BuildFromScratch&ts=1204258474
rainwoodman
March 1st, 2008, 03:43 PM
Can anyone give deb packages or write step by step instruction how to build it on Ubuntu? Unfortunately I can't build anything following this guide http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch?updated=BuildFromScratch&ts=1204258474
That guide is written by me. Can you tell me what error did you encounter? (so that I can fix it) It build well on my fedora.
SkiesOfAzel
March 1st, 2008, 04:04 PM
It builds just fine here (ubuntu gutsy) you just have to sudo ldconfig after make installing. My problem is that the applet loads without error messages but shows nothing. My guess is that libgnomenu doesn't load as a GTK_MODULE since Ubuntu ignores the .bash_profile file. I've also tried loading it with ~/.xprofile , ~/.gnomerc , /etc/environment and (i think :P) xinit to na avail. Any suggestions?
rainwoodman
March 1st, 2008, 04:59 PM
It builds just fine here (ubuntu gutsy) you just have to sudo ldconfig after make installing. My problem is that the applet loads without error messages but shows nothing. My guess is that libgnomenu doesn't load as a GTK_MODULE since Ubuntu ignores the .bash_profile file. I've also tried loading it with ~/.xprofile , ~/.gnomerc , /etc/environment and (i think :P) xinit to na avail. Any suggestions?
A solution in current gnome framework is to patch gnome-session.
gnome-bugbuddy(ie gnomebreadpad) is set into GTK_MODULES by
gnome-session, via some hard coded source code. It sucks but it is there-I've reviewed the source code.
I really don't have a better idea for where to put the environment variable.
SkiesOfAzel
March 1st, 2008, 05:06 PM
Nevermind, i got it to show up eventually :).
Some bugs :
- The nautilus menu doesn't work for me, i just get a black space instead of a menubar when the desktop has focus.
- There is once more a one pixel high line on every window where the menubar used to be (its the last pixel of the menubar still showing).
- The menubars don't inherit the panel background pixmap.
Btw, would it be possible to show the nautilus menubar not only when the desktop has focus but also when the focused window doesn't have a menubar?
rainwoodman
March 1st, 2008, 05:58 PM
Nevermind, i got it to show up eventually :).
Some bugs :
- The nautilus menu doesn't work for me, i just get a black space instead of a menubar when the desktop has focus.
- There is once more a one pixel high line on every window where the menubar used to be (its the last pixel of the menubar still showing).
- The menubars don't inherit the panel background pixmap.
Btw, would it be possible to show the nautilus menubar not only when the desktop has focus but also when the focused window doesn't have a menubar?
Wait, are you using the latest trunk?
I fixed a lot of black menu problems last night.
as for the extra one pixel problem, I am using parent widget's style to paint that region, it works just fine here. (also fixed in latest trunk.
I am using the rpms:
libgnomenu-0.4.svn598-2.fc8
gnome-globalmenu-applet-0.4.svn598-2.fc8
Maybe you also want to try svn update -r 598 .
SkiesOfAzel
March 1st, 2008, 06:25 PM
Wait, are you using the latest trunk?
I fixed a lot of black menu problems last night.
as for the extra one pixel problem, I am using parent widget's style to paint that region, it works just fine here. (also fixed in latest trunk.
I am using the rpms:
libgnomenu-0.4.svn598-2.fc8
gnome-globalmenu-applet-0.4.svn598-2.fc8
Maybe you also want to try svn update -r 598 .
I am using 599 svn .
The parent widget style is a bad idea :
- The parent isn't always the same type.
- Parts with gradients like the toolbars, that usually seat bellow the menubar will most of the times have a different color then the bg color of the parent widget.
- It's not the standard behavior. If a widget isn't there anymore, no part of it should remain there.
If you want to see the line in action use a pixmap theme with gradients, like oxygnome or imetal.
Snoober
March 1st, 2008, 06:27 PM
For some people having a hard time like I did (libgtk2.0.0 unsatisfiable) I recommend following the instructions here (https://wiki.ubuntu.com/global_menu#deb) under "Install using autotools." I for the life of me could not install the global menu using the debs but compiling from source worked like a charm if you follow the instructions exactly and restart after you install.
ayoli
March 1st, 2008, 06:29 PM
Btw, would it be possible to show the nautilus menubar not only when the desktop has focus but also when the focused window doesn't have a menubar?
I do not agree with that statement, can be confuse
SkiesOfAzel
March 1st, 2008, 06:40 PM
I do not agree with that statement, can be confuse
It is what happens with kde and osx if i am not mistaken.
rainwoodman
March 1st, 2008, 06:54 PM
I am using 599 svn .
The parent widget style is a bad idea :
- The parent isn't always the same type.
- Parts with gradients like the toolbars, that usually seat bellow the menubar will most of the times have a different color then the bg color of the parent widget.
- It's not the standard behavior. If a widget isn't there anymore, no part of it should remain there.
If you want to see the line in action use a pixmap theme with gradients, like oxygnome or imetal.
If I hide widget->window, menuitems don't work fine.
I can't set widget->window to GDK_INPUT_ONLY, it crashes everywhere.
I can't set GnomenuMenuBar to GTK_WIDGET_NO_WINDOW, the same effect ans hide widget->window.
I can't set the geometry of widget->window to 0x0, as indicated in Gdk documentation and my experiment.
So, what Can I do?
In 0.3 I moved it out of rect of the parent window. It is dirty but it works. I am looking for a better solution.
rainwoodman
March 1st, 2008, 06:56 PM
It is what happens with kde and osx if i am not mistaken.
It might be possible to treat nautilous/Desktop's menubar as a special one, with some extra work. These days let's focus on stability and usability problems.
And nautilus/Desktop menubar is just a treasure in nautilus, no one knows when it will be removed from nautilus.
rainwoodman
March 1st, 2008, 07:01 PM
I am using 599 svn .
The parent widget style is a bad idea :
- The parent isn't always the same type.
- Parts with gradients like the toolbars, that usually seat bellow the menubar will most of the times have a different color then the bg color of the parent widget.
- It's not the standard behavior. If a widget isn't there anymore, no part of it should remain there.
If you want to see the line in action use a pixmap theme with gradients, like oxygnome or imetal.
imatel screen shot.
Oleg_G
March 1st, 2008, 07:28 PM
Hmm... Nevertheless, I've compiled gtk and applet, edited .bash_profile and .libgnomenu.conf but it doesn't work. Only shows title.
What should I do?
SkiesOfAzel
March 1st, 2008, 07:47 PM
imatel screen shot.
Try Epiphany and Gedit and you will see it. Actually it's visible on your sreenshot too, the window on the right has it just under the decorator. Because the parent isn't always the same, the line has a different color for each app. Some times (and we are talking about coinsidance here) it has the same color with the toolbar, sometimes it doesn't. As for a better solution, i don't have one unfortunately, i just wanted to point out that the current is a little problematic.
You are absolutely right about the Nautilus menu thing, bug hunting comes first and foremost :).
[EDIT]
Solved the problem with the black Nautilus Desktop menubar. For some reason having the env variable on etc/environment caused this (i think).
SkiesOfAzel
March 1st, 2008, 07:57 PM
Hmm... Nevertheless, I've compiled gtk and applet, edited .bash_profile and .libgnomenu.conf but it doesn't work. Only shows title.
What should I do?
Create a .gnomerc file inside your home dir and put
export GTK_MODULES="libgnomenu"
in it. Restart X.
Oleg_G
March 1st, 2008, 08:24 PM
SkiesOfAzel, thank you. It works.
I've mentioned two bugs:
1. Panel looks ugly with firefox (Skreenshoе-1)
2. Kde-apps menu is not on right place (Skreenshot-2)
rainwoodman
March 1st, 2008, 10:01 PM
Try Epiphany and Gedit and you will see it. Actually it's visible on your sreenshot too, the window on the right has it just under the decorator. Because the parent isn't always the same, the line has a different color for each app. Some times (and we are talking about coinsidance here) it has the same color with the toolbar, sometimes it doesn't. As for a better solution, i don't have one unfortunately, i just wanted to point out that the current is a little problematic.
You are absolutely right about the Nautilus menu thing, bug hunting comes first and foremost :).
[EDIT]
Solved the problem with the black Nautilus Desktop menubar. For some reason having the env variable on etc/environment caused this (i think).
Maybe we still have to move widget->window away, as in 0.3, then.
[EDit]
Maybe just a re-start of nautilus solved the problem....
fengshenx
March 2nd, 2008, 05:22 AM
Hmm... Nevertheless, I've compiled gtk and applet, edited .bash_profile and .libgnomenu.conf but it doesn't work. Only shows title.
What should I do?
If you are using Ubutnu, try to export the env variable to ~/.bashrc
Oleg_G
March 2nd, 2008, 08:36 AM
I'm trying build deb package of pathed gtk. It fails with this error:
make[3]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd'
make[2]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd'
make[1]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd'
cd docs && make distdocs
make[1]: Entering directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd/docs'
make[1]: *** No rule to make target `distdocs'. Stop.
make[1]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd/docs'
make: *** [build-stamp] Error 2
How to resolve the issue?
rainwoodman
March 2nd, 2008, 02:03 PM
I'm trying build deb package of pathed gtk. It fails with this error:
make[3]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd'
make[2]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd'
make[1]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd'
cd docs && make distdocs
make[1]: Entering directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd/docs'
make[1]: *** No rule to make target `distdocs'. Stop.
make[1]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd/docs'
make: *** [build-stamp] Error 2
How to resolve the issue?
Can I see what command you used to build gtk?
davbren
March 2nd, 2008, 04:43 PM
This is how far I've got with my mac clone, its nearly finished i think:
http://www.learnubuntu.org/images/eyecandy/mac_menu_nearly.png
teolemon
March 2nd, 2008, 07:30 PM
Just a few comments to make it even more Mac-like:
-Replace the Firefox icon by a Safari Icon
-Use the back icon theme for the panel provided by Mac4Lin
-Use a newer version of Global Menu that supports transparency so that you can solve the panel problems
Reorder the icons in the panel in a canon order
-Then there's Nautilus current mode that doesn't allow file browsing just like Finder. But that's something yet to be coded :-)
Oleg_G
March 2nd, 2008, 08:30 PM
Can I see what command you used to build gtk?
sudo dpkg-buildpackage -b -rfakeroot
echelon89
March 3rd, 2008, 04:33 AM
I'm trying build deb package of pathed gtk. It fails with this error:
make[3]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd'
make[2]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd'
make[1]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd'
cd docs && make distdocs
make[1]: Entering directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd/docs'
make[1]: *** No rule to make target `distdocs'. Stop.
make[1]: Leaving directory `/home/oleg/gnome2-globalmenu-read-only/gtk+-aqd/gtk+-aqd/docs'
make: *** [build-stamp] Error 2
How to resolve the issue?I've just compiled them and it works...
davbren
March 3rd, 2008, 05:02 AM
Just a few comments to make it even more Mac-like:
-Replace the Firefox icon by a Safari Icon
-Use the back icon theme for the panel provided by Mac4Lin
-Use a newer version of Global Menu that supports transparency so that you can solve the panel problems
Reorder the icons in the panel in a canon order
-Then there's Nautilus current mode that doesn't allow file browsing just like Finder. But that's something yet to be coded :-)
Whats this icon theme. I used the one in the big .tar do you have a screenie?
I used the menu file from google, I'm guessing thats not the most recent. I dunno how to install the menu applet that isn't debbed.
@ Nautilus: I'd actually like to make my own file manager but I have no idea how lol
ayoli
March 3rd, 2008, 05:59 AM
Wow, really surprised and glad to read this issue (http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=75) and especially the 27th comment (http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=75#c27)
here's a quote :
Once data has been collected about the active, current status of the project we can then submit comment back to the original authors with the aim to include it as an option in future releases.
global menu as an option in future gnome releases, would be a great news ! :D
keep up your really good work rainwoodman ! :D
echelon89
March 3rd, 2008, 06:18 AM
I've compiled libgtk2.0-0_2.12.0 successfully and I'm using gnome2-globalmenu-applet_0.3.397-1_i386.deb from googlecode, but there are some problems:
when I try to open nautilus, it closes unexpectedly.
Here it is the log
Gtk-Message: Failed to load module "libgnomenu": libgnomenu.so: impossibile aprire il file oggetto condiviso: Nessun file o directory
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: _global_menu_find_windows
Gtk-Message: Window found, Add to list
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: gtk_menu_bar_realize invoked
Gtk-Message: gtk_menu_bar_globalize invoked
Gtk-Message: Master window found:846d2a8
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: gtk_menu_bar_map invoked
Gtk-Message: XClient notify translating
Gtk-Message: Global Menu Notification: GM_NOTIFY_SIZE_ALLOCATE, 44040195, 556, 24
Gtk-Message: global menu notify received
Gtk-Message: Size Allocate Notify Received: 556, 24
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: XClient notify translating
Gtk-Message: Global Menu Notification: Unknown notification, 44040195, 1, -1081904568
Gtk-Message: global menu notify received
Segmentation fault
and you can see the other error in the screenshot
sorry for my bad english :(
rainwoodman
March 3rd, 2008, 04:05 PM
Wow, really surprised and glad to read this issue (http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=75) and especially the 27th comment (http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=75#c27)
here's a quote :
global menu as an option in future gnome releases, would be a great news ! :D
keep up your really good work rainwoodman ! :D
I don't think those people are gnome devs.
rainwoodman
March 3rd, 2008, 04:06 PM
I've compiled libgtk2.0-0_2.12.0 successfully and I'm using gnome2-globalmenu-applet_0.3.397-1_i386.deb from googlecode, but there are some problems:
when I try to open nautilus, it closes unexpectedly.
Here it is the log
Gtk-Message: Failed to load module "libgnomenu": libgnomenu.so: impossibile aprire il file oggetto condiviso: Nessun file o directory
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: _global_menu_find_windows
Gtk-Message: Window found, Add to list
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: gtk_menu_bar_realize invoked
Gtk-Message: gtk_menu_bar_globalize invoked
Gtk-Message: Master window found:846d2a8
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: gtk_menu_bar_map invoked
Gtk-Message: XClient notify translating
Gtk-Message: Global Menu Notification: GM_NOTIFY_SIZE_ALLOCATE, 44040195, 556, 24
Gtk-Message: global menu notify received
Gtk-Message: Size Allocate Notify Received: 556, 24
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: XClient notify translating
Gtk-Message: Global Menu Notification: Unknown notification, 44040195, 1, -1081904568
Gtk-Message: global menu notify received
Segmentation fault
and you can see the other error in the screenshot
sorry for my bad english :(
I don't have time to support 0.3 anymore. neither do other devs.
Please try 0.4.
echelon89
March 3rd, 2008, 04:08 PM
I don't have time to support 0.3 anymore. neither do other devs.
Please try 0.4.
I've tried it too...
but it doesn't work:confused:
Compiled from svn...
SkiesOfAzel
March 3rd, 2008, 05:26 PM
I've tried it too...
but it doesn't work:confused:
Compiled from svn...
What was the problem? If you give more details we will be able to help you.
ayoli
March 3rd, 2008, 05:33 PM
I don't think those people are gnome devs.
huh, I read a bit too quick, btw it's still great to see that global menu becomes more popular each day :)
dddaidl2
March 3rd, 2008, 05:55 PM
Ok, I have successfully installed the applet and gtk from svn, and the ./test gedit works, but normal programs wont. The menubar stays with the app.
Did I do something wrong somewhere?
BOBSONATOR
March 4th, 2008, 12:32 AM
This isnt working with hardy btw, there are some conflicts with the new GTK when compiling
neatojones
March 4th, 2008, 12:35 AM
This isnt working with hardy btw, there are some conflicts with the new GTK when compiling
Yeah, I've tried it using pretty much every guide and every variant I could come up with and I always run into a snag...
BOBSONATOR
March 4th, 2008, 02:57 AM
^^ and to add to it, gnome-settings-deamon is crapping out on me.
echelon89
March 4th, 2008, 09:54 AM
What was the problem? If you give more details we will be able to help you.
I don't know why it doesn't work.....
I've attached a screenshot...
SkiesOfAzel
March 4th, 2008, 11:46 AM
I don't know why it doesn't work.....
I've attached a screenshot...
Here is what i did :
First, uninstall everything globalmenu related. If the applet is running , open system monitor, kill it and when there is a prompt, select don't reload.
Then :
cd ~
mkdir packages
cd packages
mkdir globlamenu
cd globalmenu
svn co http://gnome2-globalmenu.googlecode.com/svn/trunk/
cd trunk/gtk+-aqd/
apt-get source libgtk2.0-0
sudo apt-get build-dep libgtk2.0-0
cp patch.diff gtk+2.0-2.12.0/debian/patches/
gedit gtk+2.0-2.12.0/debian/patches/series
add patch.diff at the end of the file , save and exit gedit.
cd gtk+2.0-2.12.0
dpkg-buildpackage -rfakeroot
when this is completed
cd ..
sudo dpkg -i *.deb
cd ..
./autogen.sh --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
make
sudo make install
sudo ldconfig
gedit ~/.gnomerc
add the line
export GTK_MODULES="libgnomenu"
save and exit.
Restart your session , add the applet and everything should work.
davbren
March 4th, 2008, 12:19 PM
Thanks for this! I followed mostly Tamilia's guide here (http://www.taimila.com/?q=node/11) and some others' (and my few modifications) and I got my Ubuntu Gutsy 32-bit to look like this:
http://i55.photobucket.com/albums/g132/RaiNai/UMac8.png
Thanks so much to AqD who started this and to Lauri Tamilia for the great guide and themes.:KS:KS
How did you get the sudo app to be gtk themed? if that makes sense lol
SkiesOfAzel
March 4th, 2008, 12:29 PM
Copy your theme to the /usr/share/themes directory or to /root/themes .
ayoli
March 4th, 2008, 01:09 PM
or just make a symlink :
sudo ln -sf ~/.themes /root
(with that, you won't have to make a copy to /root/.themes each time you add a new theme)
echelon89
March 4th, 2008, 01:11 PM
How did you get the sudo app to be gtk themed? if that makes sense lol
sudo cp -r ~/.themes /root/ && sudo cp -r ~/.gtkrc* /root/
teolemon
March 4th, 2008, 06:45 PM
Whats this icon theme. I used the one in the big .tar do you have a screenie?
I used the menu file from google, I'm guessing thats not the most recent. I dunno how to install the menu applet that isn't debbed.
@ Nautilus: I'd actually like to make my own file manager but I have no idea how lol
Wouldn't be able to say. It's the one included in Mac4Lin 0.4. Just fllow the instructions.
It can be seen here: http://mesh.dl.sourceforge.net/sourceforge/mac4lin/Mac4Lin_Documentation_2.pdf
rainwoodman
March 5th, 2008, 01:33 AM
Ok, I have successfully installed the applet and gtk from svn, and the ./test gedit works, but normal programs wont. The menubar stays with the app.
Did I do something wrong somewhere?
You need to load libgnomenu as a GTK_MODULES to enable its GTK compatible mode and the new GTK-aqd hack. :)
someone suggested to add a line in .gnomerc for ubuntu.
I suggested to add a line in .bash_profile
export GTK_MODULES=libgnomenu
rainwoodman
March 5th, 2008, 01:33 AM
huh, I read a bit too quick, btw it's still great to see that global menu becomes more popular each day :)
yea it rocks!
:guitar:
rainwoodman
March 5th, 2008, 01:36 AM
This isnt working with hardy btw, there are some conflicts with the new GTK when compiling
Please tell me, what is hardy? what is new GTK? I am going to check their svn to see if any disaster happened.
Thanks.
rainwoodman
March 5th, 2008, 01:37 AM
Yeah, I've tried it using pretty much every guide and every variant I could come up with and I always run into a snag...
try this
http://ubuntuforums.org/showpost.php?p=4451951&postcount=1667
:)
rainwoodman
March 5th, 2008, 01:40 AM
./autogen.sh --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
Of all the steps, I like this one the best. Autotools and M4 is addictive, as their manual says!
echelon89
March 5th, 2008, 07:25 AM
someone added this to ubuntu brainstorming
http://brainstorm.ubuntu.com/idea/3136/
echelon89
March 5th, 2008, 07:59 AM
Here is what i did :
First, uninstall everything globalmenu related. If the applet is running , open system monitor, kill it and when there is a prompt, select don't reload.
Then :
cd ~
mkdir packages
cd packages
mkdir globlamenu
cd globalmenu
svn co http://gnome2-globalmenu.googlecode.com/svn/trunk/
cd trunk/gtk+-aqd/
apt-get source libgtk2.0-0
sudo apt-get build-dep libgtk2.0-0
cp patch.diff gtk+2.0-2.12.0/debian/patches/
gedit gtk+2.0-2.12.0/debian/patches/series
add patch.diff at the end of the file , save and exit gedit.
cd gtk+2.0-2.12.0
dpkg-buildpackage -rfakeroot
when this is completed
cd ..
sudo dpkg -i *.deb
cd ..
./autogen.sh --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
make
sudo make install
sudo ldconfig
gedit ~/.gnomerc
add the line
export GTK_MODULES="libgnomenu"
save and exit.
Restart your session , add the applet and everything should work.
There's no applet to choose...
SkiesOfAzel
March 5th, 2008, 08:37 AM
sudo cp ~/packages/globalmenu/trunk/servers/GNOME_GlobalMenuApplet.server /usr/lib/bonobo/servers
For some reason the new svn versions don't install the server file.
Sikon
March 5th, 2008, 11:07 AM
When are we going to see debs for 0.4?
SkiesOfAzel
March 5th, 2008, 11:13 AM
When are we going to see debs for 0.4?
If tou are asking about a release. i'd wait till 0.4 is a bit more stable. I think though that Rainwoodman is planing to make a repo sooner or later.
rainwoodman
March 5th, 2008, 11:56 AM
sudo cp ~/packages/globalmenu/trunk/servers/GNOME_GlobalMenuApplet.server /usr/lib/bonobo/servers
For some reason the new svn versions don't install the server file.
But the .server file is properly installed in the RPM files. Wondering...
neatojones
March 5th, 2008, 12:10 PM
There's no applet to choose...
Yeah, I tried using the method described there, using Hardy I had to change it to gtk+2.0-2.12.8 It seemed like everything went ok, but I ran into the same problem with the lack of an applet. I went back and tried to ./configure, make, and make install instead of buildpackage-ing and it seemed to go fine until I logged out and then back in and things were in chaos...(themes missing etc). At this point I gave up for the day...(after make uninstalling and reinstalling the hardy debs). I'll try it again today or tomorrow and copy the .server file to see how it goes then.
Oh and I did get this to work by installing the available gutsy debs, but it refused to properly color the menubar on the panel (and yes, I used the right themes).
neatojones
March 5th, 2008, 12:12 PM
But the .server file is properly installed in the RPM files. Wondering...
I think I noticed when I ran make that it seemed to look for files in a folder called "server" which should be "servers" and made a link and it seemed to finish alright. I don't know if this is related.
echelon89
March 5th, 2008, 01:22 PM
Yeah, I tried using the method described there, using Hardy I had to change it to gtk+2.0-2.12.8 It seemed like everything went ok, but I ran into the same problem with the lack of an applet. I went back and tried to ./configure, make, and make install instead of buildpackage-ing and it seemed to go fine until I logged out and then back in and things were in chaos...(themes missing etc). At this point I gave up for the day...(after make uninstalling and reinstalling the hardy debs). I'll try it again today or tomorrow and copy the .server file to see how it goes then.
Oh and I did get this to work by installing the available gutsy debs, but it refused to properly color the menubar on the panel (and yes, I used the right themes).
yes, but I'm using gutsy with gtk+2.0-2.12.0...:(
dddaidl2
March 5th, 2008, 04:53 PM
I've made some debs on gusty. I'm curios to see if they will work on another computer. If someone wants me to post them give me a link to a good file hosting site.
the patched gtk is 2.12.1.
teolemon
March 5th, 2008, 06:03 PM
It's in French, but it really rocks. Simply upload it. No limits, no ads , no nothing. They're a provider and they're doing it without any trap
http://dl.free.fr/
dddaidl2
March 5th, 2008, 06:53 PM
Here are the debs.
http://dl.free.fr/getfile.pl?file=/B474PJWM/globalmenu.tar.bz2
All of the GTK debs should install with no problem.
use "dpkg -i *.deb"
For the applet, you have to force install them. There are duplicate files in each for some reason, which causes conflict.
just use "dpkg -i --force-overwrite" and it should work fine.
neatojones
March 5th, 2008, 08:36 PM
I was able to get globalmenu in Hardy using the following (modified) method:
Code:
cd ~
mkdir packages
cd packages
mkdir globlamenu
cd globalmenu
svn co http://gnome2-globalmenu.googlecode.com/svn/trunk/
cd trunk/gtk+-aqd/
apt-get source libgtk2.0-0
sudo apt-get build-dep libgtk2.0-0
cp patch.diff gtk+2.0-2.12.9/debian/patches/
gedit gtk+2.0-2.12.9/debian/patches/series
add patch.diff at the end of the file , save and exit gedit.
Code:
gedit gtk+2.0-2.12.9/debian/changelog
Add this to the top of file (make sure to indent to make look like the rest of the file or it won't work):
gtk+2.0 (2.12.9-3ubuntu3.1~adq) hardy; urgency=low
* debian/patches/patch.diff:
- patch from rainwoodman, for globalmenu integration
-- Ayoli <ayolinux@gmail.com> Wed, 30 April 2008 10:29:09 +0200
Code:
cd gtk+2.0-2.12.9
dpkg-buildpackage -rfakeroot
Code:
cd ..
sudo dpkg -i gtk2-engines-pixbuf*.deb libgtk2.0-0*.deb libgtk2.0-bin*.deb libgtk2.0-common*.deb libgtk2.0-doc*.deb
If you plan on building the panel applet you'll also have to install libgtk2.0-dev (as below)
**Make sure to install whatever libraries are needed if you get errors-->Basically, if it complains about needing libwnck then you'd need to install "libwnck-dev" etc...**
sudo dpkg -i libgtk2.0-dev*.deb
cd ..
./autogen.sh
./configure --prefix=/usr --enable-tracing=no --enable-xfce-plugin=no
make
sudo make install
sudo ldconfig
gedit ~/.gnomerc
add the line
Code:
export GTK_MODULES="libgnomenu"
I hope this helps someone!
rainwoodman
March 5th, 2008, 09:17 PM
I think I noticed when I ran make that it seemed to look for files in a folder called "server" which should be "servers" and made a link and it seemed to finish alright. I don't know if this is related.
No they are almost unrelated.
.server is for gnome-applet's bonobo-activation server
while servers is the directory contains global menu servers.
gnome-applet(the one that uses the .server file) is one of them.
xfce-plugin is not up to recent development yet,
there is also a standalone server, which is very funny.
Usually in you don't need to modify files from svn to make. If you have to, it should be our mistake... Would you tell me what modification you did? if you remember?
neatojones
March 5th, 2008, 09:30 PM
No they are almost unrelated.
.server is for gnome-applet's bonobo-activation server
while servers is the directory contains global menu servers.
gnome-applet(the one that uses the .server file) is one of them.
xfce-plugin is up to recent development yet,
there is also a standalone server, which is very funny.
Usually in you don't need to modify files from svn to make. If you have to, it should be our mistake... Would you tell me what modification you did? if you remember?
I don't remember anymore... sorry. I started from scratch today and used the method I described above and it worked. My guess is that the difference was that instead of
./autogen.sh --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
I used
./autogen.sh --prefix=/usr --enable-tracing=no --enable-xfce-plugin=no
since this is the only thing I remember changing from yesterday to today. I was really intending to note that it was modified to give credit to others who came up with the method and to note that Hardy uses a different GTK version and therefore anyone compiling this for Hardy would need to adjust for this (ie gtk+2.0-2.12 instead of gtk+2.0-2.0)
Thanks-
Oleg_G
March 6th, 2008, 07:35 AM
Has anyone trunk somewhere between 550 and 575? Unfortunately I deleted it:( But it seems to be the best solution for me.
ayoli
March 6th, 2008, 09:01 AM
Here is what i did :
First, uninstall everything globalmenu related. If the applet is running , open system monitor, kill it and when there is a prompt, select don't reload.
Then :
cd ~
mkdir packages
cd packages
mkdir globlamenu
cd globalmenu
svn co http://gnome2-globalmenu.googlecode.com/svn/trunk/
cd trunk/gtk+-aqd/
apt-get source libgtk2.0-0
sudo apt-get build-dep libgtk2.0-0
cp patch.diff gtk+2.0-2.12.0/debian/patches/
gedit gtk+2.0-2.12.0/debian/patches/series
add patch.diff at the end of the file , save and exit gedit.
cd gtk+2.0-2.12.0
dpkg-buildpackage -rfakeroot
when this is completed
cd ..
sudo dpkg -i *.deb
cd ..
./autogen.sh --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
make
sudo make install
sudo ldconfig
gedit ~/.gnomerc
add the line
export GTK_MODULES="libgnomenu"
save and exit.
Restart your session , add the applet and everything should work.
Well, fellowing this method step by step, I'm stuck at the dpkg-builpackage step with this error :
Application de patch.diff
patching file gtk/gtkmenubar.c
Hunk #1 succeeded at 87 (offset 2 lines).
Hunk #2 succeeded at 127 (offset 7 lines).
Hunk #3 FAILED at 248.
1 out of 3 hunks FAILED -- rejects in file gtk/gtkmenubar.c
Le patch patch.diff ne s'applique pas proprement (forcez l'application avec -f)
make: *** [debian/stampdir/patch-stamp] Erreur 1
The patch doesn't apply correctly (svn rev 682).
Ideas/hints welcome.
fengshenx
March 6th, 2008, 10:22 AM
Hi guys,
I have uploaded the 0.4 deb package at
http://gnome2-globalmenu.googlecode.com/files/gnome-globalmenu-0.4.2_ubuntu-gusty-svn679.tar.gz
Updated install guideline for Ubuntu Gusty:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
have fun!:)
fengshenx
March 6th, 2008, 10:30 AM
Well, fellowing this method step by step, I'm stuck at the dpkg-builpackage step with this error :
Application de patch.diff
patching file gtk/gtkmenubar.c
Hunk #1 succeeded at 87 (offset 2 lines).
Hunk #2 succeeded at 127 (offset 7 lines).
Hunk #3 FAILED at 248.
1 out of 3 hunks FAILED -- rejects in file gtk/gtkmenubar.c
Le patch patch.diff ne s'applique pas proprement (forcez l'application avec -f)
make: *** [debian/stampdir/patch-stamp] Erreur 1
The patch doesn't apply correctly (svn rev 682).
Ideas/hints welcome.
Yes. Gtk-aqd branch is newer than Ubuntu Gusty's 2.12.0, so the patch can't be applied.
If you want to compile the gtk by yourself, you can patch the gtk/gtkmenubar.c by yourself, too (just copy the rejected part to right space in gtkmenubar.c)
But, I suggest you to install it by the deb package. Here is the guideline:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
ayoli
March 6th, 2008, 10:48 AM
Yes. Gtk-aqd branch is newer than Ubuntu Gusty's 2.12.0, so the patch can't be applied.
If you want to compile the gtk by yourself, you can patch the gtk/gtkmenubar.c by yourself, too (just copy the rejected part to right space in gtkmenubar.c)
But, I suggest you to install it by the deb package. Here is the guideline:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
Thanks for the packages, I was just about looking in gtk/gtkmenubar.c, but was not really happy to do this :)
ayoli
March 6th, 2008, 11:02 AM
Argh, I had a libgtk2.0 package with a superior version number. I must downgrade to the original ubuntu version. For the record, i did like that :
sudo apt-get install libgtk2.0-0=2.12.0-1ubuntu3 gtk2-engines-pixbuf=2.12.0-1ubuntu3 gtk2.0-examples=2.12.0-1ubuntu3 libgtk-directfb-2.0-0=2.12.0-1ubuntu3 libgtk2.0-0-dbg=2.12.0-1ubuntu3 libgtk2.0-bin=2.12.0-1ubuntu3 libgtk-directfb-2.0-dev=2.12.0-1ubuntu3 libgtk2.0-dev=2.12.0-1ubuntu3 libgtk2.0-common=2.12.0-1ubuntu3
ayoli
March 6th, 2008, 11:48 AM
Hi guys,
I have uploaded the 0.4 deb package at
http://gnome2-globalmenu.googlecode.com/files/gnome-globalmenu-0.4_ubuntu-gusty-svn679.tar.gz
Updated install guideline for Ubuntu Gusty:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
have fun!:)
Ok, I've just installed your packages, global menu works. Thanks for that :)
But, your libgtk2.0 version number is the same as original gutsy one, so update-manager keeps asking me to upgrade libgtk2.0 to the distribution version.
You should give a superior version number to avoid that (eg 2.12.0-1ubuntu3.1 instead of : 2.12.0-1ubuntu3). Taht can be done in the debian/changelog file.
ayoli
March 6th, 2008, 12:12 PM
Hi guys,
I have uploaded the 0.4 deb package at
http://gnome2-globalmenu.googlecode.com/files/gnome-globalmenu-0.4_ubuntu-gusty-svn679.tar.gz
Updated install guideline for Ubuntu Gusty:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
have fun!:)
wiki page section (deb packages) (https://wiki.ubuntu.com/global_menu#deb) updated with these infos and links.
fengshenx
March 6th, 2008, 12:40 PM
Ok, I've just installed your packages, global menu works. Thanks for that :)
But, your libgtk2.0 version number is the same as original gutsy one, so update-manager keeps asking me to upgrade libgtk2.0 to the distribution version.
You should give a superior version number to avoid that (eg 2.12.0-1ubuntu3.1 instead of : 2.12.0-1ubuntu3). Taht can be done in the debian/changelog file.
OK. I've solved this issue and re-uploaded the deb packages. Because of the dependency of libgtk2.0, some more deb packages should be installed.
neatojones
March 6th, 2008, 12:47 PM
Ok, I've just installed your packages, global menu works. Thanks for that :)
But, your libgtk2.0 version number is the same as original gutsy one, so update-manager keeps asking me to upgrade libgtk2.0 to the distribution version.
You should give a superior version number to avoid that (eg 2.12.0-1ubuntu3.1 instead of : 2.12.0-1ubuntu3). Taht can be done in the debian/changelog file.
The easy way would probably to install devscripts and then use the deb-reversion utility.
ayoli
March 6th, 2008, 01:02 PM
OK. I've solved this issue and re-uploaded the deb packages. Because of the dependency of libgtk2.0, some more deb packages should be installed.
Thanks I'll give this a try.
The easy way would probably to install devscripts and then use the deb-reversion utility.
I'm not familiar with this, and must not be alone in this case :)
ayoli
March 6th, 2008, 01:23 PM
OK. I've solved this issue and re-uploaded the deb packages. Because of the dependency of libgtk2.0, some more deb packages should be installed.
This is not working.
Once I've installed your new packages, update-mager told me that its source list was broken, so I ran (as recommended) :
sudo apt-get install -f
which removed these packages :
Les paquets suivants seront ENLEVÉS :
libgtk-directfb-2.0-0 libgtk-directfb-2.0-dev libgtk2.0-0-dbg
After that update manager was happy and didn't tell me about gtk updates.
But, after install, (even before update manager problem) I lost the global menu.
Menus aren't detached from their windows and If I run for exemple gedit from the command line here's the output :
$)─> gedit
Gtk-Message: Failed to load module "libgnomenu": (null)
(gedit:28613): Gtk-WARNING **: Error parsing gtk-icon-sizes string:
'gtk-small-toolbar=16,16:gtk-large-toolbar=16,16:gtk-button=16,16;panel-menu=16,16:panel=12,12:'
(gedit:28613): Gtk-WARNING **: gnomenu_compatible not found
(gedit:28613): Gtk-WARNING **: gnomenu_menu_bar_class_intern_init found at 0xb60e0500
(gedit:28613): Gtk-WARNING **: gnomenu_compatible not found
(gedit:28613): Gtk-WARNING **: gnomenu_menu_bar_init found at 0xb60e04c0
SkiesOfAzel
March 6th, 2008, 02:38 PM
The patch doesn't apply cleanly because it's for a different gtk version than the one included in gutsy. Here is a modified patch that works :
ayoli
March 6th, 2008, 04:08 PM
The patch doesn't apply cleanly because it's for a different gtk version than the one included in gutsy. Here is a modified patch that works :
I'll give it a try, but it would be nice if fengshenx's packages can work since I've put his links in the wili page.
Should I remove them or mark them as currently broken ?
dddaidl2
March 6th, 2008, 05:09 PM
You can use the gtk I packaged into debs. The link is posted a page or two back. It is ver. 2.12.1 from hardy. You'll still have to install -f but it shouldn't remove any packages, it'll just fix dependency issues.
ayoli
March 6th, 2008, 05:20 PM
You can use the gtk I packaged into debs. The link is posted a page or two back. It is ver. 2.12.1 from hardy. You'll still have to install -f but it shouldn't remove any packages, it'll just fix dependency issues.
Sure, but I think it would be cleaner to have a "real" gutsy version on the wiki page.
These debs come from devs google project page, so it's better it they work :)
dddaidl2
March 6th, 2008, 06:41 PM
Sure, but I think it would be cleaner to have a "real" gutsy version on the wiki page.
These debs come from devs google project page, so it's better it they work :)
True, but its ok to have an alternative, even if it is temporary.
fengshenx
March 6th, 2008, 09:07 PM
This is not working.
Once I've installed your new packages, update-mager told me that its source list was broken, so I ran (as recommended) :
sudo apt-get install -f
which removed these packages :
Les paquets suivants seront ENLEVÉS :
libgtk-directfb-2.0-0 libgtk-directfb-2.0-dev libgtk2.0-0-dbg
After that update manager was happy and didn't tell me about gtk updates.
But, after install, (even before update manager problem) I lost the global menu.
Menus aren't detached from their windows and If I run for exemple gedit from the command line here's the output :
$)─> gedit
Gtk-Message: Failed to load module "libgnomenu": (null)
(gedit:28613): Gtk-WARNING **: Error parsing gtk-icon-sizes string:
'gtk-small-toolbar=16,16:gtk-large-toolbar=16,16:gtk-button=16,16;panel-menu=16,16:panel=12,12:'
(gedit:28613): Gtk-WARNING **: gnomenu_compatible not found
(gedit:28613): Gtk-WARNING **: gnomenu_menu_bar_class_intern_init found at 0xb60e0500
(gedit:28613): Gtk-WARNING **: gnomenu_compatible not found
(gedit:28613): Gtk-WARNING **: gnomenu_menu_bar_init found at 0xb60e04c0
libgtk-directfb-2.0-0 libgtk-directfb-2.0-dev and libgtk2.0-0-dbg are not installed by default. You can just remove them.
fengshenx
March 7th, 2008, 12:32 AM
This is not working.
Once I've installed your new packages, update-mager told me that its source list was broken, so I ran (as recommended) :
sudo apt-get install -f
which removed these packages :
Les paquets suivants seront ENLEVÉS :
libgtk-directfb-2.0-0 libgtk-directfb-2.0-dev libgtk2.0-0-dbg
After that update manager was happy and didn't tell me about gtk updates.
But, after install, (even before update manager problem) I lost the global menu.
Menus aren't detached from their windows and If I run for exemple gedit from the command line here's the output :
$)─> gedit
Gtk-Message: Failed to load module "libgnomenu": (null)
(gedit:28613): Gtk-WARNING **: Error parsing gtk-icon-sizes string:
'gtk-small-toolbar=16,16:gtk-large-toolbar=16,16:gtk-button=16,16;panel-menu=16,16:panel=12,12:'
(gedit:28613): Gtk-WARNING **: gnomenu_compatible not found
(gedit:28613): Gtk-WARNING **: gnomenu_menu_bar_class_intern_init found at 0xb60e0500
(gedit:28613): Gtk-WARNING **: gnomenu_compatible not found
(gedit:28613): Gtk-WARNING **: gnomenu_menu_bar_init found at 0xb60e04c0
I tried the new uploaded deb package and got the same error as you. It was strange.:(
And.... I have uploaded third time. *_*
rainwoodman
March 7th, 2008, 02:37 AM
Ok, I've just installed your packages, global menu works. Thanks for that :)
But, your libgtk2.0 version number is the same as original gutsy one, so update-manager keeps asking me to upgrade libgtk2.0 to the distribution version.
You should give a superior version number to avoid that (eg 2.12.0-1ubuntu3.1 instead of : 2.12.0-1ubuntu3). Taht can be done in the debian/changelog file.
I'll suggest to adopt the RPM naming policy. Use a different package name gtk2-aqd-0.4-{packaging release number}-svn{svn number}-{gtk verions} and declare in the package that gtk2-aqd deprecates gtk2 with the same version.
rainwoodman
March 7th, 2008, 02:39 AM
I tried the new uploaded deb package and got the same error as you. It was strange.:(
And.... I have uploaded third time. *_*
It should due to a new change in libgnomenu.
I added a new file main.c and gnomenu_compatible was moved into that file.(also is gtk_module_init)
Please check if that file is in the svn and if that file is in the Makefile.am and if you did a autogen.sh before you make dist and do the packaging stuff.
rainwoodman
March 7th, 2008, 02:40 AM
Has anyone trunk somewhere between 550 and 575? Unfortunately I deleted it:( But it seems to be the best solution for me.
:) That's why we have a svn system.
you can use svn checkout -r 550
to obtain the 550 svn.
Sikon
March 7th, 2008, 04:01 AM
Thanks for the debs! Menus in Eclipse now work again.
ayoli
March 11th, 2008, 11:18 AM
Ok, I managed to compile a patched libgtk using SkiesOfAzel's modified patch for gutsy (http://ubuntuforums.org/showthread.php?t=241868&page=171#1705)
Unfortunately I had some problems with the applet part.
Once I've figured out what deps (even a dep to dia package ??) I needed, It compiled but it didn't install due to this error :
/usr/bin/install -c -m 644 'ClassDiagram.png' './ClassDiagram.png'
/usr/bin/install: `ClassDiagram.png' et `./ClassDiagram.png' identify same file.
/usr/bin/install -c -m 644 'LifeTimeDiagram.png' './LifeTimeDiagram.png'
/usr/bin/install: `LifeTimeDiagram.png' et `./LifeTimeDiagram.png' identify same file.
I find a workaround by assigning empty values to HTML_IMAGES and image_DATA vars in doc/reference/libgnomenu/Makfile, after what make install worked.
But no applet to add to the panel(argh !).
I figured out that gnome (at least on ubuntu) want the applets to be installed with /usr as prefix instead of /usr/local.
So I restart all the compile processes (with my above workarounds), and yay ! I could add the mac menu applet to the panel, but I had a OAFIID:GNOME_GlobalMenuApplet error.
I used the svn rev 738.
PS : I know that I can use the deb provided by fengshenx (btw, they work now, thanks), but I wanted to manage to compile this
gborzi
March 11th, 2008, 06:32 PM
Ok, I've just installed your packages, global menu works. Thanks for that :)
But, your libgtk2.0 version number is the same as original gutsy one, so update-manager keeps asking me to upgrade libgtk2.0 to the distribution version.
You should give a superior version number to avoid that (eg 2.12.0-1ubuntu3.1 instead of : 2.12.0-1ubuntu3). Taht can be done in the debian/changelog file.
To avoid the annoying request by update-manager to upgrade, open (or create) the file /etc/apt/preferences with your preferred text-editor sudo gvim /etc/apt/preferences and put this content in it
Package: libgtk2.0-0
Pin: origin ""
Pin-Priority: 999
This gives high priority to the local libgtk2.0-0 package. See apt_preferences(5).
ayoli
March 11th, 2008, 06:42 PM
To avoid the annoying request by update-manager to upgrade, open (or create) the file /etc/apt/preferences with your preferred text-editor and put this content in it
This gives high priority to the local libgtk2.0-0 package. See apt_preferences(5).
yes I know that, but it's a bit tricky and require user to set it. If the packages are provided, people shouldn't have to edit such file/prefs.
rainwoodman
March 11th, 2008, 10:45 PM
yes I know that, but it's a bit tricky and require user to set it. If the packages are provided, people shouldn't have to edit such file/prefs.
If there is a .deb guru, he/she can fix it by editing the control files,
definitely. Or when I see fengshenx I try to help him.
I didn't see him on line for a long period....
rainwoodman
March 11th, 2008, 10:46 PM
Ok, I managed to compile a patched libgtk using SkiesOfAzel's modified patch for gutsy (http://ubuntuforums.org/showthread.php?t=241868&page=171#1705)
Unfortunately I had some problems with the applet part.
Once I've figured out what deps (even a dep to dia package ??) I needed, It compiled but it didn't install due to this error :
/usr/bin/install -c -m 644 'ClassDiagram.png' './ClassDiagram.png'
/usr/bin/install: `ClassDiagram.png' et `./ClassDiagram.png' identify same file.
/usr/bin/install -c -m 644 'LifeTimeDiagram.png' './LifeTimeDiagram.png'
/usr/bin/install: `LifeTimeDiagram.png' et `./LifeTimeDiagram.png' identify same file.
I find a workaround by assigning empty values to HTML_IMAGES and image_DATA vars in doc/reference/libgnomenu/Makfile, after what make install worked.
But no applet to add to the panel(argh !).
I figured out that gnome (at least on ubuntu) want the applets to be installed with /usr as prefix instead of /usr/local.
So I restart all the compile processes (with my above workarounds), and yay ! I could add the mac menu applet to the panel, but I had a OAFIID:GNOME_GlobalMenuApplet error.
I used the svn rev 738.
PS : I know that I can use the deb provided by fengshenx (btw, they work now, thanks), but I wanted to manage to compile this
I'll go into the problem.
[edit]
OK did you checkout a new copy of the code or did you only do an update?
you might need to rerun autogen.sh. I remember during the period when I am makding adjustments to the configure.ac and Makefile.ams, I hade to rerun autogen.sh to make everything consistent.
I checked out svn 738, and didn't find any problems.
./autogen.sh
make
make DESTDIR=`pwd`/_install install
everything is fine. _install/usr/local/lib/bonobo/server/ has the correct file.
The error you received might due to bonobo-activation-server hasn't noticed that the content of the .server file has changed. try
killall bonobo-activation-server
If you ever meet any weird behavior of bonobo-activation-server again.
ububug
March 11th, 2008, 11:10 PM
Ok, I managed to compile a patched libgtk using SkiesOfAzel's modified patch for gutsy (http://ubuntuforums.org/showthread.php?t=241868&page=171#1705)
Unfortunately I had some problems with the applet part.
Once I've figured out what deps (even a dep to dia package ??) I needed, It compiled but it didn't install due to this error :
/usr/bin/install -c -m 644 'ClassDiagram.png' './ClassDiagram.png'
/usr/bin/install: `ClassDiagram.png' et `./ClassDiagram.png' identify same file.
/usr/bin/install -c -m 644 'LifeTimeDiagram.png' './LifeTimeDiagram.png'
/usr/bin/install: `LifeTimeDiagram.png' et `./LifeTimeDiagram.png' identify same file.
I find a workaround by assigning empty values to HTML_IMAGES and image_DATA vars in doc/reference/libgnomenu/Makfile, after what make install worked.
But no applet to add to the panel(argh !).
I figured out that gnome (at least on ubuntu) want the applets to be installed with /usr as prefix instead of /usr/local.
So I restart all the compile processes (with my above workarounds), and yay ! I could add the mac menu applet to the panel, but I had a OAFIID:GNOME_GlobalMenuApplet error.
I used the svn rev 738.
PS : I know that I can use the deb provided by fengshenx (btw, they work now, thanks), but I wanted to manage to compile this
Same problem here (hardy). :(
rainwoodman
March 11th, 2008, 11:56 PM
Same problem here (hardy). :(
dia is required to build from the svn.
I'll try to fix this problem.
ububug
March 12th, 2008, 12:33 AM
dia is required to build from the svn.
I'll try to fix this problem.
The problem is not compiling. I installed diagram, and compiled successfully. But everytime I try to add the menu applet, I had a OAFIID:GNOME_GlobalMenuApplet error. Any way to get an older version that compile and works?
rainwoodman
March 12th, 2008, 02:10 AM
The problem is not compiling. I installed diagram, and compiled successfully. But everytime I try to add the menu applet, I had a OAFIID:GNOME_GlobalMenuApplet error. Any way to get an older version that compile and works?
That's not the way to fix the problem though.
Can you post me your /usr/lib/bonobo/GNOME_Global......server ?
As well as
ls /usr/libexec/gnome-globalmenu-applet
ls /usr/local/libexec/gnome-globalmenu-applet
?
svn 738 works for me. I built the rpms from that version and installed them on a brand new Fedora 8 on T61. pretty fine.
ububug
March 12th, 2008, 02:29 AM
That's not the way to fix the problem though.
Can you post me your /usr/lib/bonobo/GNOME_Global......server ?
As well as
ls /usr/libexec/gnome-globalmenu-applet
ls /usr/local/libexec/gnome-globalmenu-applet
?
svn 738 works for me. I built the rpms from that version and installed them on a brand new Fedora 8 on T61. pretty fine.
Sure,
<oaf_info>
<oaf_server iid="OAFIID:GNOME_GlobalMenuApplet_Factory" type="exe"
location="/usr/libexec/gnome-globalmenu-applet">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:Bonobo/GenericFactory:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Global Menu applet Factory"/>
<oaf_attribute name="name-fr_FR" type="string" value="Fabrique d'applet de Menu Global"/>
<oaf_attribute name="description" type="string" value="Global Menu applet factory"/>
<oaf_attribute name="description-fr_FR" type="string" value="Fabrique d'applet de Menu Global"/>
</oaf_server>
<oaf_server iid="OAFIID:GNOME_GlobalMenuApplet" type="factory"
location="OAFIID:GNOME_GlobalMenuApplet_Factory">
<oaf_attribute name="repo_ids" type="stringv">
<item value="IDL:GNOME/Vertigo/PanelAppletShell:1.0"/>
<item value="IDL:Bonobo/Control:1.0"/>
<item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute>
<oaf_attribute name="name" type="string" value="Global Menu Applet"/>
<oaf_attribute name="name-fr_FR" type="string" value="Applet Menu Global"/>
<oaf_attribute name="description" type="string" value="Global Menu applet for GNOME"/>
<oaf_attribute name="description-fr_FR" type="string" value="Applet Menu Global pour GNOME"/>
<oaf_attribute name="panel:icon" type="string" value="gnome-fs-home"/>
</oaf_server>
</oaf_info>
ls /usr/libexec/gnome-globalmenu-applet: "/usr/libexec/gnome-globalmenu-applet"
And ls /usr/local/libexec/gnome-globalmenu-applet: ls: "cannot access /usr/local/libexec/gnome-globalmenu-applet: No such file or directory"
Thanks!
ayoli
March 12th, 2008, 05:22 AM
I'll go into the problem.
[edit]
OK did you checkout a new copy of the code or did you only do an update?
you might need to rerun autogen.sh. I remember during the period when I am makding adjustments to the configure.ac and Makefile.ams, I hade to rerun autogen.sh to make everything consistent.
I checked out svn 738, and didn't find any problems.
./autogen.sh
make
make DESTDIR=`pwd`/_install install
everything is fine. _install/usr/local/lib/bonobo/server/ has the correct file.
The error you received might due to bonobo-activation-server hasn't noticed that the content of the .server file has changed. try
killall bonobo-activation-server
If you ever meet any weird behavior of bonobo-activation-server again.
It was a fresh checkout of the rev 738 and I ran autogen.sh at each try (twice with a make clean before the second try).
Is there a way to exclude doc from the make process ? (dia dependency is annoying).
ayoli
March 12th, 2008, 05:26 AM
If there is a .deb guru, he/she can fix it by editing the control files,
definitely. Or when I see fengshenx I try to help him.
I didn't see him on line for a long period....
I think that fengshenx's last patched gtk packages got an higher version number. This must fix the problem though I haven't tested them.
dj_mauz
March 12th, 2008, 07:37 AM
Is there any way to put Mac Menu work in a simply way?
I've read and tryed many ways, but all the How To's I've found here, made reference to files that isn't included in the instructions.
Some have links to files, but don't have any easy instructions for newbies :(
Thanks
ayoli
March 12th, 2008, 07:42 AM
Is there any way to put Mac Menu work in a simply way?
I've read and tryed many ways, but all the How To's I've found here, made reference to files that isn't included in the instructions.
Some have links to files, but don't have any easy instructions for newbies :(
Thanks
If you're running ubuntu 7.10 (gutsy), try this :
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
If you want another method / version try this :
https://wiki.ubuntu.com/global_menu
rainwoodman
March 12th, 2008, 11:48 AM
It was a fresh checkout of the rev 738 and I ran autogen.sh at each try (twice with a make clean before the second try).
Is there a way to exclude doc from the make process ? (dia dependency is annoying).
I am going to investigate the dia dependency problem, today. I'll pm you when I finish.
[edit]
1. I confirmed the bug.
2. I believe it is fixed in svn 743.
rainwoodman
March 12th, 2008, 02:29 PM
Dear fellows, if you want to translate a few strings for the global menu project:
http://code.google.com/p/gnome2-globalmenu/wiki/Translation
I hope I did it clear but if not, let me know and I'll be glad to clearify
ayoli
March 12th, 2008, 04:05 PM
Dear fellows, if you want to translate a few strings for the global menu project:
http://code.google.com/p/gnome2-globalmenu/wiki/Translation
I hope I did it clear but if not, let me know and I'll be glad to clearify
Ah, french already done, can't help here.
rainwoodman
March 13th, 2008, 03:38 AM
I read the wiki page at
https://wiki.ubuntu.com/global_menu
It really even confused me. Too much information, and too much deprecated information.
For example,
(1) the fedora .spec file link and
(2) the applet link links to a deprecated applet that won't work with any up-to-date thing.
(3) the building guide was done at
http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch
and a ubuntu special version is at
http://code.google.com/p/gnome2-globalmenu/wiki/BuildSourceOnUbuntu
I suggest to separate it into two sections, global menu section and mac menu section. (One obvious reason is that global menu doesn't work for 64bit yet(and no one knows how to fix!).)
A major different between global menu and mac menu is that global menu can provide global menu for applications that uses global menu. The role of gtk patch is to provide a compatible layer for traditionally (legacy) GTK applications that don't use global menu. whereas in Mac menu, gtk patch is mac menu itself.
In Global Menu, you need two things to set it up: libgnomenu and a menu server(one of gnome-globalmenu-applet, xfce-globalmenu-plugin and gtk-globalmenu-server).
Then you need gtk+-aqd patch to have legacy GTK applications work with global menu.
In Mac Menu you need two things to set it up gtk+-aqd patch to have GTK applications work with mac menu, and a server:
gnome-macmenu-applet or xfce-macmenu-applet.
Then the remaining problem is to obtain those packages/source/files.
ayoli
March 13th, 2008, 05:27 AM
I read the wiki page at
https://wiki.ubuntu.com/global_menu
It really even confused me. Too much information, and too much deprecated information.
For example,
(1) the fedora .spec file link and
(2) the applet link links to a deprecated applet that won't work with any up-to-date thing.
(3) the building guide was done at
http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch
and a ubuntu special version is at
http://code.google.com/p/gnome2-globalmenu/wiki/BuildSourceOnUbuntu
I suggest to separate it into two sections, global menu section and mac menu section. (One obvious reason is that global menu doesn't work for 64bit yet(and no one knows how to fix!).)
I do agree with this. We have to rewrite from scratch the wiki page.
I wrote a short guide on my own site (http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/), if it looks ok I can port it to the wiki.
A major different between global menu and mac menu is that global menu can provide global menu for applications that uses global menu. The role of gtk patch is to provide a compatible layer for traditionally (legacy) GTK applications that don't use global menu. whereas in Mac menu, gtk patch is mac menu itself.
In Global Menu, you need two things to set it up: libgnomenu and a menu server(one of gnome-globalmenu-applet, xfce-globalmenu-plugin and gtk-globalmenu-server).
Then you need gtk+-aqd patch to have legacy GTK applications work with global menu.
In Mac Menu you need two things to set it up gtk+-aqd patch to have GTK applications work with mac menu, and a server:
gnome-macmenu-applet or xfce-macmenu-applet.
Then the remaining problem is to obtain those packages/source/files.
Could we use this as intro in the wiki to explain difference between the global menu and the olld mac menu ?
And oh, I didn't taht global menu doesn't work on 64bits atm. This page (http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu) on your google project site give instructions to compile global menu for 64bits, is it deprecated, an error ?
ayoli
March 13th, 2008, 06:08 AM
Compilation, make and install worked like a charm with the rev 756.
No more dia dependency.
Btw, I used --prefix=/usr instead of --prefix=/usr/local
zjarenas
March 13th, 2008, 01:41 PM
Ok... I'm very new to linux (about a week or so) but since Ive started Ive spent atleast 8hrs a day usually into the wee hrs of the morning trying to get things the way I want them.
I've followed every step on the Global Menu wiki screwed something up and had to reinstall. then i found this link.
http://renatoxavier.wordpress.com/2008/01/22/mac-menu-ubuntu/
Followed every step and it went off without a hitch. so I restart my comp right click on the panel at the bottom of the screen select add to panel=> then I add the Mac Menu and it acts like it did something but nothings changed.
I also dont know how to install new themes. Is there a theme manager i can use. Let me apply themes that i have downloaded. Furthermore how do i know what Window decorator I am running. whats the difference with Xfce, Gtk2,Gtk+,etc Like if a theme says its for a specific thing. I am not apposed to reading. If anyone knows a link explaining all this i can do my own research but so far google has been fruitless.:confused:
I know it must get old telling new users how to do simple tasks but any help i could get would be GREATLY appreciated.
sunchaser
March 13th, 2008, 02:49 PM
Ok... I'm very new to linux (about a week or so) but since Ive started Ive spent atleast 8hrs a day usually into the wee hrs of the morning trying to get things the way I want them.
I've followed every step on the Global Menu wiki screwed something up and had to reinstall. then i found this link.
http://renatoxavier.wordpress.com/2008/01/22/mac-menu-ubuntu/
Followed every step and it went off without a hitch. so I restart my comp right click on the panel at the bottom of the screen select add to panel=> then I add the Mac Menu and it acts like it did something but nothings changed.
I also dont know how to install new themes. Is there a theme manager i can use. Let me apply themes that i have downloaded. Furthermore how do i know what Window decorator I am running. whats the difference with Xfce, Gtk2,Gtk+,etc Like if a theme says its for a specific thing. I am not apposed to reading. If anyone knows a link explaining all this i can do my own research but so far google has been fruitless.:confused:
I know it must get old telling new users how to do simple tasks but any help i could get would be GREATLY appreciated.
Try this in terminal:
sudo gedit .gnomerc
add export GTK_MODULES="libgnomenu"
Save and Restart X.
As for themes, right click at desktop and choose "change desktop background". Then choose Themes tab. Click install or you could just drag your theme to window theme.
Hope it works...
Cheers...
zjarenas
March 13th, 2008, 03:41 PM
I entered the line in the .gnomerc (is it supposed to be blank?) anyways i put the line in there saved it, restarted and to no avail.
What exactly is supposed to happen when i select add mac menu. It adds something to the panel. But it just tells me what the active window is.
oh and thanx for the theme bit but now i have another question ( sorry :( ). What file type is it looking for under the install. It does not recognize the .theme files that come with what i download.
Let me be a little more specific. This is the theme I am trying to use.
http://gnome-look.org/content/show.php/imetal?content=63734
It has the mac menu style i like among other things. But it comes with so many different folders (Emerald, gtk, Firefox, OSX, and it brings the mac applet) Which do I use and how? Do i need to do something with the mac applet it brings so i can get it to look like that?
Thanx again for the help
rainwoodman
March 13th, 2008, 04:16 PM
I do agree with this. We have to rewrite from scratch the wiki page.
I wrote a short guide on my own site (http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/), if it looks ok I can port it to the wiki.
It is a neaty one. But it has'nt take the full advantage of the scripts in the project svn and code. I'll leave comments to your wiki later.
Could we use this as intro in the wiki to explain difference between the global menu and the olld mac menu ?
Yes we can. If you got the idea, perhaps you will want to rewitten it in a more proper and clear way. my language skill is crappy.
And oh, I didn't taht global menu doesn't work on 64bits atm. This page (http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu) on your google project site give instructions to compile global menu for 64bits, is it deprecated, an error ?
It doesn't build, should be a small issue but takes time to figure it out fix but we don't have 64 bit box to do it. Once it is built I think it will be fine.
The project wiki page suffers from a formatting mistake. the 64-bit part is left blank and then you tend to treat the following build from source part as the content for 64-bit. I've fixed it.
rainwoodman
March 13th, 2008, 04:17 PM
I don't think you need sudo to edit .gnomerc in your home directory.
Try this in terminal:
sudo gedit .gnomerc
add export GTK_MODULES="libgnomenu"
Save and Restart X.
As for themes, right click at desktop and choose "change desktop background". Then choose Themes tab. Click install or you could just drag your theme to window theme.
Hope it works...
Cheers...
rainwoodman
March 14th, 2008, 01:47 AM
A few new changes to the applet(and other menu servers).
* Use glade to build the preference dialog.
* set title font as you like
* set max title length.
* optimized code base.
Version:
gnome-globalmenu-applet-0.4.svn776-1.fc8
rainwoodman
March 14th, 2008, 05:59 AM
I am glad to announce a new improvement in global menu svn 780.
The screenshot will tell everything. The overflowed menu items are correctly dealed. More importantly, it is implemented in GnomenuMenuBar, thus, even you don't start a Global Menu server, you still get some benefits.
Known issue GVim hangs.
Testing and bugs are Welcomed.
ayoli
March 14th, 2008, 06:52 AM
I am glad to announce a new improvement in global menu svn 780.
The screenshot will tell everything. The overflowed menu items are correctly dealed. More importantly, it is implemented in GnomenuMenuBar, thus, even you don't start a Global Menu server, you still get some benefits.
Known issue GVim hangs.
Testing and bugs are Welcomed.
wow, nifty feature :)
rainwoodman
March 14th, 2008, 08:49 AM
wow, nifty feature :)
Thanks.
GVIM issue is worked around. Though I can use some hackish code to recursively gointo every child widget of the menu items and obtain the real menu item title. I don't feel like to do it. GtkMenuItem by definition is a GtkBin, and shall only contains a GtkLabel as its children.
one should subclass GtkMenuItem if fancy stuff is needed.
GVim don't give fancy stuff but still put an GtkHbox as the GtkBin's child.
ayoli
March 14th, 2008, 09:27 AM
Thanks.
GVIM issue is worked around. Though I can use some hackish code to recursively gointo every child widget of the menu items and obtain the real menu item title. I don't feel like to do it. GtkMenuItem by definition is a GtkBin, and shall only contains a GtkLabel as its children.
one should subclass GtkMenuItem if fancy stuff is needed.
GVim don't give fancy stuff but still put an GtkHbox as the GtkBin's child.
Gimp does the same doesn't it (if the GtkHbox ist the dashed line on top of the menu)
rainwoodman
March 14th, 2008, 11:16 AM
Gimp does the same doesn't it (if the GtkHbox ist the dashed line on top of the menu)
The dashed line isn't GtkHbox.
GtkMenuItem is a GtkBin, which only allows you to set one widget as its child. The way to set multi widget into it is to use a GtkHBOX to pack them.
GIMP is n't using this trick. since I successfully obtaint the MenuItem's child as a GtkLabel.
ayoli
March 14th, 2008, 12:09 PM
The dashed line isn't GtkHbox.
GtkMenuItem is a GtkBin, which only allows you to set one widget as its child. The way to set multi widget into it is to use a GtkHBOX to pack them.
GIMP is n't using this trick. since I successfully obtaint the MenuItem's child as a GtkLabel.
ok.rev 789, it builds and install fine (at least haven't seen errors) but I got the OAFIID:GNOME_GlobalMenuApplet error.
so I tried rev 787 (arbitrary choice) : same error
so I tried rev 780 : same error again.
In each case I tried a second time after killing bonobo-activation-server still the same error.
So I tried the rev 756 (which I managed to compile install and run yesterday on another box), and all went fine no OAFIID:GNOME_GlobalMenuApplet error.
Any clue ?
rainwoodman
March 14th, 2008, 02:59 PM
ok.rev 789, it builds and install fine (at least haven't seen errors) but I got the OAFIID:GNOME_GlobalMenuApplet error.
so I tried rev 787 (arbitrary choice) : same error
so I tried rev 780 : same error again.
In each case I tried a second time after killing bonobo-activation-server still the same error.
So I tried the rev 756 (which I managed to compile install and run yesterday on another box), and all went fine no OAFIID:GNOME_GlobalMenuApplet error.
Any clue ?
It is really mad. It still works fine and I confirmed it is not due to the same problem before 756. Can you post the installed .server file?
Another way to test:(autogen.sh --enable-tracing=3)
open terminal,
killall gnome-globalmenu-applet
type /usr/libexec/gnome-globalmenu-applet
You may also want to goto the servers directory in the source, and invoke
libtool gdb gnome-globalmenu-applet
If it quits immediately, it means the .server file is not properly installed.
If it doesn't quit immeidately,
try to add the applet to the panel,
and post the very long tracing messages here.
The applet did crash for once on my box, but when I decided to study the crash, it disappears.
I also suggest yo to try invoking
gtk-globalmenu-server -f
and see if it crashes.
rainwoodman
March 14th, 2008, 03:01 PM
ok.rev 789, it builds and install fine (at least haven't seen errors) but I got the OAFIID:GNOME_GlobalMenuApplet error.
so I tried rev 787 (arbitrary choice) : same error
so I tried rev 780 : same error again.
In each case I tried a second time after killing bonobo-activation-server still the same error.
So I tried the rev 756 (which I managed to compile install and run yesterday on another box), and all went fine no OAFIID:GNOME_GlobalMenuApplet error.
Any clue ?
Also try to use English Locale.
I hope ... It is not due to the French translation.
ayoli
March 14th, 2008, 03:04 PM
Also try to use English Locale.
I hope ... It is not due to the French translation.
I'll give a try to this on sunday, I leave now, til sunday.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.