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
ruipalmeira
November 14th, 2008, 10:39 AM
hey, thank you for the trick. I followed your instructuin, I can see the menu and I confirm the incompatibility with fast-user-switcher applet. another thing, quite bizzare, when there's no program opened, the globalmenu shows File-Edit-Places-Help, but the items under 'Places' that ares supposed to launch Nautilus (Home, Computer, Documents, Music ..) don't work: when I click on them, it crashes the globalmenu applet. anyone else experiencing this?
sorry for double posting, that should be normal, since Nautilus is responsible for the placement of icons on your desktop.
but clicking the places shouldn't crash the applet. i tried it, and it crashes for me too... too buggy that's why i'm deleting it from my system....
lviggiani
November 14th, 2008, 04:25 PM
Hi Guys,
while waiting for the globalmenu developers to complete their great job, I decided to patch the applet by myself in order to get the followings:
1) Current application name displayed sideways the menu
2) Current application name displayed even for non gtk windows (i.e. OpenOffice, Firefox, Skype etc.) - Obviously no menu
Please have a look at the attached screeshots.
If someone wants to have it, just:
1) Checkout the current source (at present is 1479). You can force version by using the -r 1479 option in svn checkout command
2) Overwrite the files <check_out_dir>/applet/applet.vala and <check_out_dir>/libgnomenu/gnomenu-menubar.vala with those attached to this post
3) Compile and install as usual
4) Enjoy
Ciao!
wapsi
November 14th, 2008, 05:14 PM
Hi Guys,
while waiting for the globalmenu developers to complete their great job, I decided to patch the applet by myself in order to get the followings:
1) Current application name displayed sideways the menu
2) Current application name displayed even for non gtk windows (i.e. OpenOffice, Firefox, Skype etc.) - Obviously no menu
Please have a look at the attached screeshots.
If someone wants to have it, just:
1) Checkout the current source (at present is 1479). You can force version by using the -r 1479 option in svn checkout command
2) Overwrite the files <check_out_dir>/applet/applet.vala and <check_out_dir>/libgnomenu/gnomenu-menubar.vala with those attached to this post
3) Compile and install as usual
4) Enjoy
Ciao!
Thank you very much!
BTW: There is about 1px line between the application's name and the gtk-menu... Is there some way to remove this line? I attached a screenshots about this...
lviggiani
November 14th, 2008, 05:42 PM
Thank you very much!
BTW: There is about 1px line between the application's name and the gtk-menu... Is there some way to remove this line? I attached a screenshots about this...
I noticed the same on my computer... let me check if I can remove it.
lviggiani
November 14th, 2008, 05:50 PM
Hi Guys,
while waiting for the globalmenu developers to complete their great job, I decided to patch the applet by myself in order to get the followings:
1) Current application name displayed sideways the menu
2) Current application name displayed even for non gtk windows (i.e. OpenOffice, Firefox, Skype etc.) - Obviously no menu
Please have a look at the attached screeshots.
If someone wants to have it, just:
1) Checkout the current source (at present is 1479). You can force version by using the -r 1479 option in svn checkout command
2) Overwrite the files <check_out_dir>/applet/applet.vala and <check_out_dir>/libgnomenu/gnomenu-menubar.vala with those attached to this post
3) Compile and install as usual
4) Enjoy
Ciao!
...fixed.
wapsi
November 15th, 2008, 02:50 AM
...fixed.
Thanks again! :KS
rainwoodman
November 16th, 2008, 04:24 AM
...fixed.
The feature has been merged into trunk 1482.
The labels are drawn by the applet instead of in Gnomenu.MenuBar.
Styles and transparency are handled in an exteme hackish way(to avoid reentrence). Has to be rewritten.
GConf integration and preferences are completely missing.
Efforts on them are welcomed.
I won't have time on them until late December anyways.
lviggiani
November 16th, 2008, 08:21 AM
The feature has been merged into trunk 1482.
The labels are drawn by the applet instead of in Gnomenu.MenuBar.
Styles and transparency are handled in an exteme hackish way(to avoid reentrence). Has to be rewritten.
GConf integration and preferences are completely missing.
Efforts on them are welcomed.
I won't have time on them until late December anyways.
Hi, thanks for merging my contribute.
BTW, I have checked out the latest source and I notice the followings (see screen shot):
1) The label is misaligned with the menu
2) The applet shows ("File Manager") rather than "Desktop" (which is formally correct but I prefer Desktop when it is selected)
3) The applet keeps showing the File Manager (desktop) menu when non gtk windows are selected (i.e. Firefox). I personally find this as misleading / confusing...
If you like and if you have no time to fix the above, I can start from 1479 and include gconf integration.
Ciao.
lviggiani
November 16th, 2008, 01:29 PM
Hi, thanks for merging my contribute.
BTW, I have checked out the latest source and I notice the followings (see screen shot):
1) The label is misaligned with the menu
2) The applet shows ("File Manager") rather than "Desktop" (which is formally correct but I prefer Desktop when it is selected)
3) The applet keeps showing the File Manager (desktop) menu when non gtk windows are selected (i.e. Firefox). I personally find this as misleading / confusing...
If you like and if you have no time to fix the above, I can start from 1479 and include gconf integration.
Ciao.
Hi, I have changed my patch so that the rendering of the label is now handled by the applet rather than the Gnomenu.MenuBar class.
Label background is now handled in the same way it is handled for menubar in applet.vala
All my changes (in applet.vala) are tracked.
Note for users: Nothing changes since my last patch from the end user point of view.
I will now continue by including application icon and gconf integration.
I have another idea: we might use the application label as a menu that when clicked shows the list of open windows and allows switching among them (like a task bar). I'll implement it if someone is interested.
Ciao!
ayoli
November 16th, 2008, 02:42 PM
Nice to see someone else involed in this project :)
IMO, you should get in touch with rainwoodman.
tomas.sprlak
November 16th, 2008, 05:14 PM
I will now continue by including application icon and gconf integration.
I have another idea: we might use the application label as a menu that when clicked shows the list of open windows and allows switching among them (like a task bar). I'll implement it if someone is interested.
wow, that would be awesome!
CookedGryphon
November 16th, 2008, 07:45 PM
Hi, I have changed my patch so that the rendering of the label is now handled by the applet rather than the Gnomenu.MenuBar class.
Label background is now handled in the same way it is handled for menubar in applet.vala
All my changes (in applet.vala) are tracked.
Note for users: Nothing changes since my last patch from the end user point of view.
I will now continue by including application icon and gconf integration.
I have another idea: we might use the application label as a menu that when clicked shows the list of open windows and allows switching among them (like a task bar). I'll implement it if someone is interested.
Ciao!
You can do this already using the "window selector" applet in the appropriate place. The only thing i find misses is a separation of windows by workspace (it's meant to have it, possibly a compiz issue).
It would be nice to not have the handle on the applet - it looks ugly in my set up.
Also is there a reason the applet expands to fill the panel? It makes it hard to click on the panel itself.
Good work so far, I'm loving the extra screen space!
lviggiani
November 17th, 2008, 03:13 AM
You can do this already using the "window selector" applet in the appropriate place. The only thing i find misses is a separation of windows by workspace (it's meant to have it, possibly a compiz issue).
It would be nice to not have the handle on the applet - it looks ugly in my set up.
Also is there a reason the applet expands to fill the panel? It makes it hard to click on the panel itself.
Good work so far, I'm loving the extra screen space!
Yes that's the idea: to use the label not just as an indication of currently selected application but also as a window selector. So you can have the two features merged into a single applet.
lviggiani
November 17th, 2008, 08:37 AM
The feature has been merged into trunk 1482.
The labels are drawn by the applet instead of in Gnomenu.MenuBar.
Styles and transparency are handled in an exteme hackish way(to avoid reentrence). Has to be rewritten.
GConf integration and preferences are completely missing.
Efforts on them are welcomed.
I won't have time on them until late December anyways.
Hi, where can I find documentation about "PanelCompat.Applet"?
Especially related to gconf integration.
BTW, I'm trying to use the GConf package to read/write settings but it doesn't work. I've used as reference this example:
http://live.gnome.org/Vala/GConfSample
that, after a small bug fix and uncommenting two rows works fine and also receives callbacks when changing values in gconf-editor.
When I try to move that example to the applet nothing seems to work:
1) I don't see the keys I try to set
2) The get_entry method seems always to return something even if the key I read is not shown in gconf-editor (thus should not exist) etc...
I feel frustrated... :(
Have you got any reference I can try to follow?
Thanks!
jackvallen
November 17th, 2008, 11:18 AM
You can do this already using the "window selector" applet in the appropriate place. The only thing i find misses is a separation of windows by workspace (it's meant to have it, possibly a compiz issue).
It would be nice to not have the handle on the applet - it looks ugly in my set up.
Also is there a reason the applet expands to fill the panel? It makes it hard to click on the panel itself.
Good work so far, I'm loving the extra screen space!
Nice idea :)
flashmxboy
November 17th, 2008, 02:09 PM
Hi...
lviggiani i dont understand the how to install the patch:(
I am a bit new to ubuntu :(
How do i svn checkout?? In the terminal??:confused:
sorry for bothering...
ayoli
November 17th, 2008, 03:43 PM
Hi...
lviggiani i dont understand the how to install the patch:(
I am a bit new to ubuntu :(
How do i svn checkout?? In the terminal??:confused:
sorry for bothering...
Yes.
You may need to install svn before. To do that type in a terminal :
sudo apt-get install subversion
(you will be prompted for your user password)
Once install you can run the svn checkout command from the how to.
Now, if you're new to linux, read carefully instructions and feel free to ask what you don't understand.
rainwoodman
November 17th, 2008, 10:34 PM
Hi, where can I find documentation about "PanelCompat.Applet"?
Especially related to gconf integration.
BTW, I'm trying to use the GConf package to read/write settings but it doesn't work. I've used as reference this example:
http://live.gnome.org/Vala/GConfSample
that, after a small bug fix and uncommenting two rows works fine and also receives callbacks when changing values in gconf-editor.
When I try to move that example to the applet nothing seems to work:
1) I don't see the keys I try to set
2) The get_entry method seems always to return something even if the key I read is not shown in gconf-editor (thus should not exist) etc...
I feel frustrated... :(
Have you got any reference I can try to follow?
Thanks!
Glad you are around.
PanalCompat is the namespace I use to workaround the buggy api bindings
for libpanelapplet-1.0 in VALA.
Directly writing into the gconf keys doesn't work. A schema file has to be witten(something like
http://code.google.com/p/gnome2-globalmenu/source/browse/branches/0.4/servers/gnome-globalmenu-applet.schemas.in
notice the difference between .schemas.in and .schemas
), and installed to the system.
After that file is installed, under panel_applet_ namespace there are many useful routines for r/w gconf keys:
panel_applet_add_preferences: to generate a root key for this current instance of the applet.
panel_applet_gconf_get/set*: read and write keys.
panel_applet_get_preferences_key: mostly useless if you use panel_applet_gconf_get/set.
Documents are in Devhelp.
vala (upto 4.0) doesn't have bindings for panel_applet_gconf*.
I've added them to vapi-compat/panelappletcompat.vapi but not sure if they work properly.
lviggiani
November 18th, 2008, 03:36 AM
Glad you are around.
PanalCompat is the namespace I use to workaround the buggy api bindings
for libpanelapplet-1.0 in VALA.
Directly writing into the gconf keys doesn't work. A schema file has to be witten(something like
http://code.google.com/p/gnome2-globalmenu/source/browse/branches/0.4/servers/gnome-globalmenu-applet.schemas.in
notice the difference between .schemas.in and .schemas
), and installed to the system.
After that file is installed, under panel_applet_ namespace there are many useful routines for r/w gconf keys:
panel_applet_add_preferences: to generate a root key for this current instance of the applet.
panel_applet_gconf_get/set*: read and write keys.
panel_applet_get_preferences_key: mostly useless if you use panel_applet_gconf_get/set.
Documents are in Devhelp.
vala (upto 4.0) doesn't have bindings for panel_applet_gconf*.
I've added them to vapi-compat/panelappletcompat.vapi but not sure if they work properly.
Hi, thank you for the useful information.
It looks more complicated than expected (I'm not so deep in gtk programming, I must confess). BTW it's a good chance to get experience!
Another point you might help me about:
Supposing I have a Wnck.Window that I want to activate (make current active window).
When calling the method .activate(Gtk.get_current_event_time()) it works if:
1) The window I'm activating is on current desktop cube face (using compiz)
2) The window is on another desktop cube face that does not contain any window (in this case the cube rotate to the face where my window is)
It doesn't if the window I want to activate is on another face and current cube face contains at least one window.
I've tried with (item.user_data as Wnck.Window).get_workspace().activate(Gtk.get_curr ent_event_time()); but it doesn't work... any idea?
Thanks!
zniavre
November 18th, 2008, 06:20 AM
hello / bonjour
i tried last night to compile vala anf gobalmenu but
the menubar is weird something wrong with display.
it looks as it can't support panel background anymore , with default theme it's working but not with themed panel.
im quite sure you ll find a solution
:o)
by the way > some body managed to compile and install old global menu(the one availlable for hardy) on intrepid ?
good bye thank you all
ayoli
November 18th, 2008, 07:04 AM
hello / bonjour
i tried last night to compile vala anf gobalmenu but
the menubar is weird something wrong with display.
it looks as it can't support panel background anymore , with default theme it's working but not with themed panel.
im quite sure you ll find a solution
:o)
I think you need a style for the menu with same background as the panel.
by the way > some body managed to compile and install old global menu(the one availlable for hardy) on intrepid ?
good bye thank you all
I dunno, but I won't try. It requires to patch gtk which is quite annoying (more complicated to install, issues with gtk updates from ubuntu, etc...)
zniavre
November 18th, 2008, 07:47 AM
i thought is was finish this mod of gtkrc the last version did it "alone" without any hack ... but may i forgot this point i will try again.
you 're right for old version it was just an (silly) idea to use it again.
thank you for answering
merci à bientot
flashmxboy
November 18th, 2008, 10:42 AM
Hmm im a kinda newbie to linux....:confused:
when i tried install the patch and to svn checkout i got some errors:confused:
:confused:
ubuntu@ubuntu:~$ svn checkout
svn: Try 'svn help' for more info
svn: Not enough arguments provided
Shuld i do this first:confused: cd folder where i downloaded patch
ayoli
November 18th, 2008, 11:24 AM
Hmm im a kinda newbie to linux....:confused:
when i tried install the patch and to svn checkout i got some errors:confused:
:confused:
ubuntu@ubuntu:~$ svn checkout
svn: Try 'svn help' for more info
svn: Not enough arguments provided
Shuld i do this first:confused: cd folder where i downloaded patch
What patch ? do you mean the patch submited by lviggiani few posts ago ? If yes, it has been merged into the globalmenu trunk.
So you just need to install following a how to (for ex this one (http://ubuntuforums.org/showthread.php?t=241868&page=223#2222) or this one (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/))
And btw, checkout some code from svn means retrieve files from a svn repository. That means you should give an url, for ex : checking out globalmenu code :
svn checkout http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome-globalmenu-0.6
will download globalmenu source code files in a folder called "gnome-globalmenu-0.6" on your file system.
lviggiani
November 18th, 2008, 11:58 AM
Hi,
I have a question
Wnck.Window.get_geometry
always return 0 for all x,y,w,h
This is the way I use it:
int x, y, w, h;
my_win.get_geometry(x, y, w, h); // gives me 0 for all
I'm pretty sure I'm not using it in the correct way...
There is a simila function Gdk.Window.get_geometry that accepts params with the out keyword and it works but it gives me the position of the window relative to the screen without considering the viewport_x and y coordinates, so not counting with face of the cube I'am.
I tried using Wnck.Window.get_geometry with the out keyword but it doesn't compile.
Can you help me with this function?
I'm just a step far away from completing the "window selector" function feature attached to the applet application label.
ayoli
November 18th, 2008, 12:08 PM
@rainwoodman :
Do the quirks (described here (http://code.google.com/p/gnome2-globalmenu/wiki/ApplicationCompatibility)) still work in the 0.6 series ?
Because I have some issues with eclipse 3.4 menus (most of them won't show when I click on the label (ie: file, edit, ...)
So I tried to put in ~/.libgnomenu.conf :
Eclipse : ignore
but it doesn't work.
edit :
Also a bug/regression : keybinds to access to menu (ie: ALT+f to open 'File' menu) appears to not work anymore.
(using rev 1478 )
edit 2 :
Argh ! I was about to post an issue about the above bug when I saw this one (http://code.google.com/p/gnome2-globalmenu/issues/detail?id=134). Also see one about the eclipse bug.
Can't wait for the 0.7 serie and the fixes for those issues.
flashmxboy
November 18th, 2008, 01:06 PM
Ok... i followed the tutorial to install globalmenu..but when i added a line to the gnomerc so the global menu should start upon login....
But when i logged in again it did not start...
So i tried to edit gnomerc again and then i got this error ubuntu@ubuntu:~$ gedit ~/.gnomerc
Gtk-Message: Failed to load module "globalmenu-gnome": libglobalmenu-gnome.so: cannot open shared object file: No such file or directory
Edit: I repeated all the steps in the tutorial and then it works
CookedGryphon
November 18th, 2008, 01:51 PM
@rainwoodman :
Do the quirks (described here (http://code.google.com/p/gnome2-globalmenu/wiki/ApplicationCompatibility)) still work in the 0.6 series ?
Because I have some issues with eclipse 3.4 menus (most of them won't show when I click on the label (ie: file, edit, ...)
So I tried to put in ~/.libgnomenu.conf :
Eclipse : ignore
but it doesn't work.
edit :
Also a bug/regression : keybinds to access to menu (ie: ALT+f to open 'File' menu) appears to not work anymore.
(using rev 1478 )
edit 2 :
Argh ! I was about to post an issue about the above bug when I saw this one (http://code.google.com/p/gnome2-globalmenu/issues/detail?id=134). Also see one about the eclipse bug.
Can't wait for the 0.7 serie and the fixes for those issues.
To ignore eclipse add
export GTK_MENUBAR_NO_MAC=eclipse
to your ~/.gnomerc file
ayoli
November 18th, 2008, 02:25 PM
To ignore eclipse add
export GTK_MENUBAR_NO_MAC=eclipse
to your ~/.gnomerc file
Aha :) back to the old way.
Thanks for the hint !
lviggiani
November 19th, 2008, 03:13 AM
Hi,
I have a question
Wnck.Window.get_geometry
always return 0 for all x,y,w,h
This is the way I use it:
int x, y, w, h;
my_win.get_geometry(x, y, w, h); // gives me 0 for all
I'm pretty sure I'm not using it in the correct way...
There is a simila function Gdk.Window.get_geometry that accepts params with the out keyword and it works but it gives me the position of the window relative to the screen without considering the viewport_x and y coordinates, so not counting with face of the cube I'am.
I tried using Wnck.Window.get_geometry with the out keyword but it doesn't compile.
Can you help me with this function?
I'm just a step far away from completing the "window selector" function feature attached to the applet application label.
ok, I've answered to myself...
added
public class Window : GLib.Object {
[CCode (cheader_filename = "libwnck/libwnck.h")]
public void get_geometry (out int x, out int y, out int width, out int height);
}
to wnckcompat.vapi
however even this method doesn't solve my problem :( ... I think I have to use XGetGeometry...
zniavre
November 19th, 2008, 08:01 AM
hello
im stuck on bad display of applet
i did every process two time it looks well installed as i see in ayoli blog.
but global menu looks very bad i do not know the word in english so sorry for this i posted an picture in my drop box
http://dl.getdropbox.com/u/187396/Capture-15.png this is with modified gtkrc
http://dl.getdropbox.com/u/187396/Capture-13.png this is without modification into gtkrc
hope its just a config worries
thank you merci
lviggiani
November 19th, 2008, 10:14 AM
Hi Guys,
while waiting for the globalmenu developers to complete their great job, I decided to patch the applet by myself in order to get the followings:
1) Current application name displayed sideways the menu
2) Current application name displayed even for non gtk windows (i.e. OpenOffice, Firefox, Skype etc.) - Obviously no menu
Please have a look at the attached screeshots.
If someone wants to have it, just:
1) Checkout the current source (at present is 1479). You can force version by using the -r 1479 option in svn checkout command
2) Overwrite the files <check_out_dir>/applet/applet.vala and <check_out_dir>/libgnomenu/gnomenu-menubar.vala with those attached to this post
3) Compile and install as usual
4) Enjoy
Ciao!
Hi Guys,
in addition to the above, I have included a new feature as shown in the screenshot: now the current application label, if clicked, serves as window list / window selector.
If you want to have it, just checkout the trunk (at peresent is version 1489) and apply the attached patch as before.
I've tested it with compiz and desktop cube and desktop wall (2x2) plugins enabled.
Note: there is still a known issue: when selecting (from the menu) a window that is not in current desktop face and it is minimized, it doesn't unminimize automatically if in current face (where I was before selecting the window from the menu) there is at least one window visible (a bit complicated to explain... :( )
Ciao!
Argeroth
November 19th, 2008, 12:19 PM
Greetings!,
I've followed the tutorial for installing the mac-style menu bar.
http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
I find I am having limited success with the process. When I add the global menu panel applet, I get the following result (Screenshot attached) any suggestions on what I'm doing wrong?
lviggiani
November 19th, 2008, 12:23 PM
Greetings!,
I've followed the tutorial for installing the mac-style menu bar.
http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
I find I am having limited success with the process. When I add the global menu panel applet, I get the following result (Screenshot attached) any suggestions on what I'm doing wrong?
As far as I can see you added the globalmenu applet in your panel at the bottom of the window whereas it is designed to be put on the top panel.
Other than that, from your screenshot, I don't see any other problems...
Argeroth
November 19th, 2008, 12:49 PM
Perhaps I am miss understanding what this applet actually is, it doesn't look anything like the screen shots... :) I'm just perplexed on how I get from that screenshot to this screen shot...
http://static.flickr.com/117/284328107_af99da556d_o.jpg
lviggiani
November 19th, 2008, 12:53 PM
Perhaps I am miss understanding what this applet actually is, it doesn't look anything like the screen shots... :) I'm just perplexed on how I get from that screenshot to this screen shot...
http://static.flickr.com/117/284328107_af99da556d_o.jpg
Did you download and apply my patch from here http://ubuntuforums.org/showpost.php?p=6210426&postcount=2282 before doing ./autogen.sh , make and sudo make install?
After doing this, just remove the applet from the panel and add it again (but this time to the upper panel and remove the applet "Menu Bar" and replace it with "Main Menu").
Ciao!
lviggiani
November 19th, 2008, 03:42 PM
Glad you are around.
PanalCompat is the namespace I use to workaround the buggy api bindings
for libpanelapplet-1.0 in VALA.
Directly writing into the gconf keys doesn't work. A schema file has to be witten(something like
http://code.google.com/p/gnome2-globalmenu/source/browse/branches/0.4/servers/gnome-globalmenu-applet.schemas.in
notice the difference between .schemas.in and .schemas
), and installed to the system.
After that file is installed, under panel_applet_ namespace there are many useful routines for r/w gconf keys:
panel_applet_add_preferences: to generate a root key for this current instance of the applet.
panel_applet_gconf_get/set*: read and write keys.
panel_applet_get_preferences_key: mostly useless if you use panel_applet_gconf_get/set.
Documents are in Devhelp.
vala (upto 4.0) doesn't have bindings for panel_applet_gconf*.
I've added them to vapi-compat/panelappletcompat.vapi but not sure if they work properly.
Hi, thanks for that.
I have a question? how do you install that schema to the system?
Another question:
in your panelappletcompat you declare also method "setup_menu" that wants a "BonoboUI.Verb[] verb_list" as input. However when I daclare any variable of type "BonoboUI.Verb" like...
var verb = BonoboUI.Verb();
verb.cname = "About";
...the compiler gives the following error:
/applet.c:432: undefined reference to `bonobo_ui_verb_destroy'
... I think the binding to libbonoboui-2.0 is buggy too...
is there a way to fix that?
Thanks
Argeroth
November 20th, 2008, 04:26 AM
Did you download and apply my patch from here http://ubuntuforums.org/showpost.php?p=6210426&postcount=2282 before doing ./autogen.sh , make and sudo make install?
After doing this, just remove the applet from the panel and add it again (but this time to the upper panel and remove the applet "Menu Bar" and replace it with "Main Menu").
Ciao!
I actually had not tried patching. I will when I get home this morning and see what difference it makes. Thank you!
lviggiani
November 20th, 2008, 12:30 PM
Hi Guys,
in addition to the above, I have included a new feature as shown in the screenshot: now the current application label, if clicked, serves as window list / window selector.
If you want to have it, just checkout the trunk (at peresent is version 1489) and apply the attached patch as before.
I've tested it with compiz and desktop cube and desktop wall (2x2) plugins enabled.
Note: there is still a known issue: when selecting (from the menu) a window that is not in current desktop face and it is minimized, it doesn't unminimize automatically if in current face (where I was before selecting the window from the menu) there is at least one window visible (a bit complicated to explain... :( )
Ciao!
Hi All,
in addition to the above:
1) I have fixed a bug so that now the menu can use as a background the default background set for current theme whithout having to select it manually (it applies for example to Mac4Lin theme).
Look at the screen shots.
2) Current active window is now marked in bold in menu list and if clicked toggle minimize / unminimize it.
Argeroth
November 20th, 2008, 01:13 PM
Did you download and apply my patch from here http://ubuntuforums.org/showpost.php?p=6210426&postcount=2282 before doing ./autogen.sh , make and sudo make install?
After doing this, just remove the applet from the panel and add it again (but this time to the upper panel and remove the applet "Menu Bar" and replace it with "Main Menu").
Ciao!
Greetings!
I followed your advice and I tried to patch the gnome-globalmenu-0.6 using the zip file you provided. During the compiling process I noticed the heir were some errors. I captured the log from the compiling process.
When I try to add the applet to my menu bar I get the menubar I get the following error:
'The panel encountered a problem while loading
"OAFIID:GlobalMenu_PanelApplet".'
I have attached the log. Any suggestions???
Cheers!
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
argeroth@core2duo:~/gnome-globalmenu-0.6$ ./autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... found 2.61
checking for automake >= 1.9...
testing automake-1.10... found 1.10.1
checking for libtool >= 1.5...
testing libtoolize... found 2.2.4
checking for glib-gettext >= 2.2.0...
testing glib-gettextize... found 2.18.2
checking for intltool >= 0.30...
testing intltoolize... found 0.40.5
checking for pkg-config >= 0.14.0...
testing pkg-config... found 0.22
checking for gtk-doc >= 1.0...
testing gtkdocize... found 1.10
checking for gnome-doc-utils >= 0.4.2...
testing gnome-doc-prepare... found 0.13.1
checking for gnome-common >= 2.3.0...
testing gnome-doc-common... found 2.24.0
Checking for required M4 macros...
Checking for forbidden M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
Processing ./configure.ac
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Running intltoolize...
Running gtkdocize...
Running gnome-doc-common...
Running gnome-doc-prepare...
You should update your 'aclocal.m4' by running aclocal.
Running aclocal-1.10...
Running autoconf2.50...
Running autoheader2.50...
Running automake-1.10...
configure.ac:16: installing `./config.guess'
configure.ac:16: installing `./config.sub'
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.35.0... 0.40.5 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... ./configure: line 6764: echo: write error: Broken pipe
/bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for valac... /usr/local/bin/valac
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GMARKUPDOC_BASE... yes
checking for GMARKUPDOC_LIST... yes
checking for GMARKUPDOC_DBUS... yes
checking for GNOMENU... yes
checking for GNOMENUGTK... yes
checking --enable-gnome-applet argument... yes
checking for GLOBALMENU_PANELAPPLET... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for ORG_GNOME_GLOBALMENU_SERVER... yes
checking for GNOMENU_NAVIGATOR... yes
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... /usr/bin/gtkdoc-check
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vapi-compat/Makefile
config.status: creating libgmarkupdoc/Makefile
config.status: creating libgnomenu/Makefile
config.status: creating gtk-modules/Makefile
config.status: creating gtk-modules/libgnomenugtk/Makefile
config.status: creating server/Makefile
config.status: creating navigator/Makefile
config.status: creating tests/Makefile
config.status: creating applet/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
# INTLTOOL_MAKEFILE
Now type `make' to compile Package
argeroth@core2duo:~/gnome-globalmenu-0.6$ make
make all-recursive
make[1]: Entering directory `/home/argeroth/gnome-globalmenu-0.6'
Making all in vapi-compat
make[2]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/vapi-compat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/vapi-compat'
Making all in libgmarkupdoc
make[2]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc'
echo '#ifndef _G_MARKUP_DOC_H_' > gmarkupdoc.h ;
echo '#define _G_MARKUP_DOC_H_' >> gmarkupdoc.h ;
for i in gmarkupdoc-documentmodel.h gmarkupdoc-node.h gmarkupdoc-view.h gmarkupdoc-section.h gmarkupdoc-parser.h gmarkupdoc-document.h gmarkupdoc-dbusview.h gmarkupdoc-remotedocument.h gmarkupdoc-documenttreeadapter.h gmarkupdoc-listview.h ; do \
echo '#include "'$i'"' >> gmarkupdoc.h ;\
done;
echo '#endif' >> gmarkupdoc.h ;
echo '#include "gmarkupdoc.h"' > gmarkupdoc.c
echo 'extern void * dummy = NULL;' >> gmarkupdoc.c
make all-am
make[3]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -include ../config.h -DG_LOG_DOMAIN=\"GMarkup\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -O2 -MT libgmarkupdoc_la-gmarkupdoc.lo -MD -MP -MF .deps/libgmarkupdoc_la-gmarkupdoc.Tpo -c -o libgmarkupdoc_la-gmarkupdoc.lo `test -f 'gmarkupdoc.c' || echo './'`gmarkupdoc.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -include ../config.h -DG_LOG_DOMAIN=\"GMarkup\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -O2 -MT libgmarkupdoc_la-gmarkupdoc.lo -MD -MP -MF .deps/libgmarkupdoc_la-gmarkupdoc.Tpo -c gmarkupdoc.c -fPIC -DPIC -o .libs/libgmarkupdoc_la-gmarkupdoc.o
gmarkupdoc.c:2: warning: ‘dummy’ initialized and declared ‘extern’
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -include ../config.h -DG_LOG_DOMAIN=\"GMarkup\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -O2 -MT libgmarkupdoc_la-gmarkupdoc.lo -MD -MP -MF .deps/libgmarkupdoc_la-gmarkupdoc.Tpo -c gmarkupdoc.c -o libgmarkupdoc_la-gmarkupdoc.o >/dev/null 2>&1
mv -f .deps/libgmarkupdoc_la-gmarkupdoc.Tpo .deps/libgmarkupdoc_la-gmarkupdoc.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -O2 -o libgmarkupdoc.la -rpath /usr/local/lib libgmarkupdoc_la-gmarkupdoc.lo libgmarkupdoc-base.la libgmarkupdoc-list.la libgmarkupdoc-dbus.la
libtool: link: rm -fr .libs/libgmarkupdoc.a .libs/libgmarkupdoc.la .libs/libgmarkupdoc.lai .libs/libgmarkupdoc.so .libs/libgmarkupdoc.so.0 .libs/libgmarkupdoc.so.0.0.0 .libs/libgmarkupdoc.so.0.0.0T
libtool: link: gcc -shared .libs/libgmarkupdoc_la-gmarkupdoc.o -Wl,-rpath -Wl,/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs -L/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs ./.libs/libgmarkupdoc-base.so -L/usr/lib ./.libs/libgmarkupdoc-list.so ./.libs/libgmarkupdoc-dbus.so -L//lib -ldbus-glib-1 -ldbus-1 /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-list.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-base.so /usr/lib/libglib-2.0.so -Wl,-soname -Wl,libgmarkupdoc.so.0 -o .libs/libgmarkupdoc.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libgmarkupdoc.so.0" && ln -s "libgmarkupdoc.so.0.0.0" "libgmarkupdoc.so.0")
libtool: link: (cd ".libs" && rm -f "libgmarkupdoc.so" && ln -s "libgmarkupdoc.so.0.0.0" "libgmarkupdoc.so")
libtool: link: ar cru .libs/libgmarkupdoc.a libgmarkupdoc_la-gmarkupdoc.o
libtool: link: ranlib .libs/libgmarkupdoc.a
libtool: link: ( cd ".libs" && rm -f "libgmarkupdoc.la" && ln -s "../libgmarkupdoc.la" "libgmarkupdoc.la" )
make[3]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc'
make[2]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc'
Making all in libgnomenu
make[2]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/libgnomenu'
echo '#ifndef _GNOMENU_H_' > gnomenu.h ;
echo '#define _GNOMENU_H_' >> gnomenu.h ;
for i in gnomenu-client.h gnomenu-menuview.h gnomenu-menubar.h gnomenu-server.h; do \
echo '#include "'$i'"' >> gnomenu.h ;\
done;
echo '#endif' >> gnomenu.h ;
make all-am
make[3]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/libgnomenu'
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o libgnomenu.la -rpath /usr/local/lib gnomenu-client.lo gnomenu-menuview.lo gnomenu-menubar.lo gnomenu-server.lo -L//lib -ldbus-glib-1 -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgmarkupdoc/libgmarkupdoc.la
libtool: link: rm -fr .libs/libgnomenu.a .libs/libgnomenu.la .libs/libgnomenu.lai .libs/libgnomenu.so .libs/libgnomenu.so.0 .libs/libgnomenu.so.0.0.0 .libs/libgnomenu.so.0.0.0T
libtool: link: gcc -shared .libs/gnomenu-client.o .libs/gnomenu-menuview.o .libs/gnomenu-menubar.o .libs/gnomenu-server.o -Wl,-rpath -Wl,/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs -L/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs -L//lib ../libgmarkupdoc/.libs/libgmarkupdoc.so -L/usr/lib /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-dbus.so -ldbus-glib-1 -ldbus-1 /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-list.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-base.so /usr/lib/libglib-2.0.so -Wl,-soname -Wl,libgnomenu.so.0 -o .libs/libgnomenu.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libgnomenu.so.0" && ln -s "libgnomenu.so.0.0.0" "libgnomenu.so.0")
libtool: link: (cd ".libs" && rm -f "libgnomenu.so" && ln -s "libgnomenu.so.0.0.0" "libgnomenu.so")
libtool: link: ar cru .libs/libgnomenu.a gnomenu-client.o gnomenu-menuview.o gnomenu-menubar.o gnomenu-server.o
libtool: link: ranlib .libs/libgnomenu.a
libtool: link: ( cd ".libs" && rm -f "libgnomenu.la" && ln -s "../libgnomenu.la" "libgnomenu.la" )
gcc -DHAVE_CONFIG_H -I. -I.. -g -I../libgmarkupdoc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -include ../config.h -DG_LOG_DOMAIN=\"Gnomenu\" -g -O2 -MT example.o -MD -MP -MF .deps/example.Tpo -c -o example.o example.c
example.c: In function ‘realized’:
example.c:7: warning: passing argument 1 of ‘g_markup_view_get_document’ from incompatible pointer type
example.c:7: warning: initialization from incompatible pointer type
example.c:8: warning: format ‘%u’ expects type ‘unsigned int’, but argument 2 has type ‘XID’
example.c: In function ‘activated’:
example.c:13: warning: initialization discards qualifiers from pointer target type
example.c: In function ‘main’:
example.c:20: warning: passing argument 2 of ‘gtk_init’ from incompatible pointer type
example.c:23: warning: passing argument 1 of ‘g_markup_document_parser_new’ from incompatible pointer type
example.c:24: warning: passing argument 1 of ‘gnomenu_client_new’ from incompatible pointer type
example.c:32: warning: passing argument 3 of ‘g_signal_connect_data’ from incompatible pointer type
example.c:33: warning: passing argument 3 of ‘g_signal_connect_data’ from incompatible pointer type
mv -f .deps/example.Tpo .deps/example.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o example example.o ../libgnomenu/libgnomenu.la
libtool: link: gcc -g -O2 -o .libs/example example.o ../libgnomenu/.libs/libgnomenu.so -L//lib /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-dbus.so -ldbus-glib-1 -ldbus-1 /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-list.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-base.so /usr/lib/libglib-2.0.so
make[3]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/libgnomenu'
make[2]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/libgnomenu'
Making all in server
make[2]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/server'
make all-am
make[3]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/server'
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o org.gnome.GlobalMenu.Server utils.o org.gnome.GlobalMenu.Server.o -L//lib -ldbus-glib-1 -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu/libgnomenu.la ../libgmarkupdoc/libgmarkupdoc.la
libtool: link: gcc -g -O2 -o .libs/org.gnome.GlobalMenu.Server utils.o org.gnome.GlobalMenu.Server.o -L//lib ../libgnomenu/.libs/libgnomenu.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc.so ../libgmarkupdoc/.libs/libgmarkupdoc.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-dbus.so -ldbus-glib-1 -ldbus-1 /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-list.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-base.so /usr/lib/libglib-2.0.so
sed -e "s|@LOCATION@|/usr/local/bin|" org.gnome.GlobalMenu.Server.service.in > org.gnome.GlobalMenu.Server.service
make[3]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/server'
make[2]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/server'
Making all in navigator
make[2]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/navigator'
make all-am
make[3]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/navigator'
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o gnomenu-navigator navigator.o -L//lib -ldbus-glib-1 -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu/libgnomenu.la ../libgmarkupdoc/libgmarkupdoc.la
libtool: link: gcc -g -O2 -o .libs/gnomenu-navigator navigator.o -L//lib ../libgnomenu/.libs/libgnomenu.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc.so ../libgmarkupdoc/.libs/libgmarkupdoc.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-dbus.so -ldbus-glib-1 -ldbus-1 /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-list.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-base.so /usr/lib/libglib-2.0.so
make[3]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/navigator'
make[2]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/navigator'
Making all in gtk-modules
make[2]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/gtk-modules'
Making all in libgnomenugtk
make[3]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/gtk-modules/libgnomenugtk'
make all-am
make[4]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/gtk-modules/libgnomenugtk'
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -module -o libglobalmenu-gnome.la -rpath /usr/local/lib/gtk-2.0/modules gnomenugtk.lo gnomenugtk-client.lo gnomenugtk-document.lo utils.lo -L//lib -ldbus-glib-1 -ldbus-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../../libgnomenu/libgnomenu.la ../../libgmarkupdoc/libgmarkupdoc.la
libtool: link: rm -fr .libs/libglobalmenu-gnome.a .libs/libglobalmenu-gnome.la .libs/libglobalmenu-gnome.lai .libs/libglobalmenu-gnome.so .libs/libglobalmenu-gnome.so.0 .libs/libglobalmenu-gnome.so.0.0.0 .libs/libglobalmenu-gnome.so.0.0.0T
libtool: link: gcc -shared .libs/gnomenugtk.o .libs/gnomenugtk-client.o .libs/gnomenugtk-document.o .libs/utils.o -Wl,-rpath -Wl,/home/argeroth/gnome-globalmenu-0.6/libgnomenu/.libs -Wl,-rpath -Wl,/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs -L/home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs -L//lib ../../libgnomenu/.libs/libgnomenu.so -L/usr/lib /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc.so ../../libgmarkupdoc/.libs/libgmarkupdoc.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-dbus.so -ldbus-glib-1 -ldbus-1 /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-list.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /home/argeroth/gnome-globalmenu-0.6/libgmarkupdoc/.libs/libgmarkupdoc-base.so /usr/lib/libglib-2.0.so -Wl,-soname -Wl,libglobalmenu-gnome.so.0 -o .libs/libglobalmenu-gnome.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libglobalmenu-gnome.so.0" && ln -s "libglobalmenu-gnome.so.0.0.0" "libglobalmenu-gnome.so.0")
libtool: link: (cd ".libs" && rm -f "libglobalmenu-gnome.so" && ln -s "libglobalmenu-gnome.so.0.0.0" "libglobalmenu-gnome.so")
libtool: link: ar cru .libs/libglobalmenu-gnome.a gnomenugtk.o gnomenugtk-client.o gnomenugtk-document.o utils.o
libtool: link: ranlib .libs/libglobalmenu-gnome.a
libtool: link: ( cd ".libs" && rm -f "libglobalmenu-gnome.la" && ln -s "../libglobalmenu-gnome.la" "libglobalmenu-gnome.la" )
make[4]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/gtk-modules/libgnomenugtk'
make[3]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/gtk-modules/libgnomenugtk'
make[3]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/gtk-modules'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/gtk-modules'
make[2]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/gtk-modules'
Making all in applet
make[2]: Entering directory `/home/argeroth/gnome-globalmenu-0.6/applet'
/usr/local/bin/valac --vapidir=../vapi-compat --pkg=valacompat --pkg dbus-glib-1 --pkg gtk+-2.0 --pkg libwnck-1.0 --pkg libpanelapplet-2.0 --vapidir=../libgmarkupdoc --vapidir=../libgnomenu --pkg gnomenu --pkg gtkcompat --pkg gmarkupdoc --pkg wnckcompat --pkg panelappletcompat --pkg gconf-2.0 --pkg gdk-2.0 -C applet.vala
applet.vala:122.14-122.38: error: The name `find_default' does not exist in the context of `Gnomenu.MenuBar'
if (xid!=this.menubar.find_default()) aname = window.get_application().get_name();
^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [.vala.stamp] Error 1
make[2]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6/applet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/argeroth/gnome-globalmenu-0.6'
make: *** [all] Error 2
lviggiani
November 20th, 2008, 01:38 PM
Greetings!
I followed your advice and I tried to patch the gnome-globalmenu-0.6 using the zip file you provided. During the compiling process I noticed the heir were some errors. I captured the log from the compiling process.
When I try to add the applet to my menu bar I get the menubar I get the following error:
...
$ svn checkout http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome2-globalmenu-read-only
$ cd gnome2-globalmenu-read-only
then download my patch and unzip on "gnome2-globalmenu-read-only" folder.
then...
$ ./autogen.sh && ./configure --prefix=/usr && make
$ sudo make install
make sure you have vala 0.4.0
$ valac --version
Vala 0.4.0
clintonthegeek
November 20th, 2008, 04:19 PM
Even though this won't work with Firefox, I've found that using the Hide Menubar (https://addons.mozilla.org/en-US/firefox/addon/4762) extension at least makes it fit in a little better, even if you don't get the correct menu options. At least you save some horizontal space, and just need to press the Alt key to get the menu back, like in IE7.
rainwoodman
November 21st, 2008, 10:25 AM
ok, I've answered to myself...
added
public class Window : GLib.Object {
[CCode (cheader_filename = "libwnck/libwnck.h")]
public void get_geometry (out int x, out int y, out int width, out int height);
}
to wnckcompat.vapi
however even this method doesn't solve my problem :( ... I think I have to use XGetGeometry...
Try this
wnck_workspace_get_viewport_x
wnck_workspace_get_viewport_y
rainwoodman
November 21st, 2008, 10:26 AM
Aha :) back to the old way.
Thanks for the hint !
sorry for not mentioning it.
lviggiani
November 21st, 2008, 03:25 PM
Hi guys,
My latest changes / addons are on trunk now.
You don't need to download my patches anymore. Just checkout the latest source and compile and install it as usual.
Ciao!
brunosso
November 22nd, 2008, 07:50 AM
I have an error when i launch make ,after installed vala 0.5.1 and globalmenu via svn!
this is the error!
gmarkupdoc-documentmodel.vala:52.18-52.29: warning: `null' incompatible with return type `string`
if(s == null) return null;
^^^^^^^^^^^^
gmarkupdoc-listview.vala:93.22-93.24: error: Argument 1: Cannot pass value to reference or output parameter
box.size_request(req);
^^^
gmarkupdoc-listview.vala:83.4-83.41: warning: unhandled error `GLib.Error'
builder.add_from_string(INTERFACE, -1);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:104.4-104.68: warning: unhandled error `GLib.Error'
c.dbus.RequestName("org.gnome.GlobalMenu.DocumentTest", (uint) 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:77.11-77.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-remotedocument.vala:51.11-51.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 5 warning(s)
make[2]: *** [gmarkupdoc.vapi] Error 1
make[2]: Leaving directory `/home/brunosso/mac/vala-0.5.1/globalmenu/libgmarkupdoc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brunosso/mac/vala-0.5.1/globalmenu'
make: *** [all] Error 2
where i make mistake!?!?
PS. sorry for my english
ayoli
November 22nd, 2008, 04:21 PM
I have an error when i launch make ,after installed vala 0.5.1 and globalmenu via svn!
this is the error!
gmarkupdoc-documentmodel.vala:52.18-52.29: warning: `null' incompatible with return type `string`
if(s == null) return null;
^^^^^^^^^^^^
gmarkupdoc-listview.vala:93.22-93.24: error: Argument 1: Cannot pass value to reference or output parameter
box.size_request(req);
^^^
gmarkupdoc-listview.vala:83.4-83.41: warning: unhandled error `GLib.Error'
builder.add_from_string(INTERFACE, -1);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:104.4-104.68: warning: unhandled error `GLib.Error'
c.dbus.RequestName("org.gnome.GlobalMenu.DocumentTest", (uint) 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:77.11-77.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-remotedocument.vala:51.11-51.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 5 warning(s)
make[2]: *** [gmarkupdoc.vapi] Error 1
make[2]: Leaving directory `/home/brunosso/mac/vala-0.5.1/globalmenu/libgmarkupdoc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brunosso/mac/vala-0.5.1/globalmenu'
make: *** [all] Error 2
where i make mistake!?!?
PS. sorry for my english
You need vala 0.4.0. ATM, I believe that globalmenu won't work with vala 0.5.1 (nor 0.3.5).
you can get 0.4.0 here : http://download.gnome.org/sources/vala/0.4/vala-0.4.0.tar.bz2
And if you need a guide to install : http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
rainwoodman
November 23rd, 2008, 03:40 AM
I have an error when i launch make ,after installed vala 0.5.1 and globalmenu via svn!
this is the error!
gmarkupdoc-documentmodel.vala:52.18-52.29: warning: `null' incompatible with return type `string`
if(s == null) return null;
^^^^^^^^^^^^
gmarkupdoc-listview.vala:93.22-93.24: error: Argument 1: Cannot pass value to reference or output parameter
box.size_request(req);
^^^
gmarkupdoc-listview.vala:83.4-83.41: warning: unhandled error `GLib.Error'
builder.add_from_string(INTERFACE, -1);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:104.4-104.68: warning: unhandled error `GLib.Error'
c.dbus.RequestName("org.gnome.GlobalMenu.DocumentTest", (uint) 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:77.11-77.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-remotedocument.vala:51.11-51.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 5 warning(s)
make[2]: *** [gmarkupdoc.vapi] Error 1
make[2]: Leaving directory `/home/brunosso/mac/vala-0.5.1/globalmenu/libgmarkupdoc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brunosso/mac/vala-0.5.1/globalmenu'
make: *** [all] Error 2
where i make mistake!?!?
PS. sorry for my english
not your bad. It was vala's bad. 0.5.1 is more strict than 0.4.0
i've just fixed it 5 mins ago in 1533.
I hope the 0.4.0 compatibility was not broken.
ayoli
November 23rd, 2008, 05:04 AM
not your bad. It was vala's bad. 0.5.1 is more strict than 0.4.0
i've just fixed it 5 mins ago in 1533.
I hope the 0.4.0 compatibility was not broken.
Unfortunately, compatibility with 0.4 is broken, here's the output when I try to compile the rev 1533 :
└─(10:01 $)─> make
make all-recursive
make[1]: entrant dans le répertoire « /home/ayoli/gnome-globalmenu-0.6 »
Making all in vapi-compat
make[2]: entrant dans le répertoire « /home/ayoli/gnome-globalmenu-0.6/vapi-compat »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/ayoli/gnome-globalmenu-0.6/vapi-compat »
Making all in libgmarkupdoc
make[2]: entrant dans le répertoire « /home/ayoli/gnome-globalmenu-0.6/libgmarkupdoc »
/usr/local/bin/valac --vapidir=../vapi-compat --pkg=valacompat --pkg gtkcompat -C --pkg dbus-glib-1 --pkg gtk+-2.0 --pkg gtk+-2.0 --library gmarkupdoc gmarkupdoc-documentmodel.vala gmarkupdoc-node.vala gmarkupdoc-view.vala gmarkupdoc-section.vala gmarkupdoc-parser.vala gmarkupdoc-document.vala gmarkupdoc-documenttreeadapter.vala gmarkupdoc-listview.vala gmarkupdoc-dbusview.vala gmarkupdoc-remotedocument.vala
gmarkupdoc-documentmodel.vala:52.18-52.29: warning: `null' incompatible with return type `string`
if(s == null) return null;
^^^^^^^^^^^^
gmarkupdoc-listview.vala:93.22-93.28: error: Argument 1: Cannot pass out argument to non-output parameter
box.size_request(out req);
^^^^^^^
gmarkupdoc-listview.vala:83.4-83.41: warning: unhandled error `GLib.Error'
builder.add_from_string(INTERFACE, -1);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:104.4-104.68: warning: unhandled error `GLib.Error'
c.dbus.RequestName("org.gnome.GlobalMenu.DocumentTest", (uint) 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:77.11-77.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-remotedocument.vala:51.11-51.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 5 warning(s)
make[2]: *** [gmarkupdoc.vapi] Erreur 1
make[2]: quittant le répertoire « /home/ayoli/gnome-globalmenu-0.6/libgmarkupdoc »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/ayoli/gnome-globalmenu-0.6 »
make: *** [all] Erreur 2
edit: but 1532 compiles fine (with a large bunch of warning) and works with vala 0.4.0 as expected.
ayoli
November 23rd, 2008, 05:30 AM
2 questions for devs :
Is it possible to have the prefix already set to /usr. So it'll be one step less in the install process ?
Back to old versions, there was a file (can't remember the name) which allowed to set custom titles for apps (ie: if I want to see 'nautilus' instead of 'file manager'), can we have something similar ?
brunosso
November 23rd, 2008, 06:01 AM
thank you guys!!! i have now the global menu work perfect! i remove Vala .5.1, and follow the instruction with vala 0.4
arqamovais
November 23rd, 2008, 01:59 PM
i get this after ./autogen.sh
arqam@arqam-laptop:~$ cd gnome-globalmenu
arqam@arqam-laptop:~/gnome-globalmenu$
arqam@arqam-laptop:~/gnome-globalmenu$ ./autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... found 2.61
checking for automake >= 1.9...
testing automake-1.10... found 1.10.1
checking for libtool >= 1.5...
testing libtoolize... found 2.2.4
checking for glib-gettext >= 2.2.0...
testing glib-gettextize... found 2.18.2
checking for intltool >= 0.30...
testing intltoolize... found 0.40.5
checking for pkg-config >= 0.14.0...
testing pkg-config... found 0.22
checking for gtk-doc >= 1.0...
testing gtkdocize... found 1.10
checking for gnome-doc-utils >= 0.4.2...
testing gnome-doc-prepare... found 0.13.1
checking for gnome-common >= 2.3.0...
testing gnome-doc-common... found 2.24.0
Checking for required M4 macros...
Checking for forbidden M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
Processing ./configure.ac
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Running intltoolize...
Running gtkdocize...
Running gnome-doc-common...
Running gnome-doc-prepare...
You should update your 'aclocal.m4' by running aclocal.
Running aclocal-1.10...
Running autoconf2.50...
Running autoheader2.50...
Running automake-1.10...
configure.ac:16: installing `./config.guess'
configure.ac:16: installing `./config.sub'
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.35.0... 0.40.5 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for valac... /usr/local/bin/valac
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GMARKUPDOC_BASE... yes
checking for GMARKUPDOC_LIST... yes
checking for GMARKUPDOC_DBUS... yes
checking for GNOMENU... yes
checking for GNOMENUGTK... yes
checking --enable-gnome-applet argument... yes
checking for GLOBALMENU_PANELAPPLET... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for ORG_GNOME_GLOBALMENU_SERVER... yes
checking for GNOMENU_NAVIGATOR... yes
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... /usr/bin/gtkdoc-check
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vapi-compat/Makefile
config.status: creating libgmarkupdoc/Makefile
config.status: creating libgnomenu/Makefile
config.status: creating gtk-modules/Makefile
config.status: creating gtk-modules/libgnomenugtk/Makefile
config.status: creating server/Makefile
config.status: creating navigator/Makefile
config.status: creating tests/Makefile
config.status: creating applet/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
# INTLTOOL_MAKEFILE
Now type `make' to compile Package
and this when i do make
arqam@arqam-laptop:~/gnome-globalmenu$ make
make all-recursive
make[1]: Entering directory `/home/arqam/gnome-globalmenu'
Making all in vapi-compat
make[2]: Entering directory `/home/arqam/gnome-globalmenu/vapi-compat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/arqam/gnome-globalmenu/vapi-compat'
Making all in libgmarkupdoc
make[2]: Entering directory `/home/arqam/gnome-globalmenu/libgmarkupdoc'
/usr/local/bin/valac --vapidir=../vapi-compat --pkg=valacompat --pkg gtkcompat -C --pkg dbus-glib-1 --pkg gtk+-2.0 --pkg gtk+-2.0 --library gmarkupdoc gmarkupdoc-documentmodel.vala gmarkupdoc-node.vala gmarkupdoc-view.vala gmarkupdoc-section.vala gmarkupdoc-parser.vala gmarkupdoc-document.vala gmarkupdoc-documenttreeadapter.vala gmarkupdoc-listview.vala gmarkupdoc-dbusview.vala gmarkupdoc-remotedocument.vala
gmarkupdoc-documentmodel.vala:52.18-52.29: warning: `null' incompatible with return type `string`
if(s == null) return null;
^^^^^^^^^^^^
gmarkupdoc-listview.vala:93.22-93.28: error: Argument 1: Cannot pass out argument to non-output parameter
box.size_request(out req);
^^^^^^^
gmarkupdoc-listview.vala:83.4-83.41: warning: unhandled error `GLib.Error'
builder.add_from_string(INTERFACE, -1);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:104.4-104.68: warning: unhandled error `GLib.Error'
c.dbus.RequestName("org.gnome.GlobalMenu.DocumentTest", (uint) 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
gmarkupdoc-dbusview.vala:77.11-77.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmarkupdoc-remotedocument.vala:51.11-51.39: warning: unhandled error `DBus.Error'
conn = Bus.get(DBus.BusType.SESSION);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 5 warning(s)
make[2]: *** [gmarkupdoc.vapi] Error 1
make[2]: Leaving directory `/home/arqam/gnome-globalmenu/libgmarkupdoc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arqam/gnome-globalmenu'
make: *** [all] Error 2
WHAT AM I doing wrong i have reinstalled entire ubuntu 3 times but still dont get it
PLZ help
lviggiani
November 23rd, 2008, 02:04 PM
i get this after ./autogen.sh
arqam@arqam-laptop:~$ cd gnome-globalmenu
...
WHAT AM I doing wrong i have reinstalled entire ubuntu 3 times but still dont get it
PLZ help
You need vala 0.5.1 to compile latest source.
ayoli
November 23rd, 2008, 04:00 PM
Uh ... I guess I have to update my how to a bit.
Nobody reads the warning :P
nemeek
November 24th, 2008, 06:37 AM
Hi where i can get gtk-aqd patch for intrepid ibex?
Thanks!
ayoli
November 24th, 2008, 07:37 AM
Hi where i can get gtk-aqd patch for intrepid ibex?
Thanks!
You don't need to patch gtk anymore.
You need vala and the gnome-globalmenu. You can follow this how to (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid).
DJ_Peng
November 24th, 2008, 09:23 AM
Thanks for the link, ayoli! I see that Firefox and OpenOffice.org are two apps that don't play well with GlobalMenu. Is there anything on the user side that we could do to get either playing well? I've already voted for the Fx bug on Bugzilla but I'm not aware of anything for OOo.
ayoli
November 24th, 2008, 12:54 PM
Thanks for the link, ayoli! I see that Firefox and OpenOffice.org are two apps that don't play well with GlobalMenu. Is there anything on the user side that we could do to get either playing well? I've already voted for the Fx bug on Bugzilla but I'm not aware of anything for OOo.
There is nothing to do for these to apps to have them working with globalmenu, and there is no bug for openoffice afaik.
With firefox, you can use extensions like hidemenu or compact menu 2 to hide the menubar.
DJ_Peng
November 24th, 2008, 01:19 PM
You don't need to patch gtk anymore.
You need vala and the gnome-globalmenu. You can follow this how to (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid).
I followed your howto but when it came time to make gnome-globalmenu-0.6 I got errors
::~/gnome-globalmenu-0.6$ make
make all-recursive
make[1]: Entering directory `/home/peng/gnome-globalmenu-0.6'
Making all in vapi-compat
make[2]: Entering directory `/home/peng/gnome-globalmenu-0.6/vapi-compat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/peng/gnome-globalmenu-0.6/vapi-compat'
Making all in libgmarkupdoc
make[2]: Entering directory `/home/peng/gnome-globalmenu-0.6/libgmarkupdoc'
/usr/local/bin/valac --vapidir=../vapi-compat --pkg=valacompat --pkg gtkcompat -C --pkg dbus-glib-1 --pkg gtk+-2.0 --pkg gtk+-2.0 --library gmarkupdoc gmarkupdoc-documentmodel.vala gmarkupdoc-node.vala gmarkupdoc-view.vala gmarkupdoc-section.vala gmarkupdoc-parser.vala gmarkupdoc-document.vala gmarkupdoc-documenttreeadapter.vala gmarkupdoc-listview.vala gmarkupdoc-dbusview.vala gmarkupdoc-remotedocument.vala
/usr/local/bin/valac: symbol lookup error: /usr/local/bin/valac: undefined symbol: vala_code_visitor_unref
make[2]: *** [gmarkupdoc.vapi] Error 127
make[2]: Leaving directory `/home/peng/gnome-globalmenu-0.6/libgmarkupdoc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/peng/gnome-globalmenu-0.6'
make: *** [all] Error 2
:~/gnome-globalmenu-0.6$ Help? I didn't get any errors installing vala-0.5.1 but I must have missed something for globalmenu. I did do the old copy&paste shuffle to install all the dependencies just like your howto said to do, other than splitting it into two sections because you have an extra "sudo apt-get install" betweenlibglib2.0-dev and gtk-doc-tools.
ayoli
November 24th, 2008, 01:59 PM
I followed your howto but when it came time to make gnome-globalmenu-0.6 I got errors
Help? I didn't get any errors installing vala-0.5.1 but I must have missed something for globalmenu. I did do the old copy&paste shuffle to install all the dependencies just like your howto said to do, other than splitting it into two sections because you have an extra "sudo apt-get install" betweenlibglib2.0-dev and gtk-doc-tools.
No clue about this error, what was the revision number of globalmenu ?
And, thanks for pointing this extra "sudo apt-get install" out
edit: I know some ppl managed to compile and install rev 1533 with vala 0.5.1. If you want to try this one checkout like this :
svn checkout -r 1533 http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome-globalmenu-0.6
Alice D
November 24th, 2008, 04:22 PM
and for xfce (xubuntu 8.04) ? i did not find any .deb for the applet. I guess i should compile it but...where is the newest version of the applet?
DJ_Peng
November 24th, 2008, 04:49 PM
I'm showing version 1578 on globalmenu. Should I blow it away and try it with 1533?
ayoli
November 24th, 2008, 05:11 PM
I'm showing version 1578 on globalmenu. Should I blow it away and try it with 1533?
maybe.
the error you had seems to be a vala compatibility issue again, or you just try a broken revision.
ayoli
November 24th, 2008, 05:15 PM
and for xfce (xubuntu 8.04) ? i did not find any .deb for the applet. I guess i should compile it but...where is the newest version of the applet?
Not sure that the 0.6 series have an xfce applet.
If not, you may want try to embed the gnome applet with this trick (http://bapoumba2fr.wordpress.com/2008/01/04/ajouter-des-applets-gnome-au-panel-de-xfce/) (in french).
To get the last globalmenu and install instruction you can try my how to (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/)
DJ_Peng
November 24th, 2008, 05:19 PM
Thanks. I'll check that out tomorrow since I'm almost out of time for today.
m.gupta11
November 25th, 2008, 02:26 AM
Hey Guys I am a new bie to ubuntu and have installed intrepid after having hardy for a few months
Now i want tohave a global menu bar (mac like ) ihave surfed your coplete posts (almost) but did not really understand how to do that
Also surfing google i somewhere found a debfile which i installed and am now using the applet
Problem:-
Although I suppose I am now allowed to use it with firefox and thunder bird but many other apps like konqueror geit kwrite kmail etc dont support it as well so how can i go about it
secondly how can i keep my applet updated so that i get the latest updates of the applet
Please help me out with this
Thanks and regards
Manish K Gupta
ayoli
November 25th, 2008, 02:59 AM
Hey Guys I am a new bie to ubuntu and have installed intrepid after having hardy for a few months
Now i want tohave a global menu bar (mac like ) ihave surfed your coplete posts (almost) but did not really understand how to do that
Also surfing google i somewhere found a debfile which i installed and am now using the applet
Problem:-
Although I suppose I am now allowed to use it with firefox and thunder bird but many other apps like konqueror geit kwrite kmail etc dont support it as well so how can i go about it
secondly how can i keep my applet updated so that i get the latest updates of the applet
Please help me out with this
Thanks and regards
Manish K Gupta
Looks like you're using Kubuntu (KDE). Globalmenu works _only_ with gtk (GNOME) applications.
If you want a globalmenu for KDE, look in the kcontrol center for an option "mac OS behavior" or something like that which put applications menu in the top panel.
fickenbaisage
November 25th, 2008, 07:03 AM
Is it possible for global menu to support firefox and openoffice?
DJ_Peng
November 25th, 2008, 08:40 AM
As mentioned above, there's a bug for Firefox to try to get it to work with GlobalMenu, but there's no bug we're aware of for getting OpenOffice.org to support it.
DJ_Peng
November 25th, 2008, 08:50 AM
No clue about this error, what was the revision number of globalmenu ?
And, thanks for pointing this extra "sudo apt-get install" out
edit: I know some ppl managed to compile and install rev 1533 with vala 0.5.1. If you want to try this one checkout like this :
svn checkout -r 1533 http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome-globalmenu-0.6
I blew away my gnome-globalmenu folder, ran that command and tried to make it again. I ended up with
:~/gnome-globalmenu-0.6$ make
make all-recursive
make[1]: Entering directory `/home/peng/gnome-globalmenu-0.6'
Making all in vapi-compat
make[2]: Entering directory `/home/peng/gnome-globalmenu-0.6/vapi-compat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/peng/gnome-globalmenu-0.6/vapi-compat'
Making all in libgmarkupdoc
make[2]: Entering directory `/home/peng/gnome-globalmenu-0.6/libgmarkupdoc'
/usr/local/bin/valac --vapidir=../vapi-compat --pkg=valacompat --pkg gtkcompat -C --pkg dbus-glib-1 --pkg gtk+-2.0 --pkg gtk+-2.0 --library gmarkupdoc gmarkupdoc-documentmodel.vala gmarkupdoc-node.vala gmarkupdoc-view.vala gmarkupdoc-section.vala gmarkupdoc-parser.vala gmarkupdoc-document.vala gmarkupdoc-documenttreeadapter.vala gmarkupdoc-listview.vala gmarkupdoc-dbusview.vala gmarkupdoc-remotedocument.vala
/usr/local/bin/valac: symbol lookup error: /usr/local/bin/valac: undefined symbol: vala_code_visitor_unref
make[2]: *** [gmarkupdoc.vapi] Error 127
make[2]: Leaving directory `/home/peng/gnome-globalmenu-0.6/libgmarkupdoc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/peng/gnome-globalmenu-0.6'
make: *** [all] Error 2
It sounds like my vala may be borked. Any suggestions?
ayoli
November 25th, 2008, 08:57 AM
I blew away my gnome-globalmenu folder, ran that command and tried to make it again. I ended up with
It sounds like my vala may be borked. Any suggestions?
hmm, what is your vala version ?
valac --version
And if the version is correct (0.5.1 for globalmenu revision superior to 1532) then you may want to uninstall (sudo make uninstall from source folder) and try to compile and install again.
(note : sometimes sudo ldconfig is required after installing vala and before trying to compile globalmenu to avoid errors due to missing libs).
shtainer
November 25th, 2008, 11:07 AM
Guys, I use ubuntu not so lonh ago. I don't understand the following:
when I do svn checkout http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome-globalmenu-0.6
I get back
svn: OPTIONS of 'http://gnome2-globalmenu.googlecode.com/svn/trunk': could not connect to server (http://gnome2-globalmenu.googlecode.com)
The conection to internet is fine. Any idea? Pls, help me :(
DJ_Peng
November 25th, 2008, 05:13 PM
hmm, what is your vala version ?
valac --versionAnd if the version is correct (0.5.1 for globalmenu revision superior to 1532) then you may want to uninstall (sudo make uninstall from source folder) and try to compile and install again.
(note : sometimes sudo ldconfig is required after installing vala and before trying to compile globalmenu to avoid errors due to missing libs).
I have Vala 0.5.1 so tomorrow I'll blow everything away and try yet again. I'll also try the sudo ldconfig. I'd really like a pretty new GlobalMenu to be thankful for on Thursday. :guitar:
adamsidiali
November 26th, 2008, 01:23 AM
Hey guys,
Im rather new at this kind of thing (sorry guys), but I followed the step by step tutorial on pg 223, and when I went to add the Global Menu to the upper panel, it only shows the name of the app. It doesnt show the Menu :) (kind of a problem)
Any suggestions?
ardchoille42
November 26th, 2008, 08:15 AM
I just installed the GlobalMenu from the GlobalMenu PPA (http://code.google.com/p/gnome2-globalmenu/) on Ubuntu 8.10 and this thing ROCKS! It's a perfect companion to the Mac4Lin project (http://sourceforge.net/projects/mac4lin). Whomever created this for gnome users is a genius. Please, please keep up this great work :)
My screenshot (http://ardchoille.nfshost.com/Gallery/Screenshots?action=imagelink&i=scr-20081125.jpg), if anyone is interested.
samushka
November 26th, 2008, 08:26 AM
Hey guys,
Im rather new at this kind of thing (sorry guys), but I followed the step by step tutorial on pg 223, and when I went to add the Global Menu to the upper panel, it only shows the name of the app. It doesnt show the Menu :) (kind of a problem)
Any suggestions?
same problem for me under Arch Linux + Vala 0.5.1 using same steps i used to successfully get it to work under Ubuntu 8.10
ayoli
November 26th, 2008, 08:29 AM
same problem for me under Arch Linux + Vala 0.5.1 using same steps i used to successfully get it to work under Ubuntu 8.10
Try to use another revision.
Works fine here with vala 0.4.0 and rev 1532.
bruce89
November 26th, 2008, 08:30 AM
Try to use another revision.
Works fine here with vala 0.4.0 and rev 1532.
Perhaps you should generate the C files with your valac version, and archive them for others.
DJ_Peng
November 26th, 2008, 09:13 AM
I just installed the GlobalMenu from the GlobalMenu PPA (http://code.google.com/p/gnome2-globalmenu/) on Ubuntu 8.10 and this thing ROCKS! It's a perfect companion to the Mac4Lin project (http://sourceforge.net/projects/mac4lin). Whomever created this for gnome users is a genius. Please, please keep up this great work :)
My screenshot (http://ardchoille.nfshost.com/Gallery/Screenshots?action=imagelink&i=scr-20081125.jpg), if anyone is interested.
Oh, snap! I didn't realize there's a PPA for it. Does it work under Intrepid or should I keep slugging away at the command line trying to install it?
ETA: I see there's a PPA on Launchpad (https://launchpad.net/%7Egnome2-globalmenu/+archive) for us Intrepid users. I'll check it out and report my findings.
DJ_Peng
November 26th, 2008, 12:42 PM
The PPA version works quite nicely. :) I just had to play around with the .gnomerc settings to get them the way I like it. I wasn't sure what some of the settings did until I played around with them.
ayoli
November 26th, 2008, 02:17 PM
The PPA version works quite nicely. :) I just had to play around with the .gnomerc settings to get them the way I like it. I wasn't sure what some of the settings did until I played around with them.
Can you provide more info ? Then I can update my how to and add this method.
Does it handle the dependencies correctly (I mean vala and vala dep for ex).
What conf did you need to apply inorder to have it working ? (include all steps even logout/in)
TIA.
DJ_Peng
November 26th, 2008, 03:12 PM
I hadn't blown away anything since my latest attempt so I guess I already had any dependencies met. I followed the instructions for installing on Ubuntu (http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu), which includes the PPA info for sources.lst. The hardest part was trying to figure out what the options in their ~/.gnomerc did. I ended up disabling the TreeView option because enabling it popped up a window that I still don't understand the first thing about.
Basically I created/edited the ~/.gnomrerc file the way they said to, enabling the options for loading theGTK modules and saved debugging messages, sending them to a file in my home folder rather than trhe /tmp folder. Then I added the repo, installed gnome2-globalmenu (along with some other updates I had from intrepid-proposed) and restarted. I may have only had to log out and back in, but I took the sure way and did a full reboot.
I need to talk with infra_red_dude about getting the info into the Mac4Lin docs, but I'll definitely be blogging my new installation later today.
ayoli
November 26th, 2008, 03:43 PM
(...) I'll definitely be blogging my new installation later today.
Tell me the link to your post when you've done it, I'll check it out ant surely link it in my how to.
thank you for the report :)
DJ_Peng
November 26th, 2008, 05:15 PM
As a matter of fact I just posted it (http://nancib.wordpress.com/2008/11/26/get-the-globalmenu-without-all-of-the-hassle/), including a link to your blog as the source for the instructions for getting Vala installed. I also have a pair of screenshots of my system with Mac4Lin 1.0 RC1 and GlobalMenu.
ardchoille42
November 26th, 2008, 07:22 PM
I got it working great from the PPA, the only thing missing is menu accelerators - alt+f should open the File menu.. but that can be added alter :)
ayoli
November 27th, 2008, 02:54 AM
I got it working great from the PPA, the only thing missing is menu accelerators - alt+f should open the File menu.. but that can be added alter :)
this is a known issue (http://code.google.com/p/gnome2-globalmenu/issues/detail?id=134) and should come back in next versions.
imnotashinobi
November 27th, 2008, 03:51 AM
Just wanted to say the ppa works for me too [mostly].
Minor issues:
1. Expanding menus that won't fit doesn't seem to work. The arrow is there, so what's the problem?
2. No "Preferences" or "About" when right clicking. There is, however, a separator for it there?
Notes:
-Switching applications by clicking on the bold title part is nifty. The old globalmenu just gave me the main menu, but slightly different from the main menu applet.
-GIMP has a really long name and a lot of options, making me wish I could limit its name [like I used to in globalmenu's "Preferences"] or have the menu expanding arrow work. =P
-I'm using "valac; version:0.4.0-1" [found the .deb somewhere from googling around].
:popcorn:
ardchoille42
November 27th, 2008, 08:05 AM
oh, snap, I didn't even know there was a window menu there upon left-click.. wow. I'm loving this :)
Are there any plans to add an icon or preferences to GlobalMenu?
DJ_Peng
November 27th, 2008, 05:36 PM
I'm noticing that Nautilus is crashing if it encounters folders with unescaped spaces. I'm about to hunt for a bug on the PPA but I wanted to mention it here.
Islington
November 27th, 2008, 09:49 PM
I need help installing the latest version on hardy. someone point me to the correct directions.
ayoli
November 27th, 2008, 10:17 PM
Just wanted to say the ppa works for me too [mostly].
Minor issues:
1. Expanding menus that won't fit doesn't seem to work. The arrow is there, so what's the problem?
2. No "Preferences" or "About" when right clicking. There is, however, a separator for it there?
Notes:
-Switching applications by clicking on the bold title part is nifty. The old globalmenu just gave me the main menu, but slightly different from the main menu applet.
-GIMP has a really long name and a lot of options, making me wish I could limit its name [like I used to in globalmenu's "Preferences"] or have the menu expanding arrow work. =P
-I'm using "valac; version:0.4.0-1" [found the .deb somewhere from googling around].
:popcorn:
1. No clue. Post an issue on the google code issue list link bellow
2. Preferences should come back one day, guess we have to be patient.
The window switcher has been implemnted by lviggiani , new dev in the team.
As for the long name, there were a solution before to tweak the name by application (in a hiddenfile in home folder). Maybe an issue should be posted to the global google code (again url bellow). Feel free to post it.
I'm noticing that Nautilus is crashing if it encounters folders with unescaped spaces. I'm about to hunt for a bug on the PPA but I wanted to mention it here.
I believe global menu devs read more the issues on google code than the ppa' bugs (if you meant the ppa from where you've installed), so post bugs here :
http://code.google.com/p/gnome2-globalmenu/issues/list
zniavre
November 28th, 2008, 08:29 AM
hey !!! this ppa is great
THANK YOU ! very much
update will be easier like that what a good news
second good news it works quite well
i missed the option to unable or not title...
could be possible for you to add rgba support (it's small 5 lines codes)
it makes very good looking for apps that can support rgba with murrine engine (rounded menu is one of the great option)
i m quite sure it will make modern display to globalmenu
http://www.cimitan.com/murrine/rgba-support/list
DJ_Peng
November 28th, 2008, 08:58 AM
I believe global menu devs read more the issues on google code than the ppa' bugs (if you meant the ppa from where you've installed), so post bugs here :
http://code.google.com/p/gnome2-globalmenu/issues/list
Already done, after looking for the best place to post them.
I've had to disable GlobalMenu for now due to what seems to be a pretty heavy memory leak. Does anyone have any tips on tracking down where the leak may be occurring? I didn't have it before I installed GlobalMenu but I know it could have any one of a number of causes: the GM it self, Vala, the Hide Menubar extension in Firefox, etc. I definitely want to be able to provide good data on my memory leak so I've disabled it until I can figure out how to track down the problem.
ayoli
November 28th, 2008, 09:12 AM
Already done, after looking for the best place to post them.
I've had to disable GlobalMenu for now due to what seems to be a pretty heavy memory leak. Does anyone have any tips on tracking down where the leak may be occurring? I didn't have it before I installed GlobalMenu but I know it could have any one of a number of causes: the GM it self, Vala, the Hide Menubar extension in Firefox, etc. I definitely want to be able to provide good data on my memory leak so I've disabled it until I can figure out how to track down the problem.
My system does not consume more memory since I installed the globalmenu and vala.
Though, I don't use the one from the ppa.
ardchoille42
November 28th, 2008, 09:21 AM
Already done, after looking for the best place to post them.
I've had to disable GlobalMenu for now due to what seems to be a pretty heavy memory leak. Does anyone have any tips on tracking down where the leak may be occurring? I didn't have it before I installed GlobalMenu but I know it could have any one of a number of causes: the GM it self, Vala, the Hide Menubar extension in Firefox, etc. I definitely want to be able to provide good data on my memory leak so I've disabled it until I can figure out how to track down the problem.
I'm using the GlobalMenu from the PPA on Intrepid and I'm not seeing any memory problems here.
ayoli
November 28th, 2008, 09:56 AM
Already done, after looking for the best place to post them.
I've had to disable GlobalMenu for now due to what seems to be a pretty heavy memory leak. Does anyone have any tips on tracking down where the leak may be occurring? I didn't have it before I installed GlobalMenu but I know it could have any one of a number of causes: the GM it self, Vala, the Hide Menubar extension in Firefox, etc. I definitely want to be able to provide good data on my memory leak so I've disabled it until I can figure out how to track down the problem.
You might want to look with the util top (in command line) which application use so much memory.
DJ_Peng
November 28th, 2008, 12:04 PM
Thanks, y'all. I'm thinking it may be an issue with the Hide Menubar Firefox add-on, although I'm not 100% sure. I've got some tasks on my list for today but I'll definitely check it out this weekend. I already miss my GlobalMenu. :(
hafizmi
November 28th, 2008, 12:08 PM
i'm having difficulty in installing global menu in ubuntu 8.10...
i followed the instruction on this website http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
when i do ./autogen.sh at the end it says :
checking checking for vala = 0.5.1... ./configure: line 2623: syntax error near unexpected token `VALACBIN,'
./configure: line 2623: ` AC_PATH_PROGS_FEATURE_CHECK(VALACBIN,'
what do this means?
rainwoodman
November 29th, 2008, 03:47 AM
Already done, after looking for the best place to post them.
I've had to disable GlobalMenu for now due to what seems to be a pretty heavy memory leak. Does anyone have any tips on tracking down where the leak may be occurring? I didn't have it before I installed GlobalMenu but I know it could have any one of a number of causes: the GM it self, Vala, the Hide Menubar extension in Firefox, etc. I definitely want to be able to provide good data on my memory leak so I've disabled it until I can figure out how to track down the problem.
I am EXTREMELY interested in any leaks, since I am considering how to avoid the reference counting hell in the next version.
rainwoodman
November 29th, 2008, 03:47 AM
i'm having difficulty in installing global menu in ubuntu 8.10...
i followed the instruction on this website http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
when i do ./autogen.sh at the end it says :
checking checking for vala = 0.5.1... ./configure: line 2623: syntax error near unexpected token `VALACBIN,'
./configure: line 2623: ` AC_PATH_PROGS_FEATURE_CHECK(VALACBIN,'
what do this means?
It means your autoconf is too old.
anyways, a workaround was posted 20 mins ago.
Check it out.
DJ_Peng
November 29th, 2008, 08:50 AM
I've pretty much narrowed my memory leak down to two suspects: BOINC and the Hide Menubar extension for Firefox. I leave BOINC on overnight and I always find some swap memory not getting returned (I had forgotten the issue existed before I installed GM), and I always have Firefox open with the extension added, and I didn't notice the behavior when I had the add-on disabled. Granted it may be a different add-on that I use, but I haven't had the chance to check all of the add-ons that I had to force compatibility on. That list can be kind of long by itself. :(
Now if I could only use the GM to access all of my bookmarked folder.
hafizmi
November 29th, 2008, 10:10 AM
i got it...solved...thanks
teolemon
November 29th, 2008, 07:38 PM
Ayoli, is it possible that you merge your documentation in the main wiki or as issues in the bug tracker ?
ayoli
November 29th, 2008, 08:05 PM
Ayoli, is it possible that you merge your documentation in the main wiki or as issues in the bug tracker ?
I guess yes.
teolemon
November 29th, 2008, 08:29 PM
ok merged. It replaces Buildfromsourceonubuntu which still requires the patch. I'll keep the older one for historical purposes.
To Rainwoodman and lvigianni:
- should I/we try to contact Aqd to propose him to join the team ?
- would it be interesting to skim the older versions (pre-Vala and Aqd's version) to take back some code which was dropped (settings...) , refactor/rewrite it and include it in the newest version?
Back in the time there was a config dialog and support for Java/OpenOffice via a hack. Would it be feasible to have something cleaner now ?
Another question is: did you have a look at the KDE global menubar. Could it be of some use in the design ? Could it be used as an argument in the case of the Firefox/OpenOffice bugs (don't do it for us, do it for them as it's already included in KDE upstream)
rainwoodman
November 30th, 2008, 06:06 PM
ok merged. It replaces Buildfromsourceonubuntu which still requires the patch. I'll keep the older one for historical purposes.
To Rainwoodman and lvigianni:
- should I/we try to contact Aqd to propose him to join the team ?
Where to find him?
- would it be interesting to skim the older versions (pre-Vala and Aqd's
version) to take back some code which was dropped (settings...) , refactor/rewrite it and include it in the newest version?
Back in the time there was a config dialog
The features provided in this dialog actually should mostly be done in the gtkrc files for the style. Think about the entry for the PanelMenuBar in the gtkrc files as an example.
and support for Java/OpenOffice via a hack.
Would it be feasible to have something cleaner now ?
The cleaner thing is difficult to implement. It should be writing a java/openoffice plugin module or patch to replace the old menu system; just like how to handle the GTK.
Another question is: did you have a look at the KDE global menubar. Could it be of some use in the design ? Could it be used as an argument in the case of the Firefox/OpenOffice bugs (don't do it for us, do it for them as it's already included in KDE upstream)
Even if they support KDE global menu hack, it won't help ours.
I can't make sense from the KDE global menu hack; it made use of the window manager to handle the menubars. It is a cheap solution though.
Yu
teolemon
November 30th, 2008, 07:53 PM
His website is at:
http://aquila.deus.googlepages.com/
I wasn't specific about the dialog. But I can't remember of any features right now :-)
jackoverfull
November 30th, 2008, 10:25 PM
Hi, i built the package and now it works for me.:)
but i have an arrow at the end of the menu that seems to cover up the rightmost entries. As you can see (http://img380.imageshack.us/my.php?image=globalmenu1eq5.png)it can get very annoying...
Hope that this wasn't been covered before...
Also, there is a way to remove the bold "window tilte" item?
thank you in advance.:guitar:
rainwoodman
November 30th, 2008, 11:49 PM
Some Preview for my branch.
DJ_Peng
December 1st, 2008, 11:10 AM
I found a PPA with the current version of Vala (https://launchpad.net/%7Ebruce89/+archive) for those who don't want to compile it or have a way to get updates without having to recompile every time a new version comes out. For those needing step-by-step instructions (including uninstalling Vala) I put it on my blog (see my sig). Big thanks to ayoli for inspiring me to look for a PPA in his comment on my blog.
damis648
December 1st, 2008, 11:14 AM
There is an intrepid PPA that works perfectly for me, it is listed on the wiki http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu#Installing_from_the_GNOME_Globa l_Menu_PPA_(Intrepid)
lviggiani
December 1st, 2008, 12:33 PM
Hallo guys,
I've just uploaded a new version to svn (1663) containing the following improvements which you might find interesting:
1) Application name is consistent with gnome main menu entries
2) Application switcher now contains window actions menu.
Warning: you need vala 0.5.1 and libgnome-menu-dev package to compile trunk.
Enjoy!
rainwoodman
December 1st, 2008, 12:59 PM
Hallo guys,
I've just uploaded a new version to svn (1663) containing the following improvements which you might find interesting:
1) Application name is consistent with gnome main menu entries
2) Application switcher now contains window actions menu.
Warning: you need vala 0.5.1 and libgnome-menu-dev package to compile trunk.
Enjoy!
The second image is awesome!
ayoli
December 1st, 2008, 01:59 PM
I found a PPA with the current version of Vala (https://launchpad.net/%7Ebruce89/+archive) for those who don't want to compile it or have a way to get updates without having to recompile every time a new version comes out. For those needing step-by-step instructions (including uninstalling Vala) I put it on my blog (see my sig). Big thanks to ayoli for inspiring me to look for a PPA in his comment on my blog.
did you test if this vala package works fine with the globalmenu package from the ppa and updated your how to ?
ayoli
December 1st, 2008, 02:02 PM
Hallo guys,
I've just uploaded a new version to svn (1663) containing the following improvements which you might find interesting:
1) Application name is consistent with gnome main menu entries
2) Application switcher now contains window actions menu.
Warning: you need vala 0.5.1 and libgnome-menu-dev package to compile trunk.
Enjoy!
Nice :)
What about being able to customize application name (ie: if I want to put a shorter name for some apps) ?
DJ_Peng
December 1st, 2008, 03:33 PM
Hallo guys,
I've just uploaded a new version to svn (1663) containing the following improvements which you might find interesting:
1) Application name is consistent with gnome main menu entries
2) Application switcher now contains window actions menu.
Warning: you need vala 0.5.1 and libgnome-menu-dev package to compile trunk.
Enjoy!
I can't wait for this to hit the PPA. Do Alt key combinations work with the new svn?
did you test if this vala package works fine with the globalmenu package from the ppa and updated your how to ?
Yes. I did a complete check before I posted anything about it, and I put a link on my blog post pointing to a new post about getting Vala. Both Vala and GlobalMenu are from PPAs and are working as I type this. Although I'm getting green over those icons in the menu screenie. :mrgreen:
ayoli
December 1st, 2008, 05:46 PM
I can't wait for this to hit the PPA. Do Alt key combinations work with the new svn?
Yes. I did a complete check before I posted anything about it, and I put a link on my blog post pointing to a new post about getting Vala. Both Vala and GlobalMenu are from PPAs and are working as I type this. Although I'm getting green over those icons in the menu screenie. :mrgreen:
The ALT + Key issue (http://code.google.com/p/gnome2-globalmenu/issues/detail?id=134) isn't marked as fixed atm.
jackoverfull
December 1st, 2008, 08:05 PM
regarding the "arrow" problem i had, it seems that there was something wrong with that specific panel. Creating a new one and moving everything on it worked perfectly.:)
lviggiani
December 2nd, 2008, 02:47 AM
Nice :)
What about being able to customize application name (ie: if I want to put a shorter name for some apps) ?
Just customize your gnome main menu!
Rigth click on gnome main menu (the orange foot print icon in my attached image) and select "edit menus", or Alt + F2 and type alacarte.
From that GUI, you can customize program names. Select the one you want to modify, click edit and change the field "Name:".
Unfortunately the global-menu applet doesn't update automatically yet, so after customizing your menu, just log out and log in again or remove the applet from the panel and add it again.
I hope it helps.
Ciao.
rainwoodman
December 2nd, 2008, 04:51 AM
It seems to me the 0.7 release is going to be as stable as a rock.
Thanks for lviggiani. I've been able to find time writing a draft specification for the protocol of this new global menu kernel at
http://code.google.com/p/gnome2-globalmenu/wiki/GlobalMenuSpecification
Yu
ayoli
December 2nd, 2008, 05:06 AM
It seems to me the 0.7 release is going to be as stable as a rock.
Thanks for lviggiani. I've been able to find time writing a draft specification for the protocol of this new global menu kernel at
http://code.google.com/p/gnome2-globalmenu/wiki/GlobalMenuSpecification
Yu
Will 0.7 series have new dep, new build instructions, new configurations ?
If yes, would you please list them.
And the main question : from which rev number 0.7 serie will start ?
DJ_Peng
December 2nd, 2008, 09:16 AM
The ALT + Key issue (http://code.google.com/p/gnome2-globalmenu/issues/detail?id=134) isn't marked as fixed atm.
Thanks. I've subscribed to that bug. I guess I should look through the bug list and see which other ones I want to monitor.
It seems to me the 0.7 release is going to be as stable as a rock.
Thanks for lviggiani. I've been able to find time writing a draft specification for the protocol of this new global menu kernel at
http://code.google.com/p/gnome2-globalmenu/wiki/GlobalMenuSpecification
Yu
I. Can't. Wait. :guitar:
wapsi
December 2nd, 2008, 10:50 AM
It seems to me the 0.7 release is going to be as stable as a rock.
Thanks for lviggiani. I've been able to find time writing a draft specification for the protocol of this new global menu kernel at
http://code.google.com/p/gnome2-globalmenu/wiki/GlobalMenuSpecification
Yu
Thanks guys very much! I upgraded my Globamenu from svn and now it is much better and stablier!
BTW: The Globalmenu is very relevant thing in mini laptop (7"-10" asus,acer,msi... you know...). Globalmenu obviously saves space on screen.
x0x
December 2nd, 2008, 11:38 AM
hey i am getting error. http://paste.ubuntu.com/79355/
lviggiani
December 2nd, 2008, 03:16 PM
Hi guys,
I just added "current application icon" feature to trunk (svn 1677).
See attach.
Enjoy!
rainwoodman
December 2nd, 2008, 04:48 PM
Will 0.7 series have new dep, new build instructions, new configurations ?
If yes, would you please list them.
And the main question : from which rev number 0.7 serie will start ?
I only have the proof idea prototype in my branch now.
the build instructions shouldn't be changed by a lot(eg DBus dependency is removed)
and the luca's work in 0.6 will be carried through.
In short, 0.6 throws away the GTK patch, and 0.7 throws away DBus.
nisok
December 2nd, 2008, 05:10 PM
Hi guys....
VERY VERY nice work you do. I truly would like to help you but I am not a good programmer.
I send this post because I did all the moves in the guide for ibex but I am not able to download global menu.
Could you give me a hand?
ayoli
December 2nd, 2008, 08:13 PM
I only have the proof idea prototype in my branch now.
the build instructions shouldn't be changed by a lot(eg DBus dependency is removed)
and the luca's work in 0.6 will be carried through.
In short, 0.6 throws away the GTK patch, and 0.7 throws away DBus.
That's sounds nice.
Let me know when you're ready to push your branch to the trunk
(btw the way you use svn make me think you should give a try to git (http://whygitisbetterthanx.com/))
ayoli
December 2nd, 2008, 08:16 PM
Hi guys,
I just added "current application icon" feature to trunk (svn 1677).
See attach.
Enjoy!
Gotta find a moment to try the latest trunk...
please, work, leave me alone ! :p
eluminx
December 2nd, 2008, 11:10 PM
Is there a reason why the packages are not in the PPA? I added the PPA to my sources.lst but since yesterday it doesn't show up? Am i missing something? I am on ibex 64bit.
Rubicon421
December 2nd, 2008, 11:18 PM
WOW! this thread is HUGE! It's probably in here somewhere, but could someone point me to some info on getting the Mac style toolbar for Ubuntu 8.10 64 bit in GNOME? I don't care about the rest of the mac 'look' I just want the toolbar with the 3D icons. Some of the attempts at this just look like a tweaked out version of the old toolbar. If you really look at the mac toolbar, the background is sloped away from the screen like it is a floor/surface for the icons, which have shadowing and the icons are bigger and extend outside the toolbar. I know it's being nit-picky, but if there is a way to add those little touches it would be nice.
jackoverfull
December 3rd, 2008, 02:14 AM
WOW! this thread is HUGE! It's probably in here somewhere, but could someone point me to some info on getting the Mac style toolbar for Ubuntu 8.10 64 bit in GNOME? I don't care about the rest of the mac 'look' I just want the toolbar with the 3D icons. Some of the attempts at this just look like a tweaked out version of the old toolbar. If you really look at the mac toolbar, the background is sloped away from the screen like it is a floor/surface for the icons, which have shadowing and the icons are bigger and extend outside the toolbar. I know it's being nit-picky, but if there is a way to add those little touches it would be nice.
On a 64 bit system you need to build it.
I followed this path, it worked perfectly: http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/ :D
I wonder if there is a way to move a panel some pixels offscreen, so that you can really click at the top of the screen and catch the global menu…
ayoli
December 3rd, 2008, 06:15 AM
On a 64 bit system you need to build it.
I followed this path, it worked perfectly: http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/ :D
I wonder if there is a way to move a panel some pixels offscreen, so that you can really click at the top of the screen and catch the global menu…
I think he looks for a dock more than globalmenu.
@Kill Vista : search AWN (http://ubuntuforums.org/showthread.php?t=762363) or cairo-dock (http://www.cairo-dock.org/ww_page.php?p=Par%20paquet&lang=fr)
ardchoille42
December 3rd, 2008, 07:09 AM
WOW! this thread is HUGE! It's probably in here somewhere, but could someone point me to some info on getting the Mac style toolbar for Ubuntu 8.10 64 bit in GNOME? I don't care about the rest of the mac 'look' I just want the toolbar with the 3D icons. Some of the attempts at this just look like a tweaked out version of the old toolbar. If you really look at the mac toolbar, the background is sloped away from the screen like it is a floor/surface for the icons, which have shadowing and the icons are bigger and extend outside the toolbar. I know it's being nit-picky, but if there is a way to add those little touches it would be nice.
I think you mean avant window navigator. If so, it's in the Ubuntu 8.10 repos (universe), I'm using it on Intrepid Ibex and it looks great (http://ardchoille.nfshost.com/Gallery/Screenshots?action=imagelink&i=scr-20081125.jpg).
I'm not sure how well it works on 64bit.
Make sure you have universe enabled, then open a terminal and do:
sudo apt-get install avant-window-navigator
You'll probably want the extra applets too:
sudo apt-get install awn-applets-c-extras awn-applets-python-extras
After you install awn, it will show up in Applications > Accessories
The AWN main wiki page is here:
http://wiki.awn-project.org/
And more AWN themes are here:
http://wiki.awn-project.org/Themes
jackoverfull
December 3rd, 2008, 07:26 AM
I think he looks for a dock more than globalmenu.
@Kill Vista : search AWN (http://ubuntuforums.org/showthread.php?t=762363) or cairo-dock (http://www.cairo-dock.org/ww_page.php?p=Par%20paquet&lang=fr)
You're right.:)
DJ_Peng
December 3rd, 2008, 08:54 AM
It looks like the PPA for the GlobalMenu Team has been changed. It's now at https://launchpad.net/~globalmenu-team/+archive and the code for our sources.list is now
deb http://ppa.launchpad.net/globalmenu-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/globalmenu-team/ubuntu intrepid main
@ayoli:
I tried to post this info as a comment to your instructions post but in three tries I kept getting an error that the wrong anti-spam word.
ayoli
December 3rd, 2008, 09:17 AM
It looks like the PPA for the GlobalMenu Team has been changed. It's now at https://launchpad.net/~globalmenu-team/+archive and the code for our sources.list is now
deb http://ppa.launchpad.net/globalmenu-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/globalmenu-team/ubuntu intrepid main
@ayoli:
I tried to post this info as a comment to your instructions post but in three tries I kept getting an error that the wrong anti-spam word.
yes, I know, sometimes my captcha is nasty :)
ardchoille42
December 3rd, 2008, 11:59 AM
It looks like the PPA for the GlobalMenu Team has been changed. It's now at https://launchpad.net/~globalmenu-team/+archive and the code for our sources.list is now
deb http://ppa.launchpad.net/globalmenu-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/globalmenu-team/ubuntu intrepid main
@ayoli:
I tried to post this info as a comment to your instructions post but in three tries I kept getting an error that the wrong anti-spam word.
Thank you very much for this information, I'll change my sources.list.
lviggiani
December 4th, 2008, 05:10 AM
Good morning guys,
I just added a new feature on trunk you might find interesting:
Now you can customize the applet by means of gconf!!
A dedicated GUI is not available yet, however by selecting "Preferences" from applet menu (right click on applet hand-grip for the menu) it opens gconf-editor and automatically shows the page where you can customize the applet (see attached image).
Later I'll implement a dedicated GUI but I think that for the time being it might be good enough.
Let me know if you like it.
Enjoy!
ayoli
December 4th, 2008, 07:01 AM
Good morning guys,
I just added a new feature on trunk you might find interesting:
Now you can customize the applet by means of gconf!!
A dedicated GUI is not available yet, however by selecting "Preferences" from applet menu (right click on applet hand-grip for the menu) it opens gconf-editor and automatically shows the page where you can customize the applet (see attached image).
Later I'll implement a dedicated GUI but I think that for the time being it might be good enough.
Let me know if you like it.
Enjoy!
awesome !
one question though : if one want to use globalmenu with xfce it could be nice to have a way to save the pref elsewhere beacause I don't think xfce users have gconf, no ?
jackoverfull
December 4th, 2008, 08:01 AM
Good morning guys,
I just added a new feature on trunk you might find interesting:
Now you can customize the applet by means of gconf!!
A dedicated GUI is not available yet, however by selecting "Preferences" from applet menu (right click on applet hand-grip for the menu) it opens gconf-editor and automatically shows the page where you can customize the applet (see attached image).
Later I'll implement a dedicated GUI but I think that for the time being it might be good enough.
Let me know if you like it.
Enjoy!
Great.:DD
adamruss
December 5th, 2008, 05:37 AM
first i would like to say thank you for this globalmenu i love it!!
i am not using ubuntu at the moment, but this is the only place i could find to report a bug. could anyone direct me to an offical place with bug's for this?
anyway, if iam allready posting' i'll ask, because mybe it's only an archlinux thing, when i press the desktop and get the nautilus menu, anything that i press in "Places" menu crashes nautilus... also when i open nautilus window the "Go" and "Bookmarks" menu crash nautilus... is this a known bug? (i use nautilus 2.24.2)
thanks
lviggiani
December 5th, 2008, 06:10 AM
first i would like to say thank you for this globalmenu i love it!!
i am not using ubuntu at the moment, but this is the only place i could find to report a bug. could anyone direct me to an offical place with bug's for this?
anyway, if iam allready posting' i'll ask, because mybe it's only an archlinux thing, when i press the desktop and get the nautilus menu, anything that i press in "Places" menu crashes nautilus... also when i open nautilus window the "Go" and "Bookmarks" menu crash nautilus... is this a known bug? (i use nautilus 2.24.2)
thanks
http://code.google.com/p/gnome2-globalmenu/issues/list
adamruss
December 5th, 2008, 06:24 AM
Thanks! found the bug there....
Good morning guys,
I just added a new feature on trunk you might find interesting:
Now you can customize the applet by means of gconf!!
A dedicated GUI is not available yet, however by selecting "Preferences" from applet menu (right click on applet hand-grip for the menu) it opens gconf-editor and automatically shows the page where you can customize the applet (see attached image).
Later I'll implement a dedicated GUI but I think that for the time being it might be good enough.
Let me know if you like it.
Enjoy!
what rev is this? because i use 1681 and it does open gconf but doesnt take me to the applet. accually, i dont have a "prefs" in the applet's gconf.
lviggiani
December 5th, 2008, 06:27 AM
Thanks! found the bug there....
what rev is this? because i use 1681 and it does open gconf but doesnt take me to the applet. accually, i dont have a "prefs" in the applet's gconf.
Is 1681.
http://code.google.com/p/gnome2-globalmenu/source/checkout
How did you install it?
It looks like gconf schemas have not been properly installed
adamruss
December 5th, 2008, 06:36 AM
mmmm....
i'll talk to the guy that pkg this in the AUR... i dont think he touched the gconf...
lviggiani
December 5th, 2008, 06:41 AM
mmmm....
i'll talk to the guy that pkg this in the AUR... i dont think he touched the gconf...
I'm not making any package... building from source it works.
Try this:
http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
(you might adapt to your system for needed packages if you're not using ubuntu)
adamruss
December 5th, 2008, 07:15 AM
i know you dont make a pkg, that why we do :)
n/m i fixed it on my system, and sent the solution to the packager in the AUR (archlinux user repo) so he will fix it to everyone.
lviggiani
December 5th, 2008, 07:39 AM
i know you dont make a pkg, that why we do :)
n/m i fixed it on my system, and sent the solution to the packager in the AUR (archlinux user repo) so he will fix it to everyone.
Good! :cool:
bornagainpenguin
December 5th, 2008, 02:42 PM
I've been following this off and on since the thread started, and while the ideas and concepts interest me I'm a bit hesitant to install alpha code...
How much longer until this will be ready for a simple deb installation method I can trust not to break anything? I'm on Ubuntu Intrepid Ibex and (besides Firefox and OpenOffice) as far as I know using only GNOME\GTK applications so I'm not expecting things to ge too borked up but I'd rather know for sure before installing this on my EeePC 901.
--bornagainpenguin
DJ_Peng
December 5th, 2008, 02:53 PM
There is actually a DEB in the Launchpad PPAs. Ayoli has a great tutorial (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/) for installing GlobalMenu (I have a tutorial on my blog as well that uses the PPA's, a link is in my sig).
@everyone:
I meant to say earlier that I files Issue 194 to the Google Code issue tracker for GlobalMenu: Issue 194 (http://code.google.com/p/gnome2-globalmenu/issues/detail?id=194) - Non-GTK apps with long titlebar names can overlap panel applets. I'm also noticing that the name on the GlobalMenu doesn't always keep up with changes in tabs in Firefox, but if I switch to another app and back to Firefox it updates the menu.
bornagainpenguin
December 5th, 2008, 04:30 PM
There is actually a DEB in the Launchpad PPAs. Ayoli has a great tutorial (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/) for installing GlobalMenu (I have a tutorial on my blog as well that uses the PPA's, a link is in my sig).
I saw that guide, unfortunately not everything is ready (vala) and the instructions don't make sense to me entirely so I'm doing what I've learned to do these days when I'm not sure--either wait until there's an update (that I understand) or wait until I'm ready to do a fresh install any way and losing everything to try something new out won't hurt so bad...
--bornagainpenguin
PS: Thanks for the link though! :)
DJ_Peng
December 5th, 2008, 04:53 PM
I found a PPA that has Vala and wrote a tutorial (http://nancib.wordpress.com/2008/12/01/install-vala-without-compiling-source-code/) on how to use it.
rainwoodman
December 6th, 2008, 01:47 AM
HI;
I made a alpha preview(or should it be called a prototype?) for the on progress 0.7 branch.
http://code.google.com/p/gnome2-globalmenu/downloads/list?can=2&q=1698&colspec=Filename+Summary+Uploaded+Size+DownloadCou nt
(at least it passed 'make distcheck' and built rpms on my box)
This is a technical preview: a lot of features in the 0.6 branch are missing. But the core is redesigned in a highly simplified model: you can tell this from the reduced compiling time.
DBus has gone; some parts are now written in C in the 'globalmenu-gnome' gtk module; true unit tests are implemented: they can be performed by
env GTK_MODULES= make check
Testing and feedbacks on stability will be extremely helpful. Features should be done after this core is stable enough, shouldn't it, anyways?
Yu
bornagainpenguin
December 6th, 2008, 02:00 PM
I found a PPA that has Vala and wrote a tutorial (http://nancib.wordpress.com/2008/12/01/install-vala-without-compiling-source-code/) on how to use it.
Great--but the tutorial is missing a lot of information.
Go back to ~/.gnomerc and edit the file to the setting you used the last time you ran GlobalMenu.
What ~/.gnomerc?
What settings?
I've never run this before!
I could go on. There needs to be some serious documentation clean up if more people are to use GlobalMenu! The documentation needs to be step by step and not assume the user has done this before or knows what the writer is talking about.
As it is now I'm afraid to start anything because if I get stuck I may end up with a borked system and not be able to obtain help for hours, if not days...
--bornagainpenguin
ayoli
December 6th, 2008, 03:47 PM
Great--but the tutorial is missing a lot of information.
What ~/.gnomerc?
What settings?
I've never run this before!
I could go on. There needs to be some serious documentation clean up if more people are to use GlobalMenu! The documentation needs to be step by step and not assume the user has done this before or knows what the writer is talking about.
As it is now I'm afraid to start anything because if I get stuck I may end up with a borked system and not be able to obtain help for hours, if not days...
--bornagainpenguin
edit or create the file ~/.gnomerc (~/ is a shortcut to your /home/username directory whatever is your username).
put at least this line in it :
export GTK_MODULES=globalmenu-gnome
If you have installed vala and gnome globalmenu packages from the PPA and added the globalmenu applet to your panel (top panel is better), then after a reboot it should work.
lviggiani
December 7th, 2008, 08:42 AM
Hallo Guys,
I have added a dedicated gconf settings back end window for the applet (see picture).
All is on svn 1715.
Note for programmers:
This is a general purpose gconf back end dialog widget
(GtkExtra.GConfDialog : Gtk.Dialog) which automatically connects to the
pref root key passed on creation and add controls to the dialog window
by scanning all prefs entries and relevant schema for long/short
description, data type and default value. It could be reused virtually
on any gconf preferences based program. Currently not all data types are
supported and the "reset to default" buttons are still missing.
DJ_Peng
December 7th, 2008, 09:27 AM
Great--but the tutorial is missing a lot of information.
What ~/.gnomerc?
What settings?
I've never run this before!
...
When I wrote my small tutorial on installing Vala I referred to my tutorial on installing the GlobalMenu (http://nancib.wordpress.com/2008/11/26/get-the-globalmenu-without-all-of-the-hassle/) , where I first discussed the .gnomerc file. My assumption was that you had either already seen my post about the GlobalMenu or had already used the link I had provided earlier in my post to see what it said about the file. But you're right, we do need better documentation. I would have said more about what the different settings do, but as I mentioned on my I didn't know what they did myself. I tried one and got a window that I still have no clue what it was for. This project is still fairly young though and docs may be one thing in teh works for downstream.
Hallo Guys,
I have added a dedicated gconf settings back end window for the applet (see picture).
All is on svn 1715.
Note for programmers:
This is a general purpose gconf back end dialog widget
(GtkExtra.GConfDialog : Gtk.Dialog) which automatically connects to the
pref root key passed on creation and add controls to the dialog window
by scanning all prefs entries and relevant schema for long/short
description, data type and default value. It could be reused virtually
on any gconf preferences based program. Currently not all data types are
supported and the "reset to default" buttons are still missing.
Sweet. I look forward to using it.
lviggiani
December 7th, 2008, 05:49 PM
Added "Reset to default" buttons in settings dialog.
Enjoy!
zniavre
December 8th, 2008, 05:07 AM
hello
i wonder if this new settings is available on ppa's repos?
it seems not right now ... is'nt it ?
sorry to insist a bit on this point > could be possible to add rgba support it will make rounded menus and a bit of transparency
http://www.cimitan.com/murrine/rgba-support/list
i really think it will be really nice and give a "modern" look.
please tell me if i ask too many times for something you do not want.
thank you very much
ayoli
December 8th, 2008, 05:43 AM
hello
i wonder if this new settings is available on ppa's repos?
it seems not right now ... is'nt it ?
sorry to insist a bit on this point > could be possible to add rgba support it will make rounded menus and a bit of transparency
http://www.cimitan.com/murrine/rgba-support/list
i really think it will be really nice and give a "modern" look.
please tell me if i ask too many times for something you do not want.
thank you very much
You should submit your feature request as an issue on the googlecode page of the project (http://code.google.com/p/gnome2-globalmenu/issues/list).
bornagainpenguin
December 8th, 2008, 10:58 PM
edit or create the file ~/.gnomerc (~/ is a shortcut to your /home/username directory whatever is your username).
put at least this line in it :
export GTK_MODULES=globalmenu-gnome
If you have installed vala and gnome globalmenu packages from the PPA and added the globalmenu applet to your panel (top panel is better), then after a reboot it should work.
After I calmed down a bit I was able to figure it out with your instructions, thanks! I don't know why I always tend to panic like this when it comes to something new--I'm not a newbie by any means...more like an intermediate user when it comes to Linux so I shouldn't have freaked out.
Having installed it I'm not so sure I can use it yet... for one I'm not sure how to set up the menus like I want yet and so on. I noticed DJ Pen is one of the one behind the Mac4Lin project and I'll be looking into that to see if I can get any ideas on menu placement from there. LOL I always thought the Mac4Lin was MacOnLin for some strange reason and never looked into it much but I saw a reference to it in one of your blog posts and that cleared it right up.
Thanks again for your help!
--bornagainpenguin
DJ_Peng
December 9th, 2008, 09:34 AM
I'm mostly the guy updating the Mac4Lin docs for the 1.0 release but I do help out with a few other areas of Mac4Lin when I can. Although when it comes to the GlobalMenu I'm still a noob. :D
ardchoille42
December 9th, 2008, 11:20 AM
I just installed the new version of gnome2-globalmenu, 0.6.1678, and this thing ROCKS!
Many thanks to the devs for making this available to us :D
rainwoodman
December 11th, 2008, 02:29 AM
RGBA support added to the development branch.
Icons and check boxes are now (almost) properly aligned.
lviggiani
December 11th, 2008, 03:00 AM
Cool!
vishal_mala
December 11th, 2008, 03:16 AM
Someones doing good work here. But I wud prefer the orig look and feel of ubuntu, tht's was the reason I formatted windows.
lviggiani
December 11th, 2008, 03:30 AM
Someones doing good work here. But I wud prefer the orig look and feel of ubuntu, tht's was the reason I formatted windows.
The look and feel of the global menu bar depends on the theme you have selected for your system. So, if you're using ubuntu theme, the global menu will look like that.
The attachments posted here are for demonstration purpose only and they depnds on the theme in use by who posted them.
zniavre
December 11th, 2008, 04:32 AM
can 't wait for ppa's with rgba support ...
i never had luck with compiling.
thank you very much
eluminx
December 11th, 2008, 11:19 PM
Is there a reason why the user switcher applet doesn't work when i load the menu applet? When my box restarts it pops up with the error to either reload or not the user switcher applet, but i have to close it because it is never able to load?
I must say, this project is awesome, i remember when aqd first started it, it was nice, but not this nice, now is just great. Great work guys thanks for keeping the project alive.
rainwoodman
December 12th, 2008, 01:13 AM
Is there a reason why the user switcher applet doesn't work when i load the menu applet? When my box restarts it pops up with the error to either reload or not the user switcher applet, but i have to close it because it is never able to load?
The recent versions ship with a default setting that disables global menu for user switch applet.
does your user switch applet have a name other than gdm-user-switch-applet ?
lacie
December 12th, 2008, 09:48 AM
Hm is there a better how-to-do-this-tutorial somewhere?
Sorry but i havent read the whole 243pages of this post..
Will this work with the this ubuntu version :
Ubuntu 8.10 (intrepid)
Gnome 2.24.1 (Ubuntu 2008-10-24)
Kernel 2.6.27-10-generic (#1 SMP Fri Nov 21 12:00:22 UTC 2008)
I tried to install it from some other sources and tutorials.. but it always crashed my gnome-desktop, and i am a very beginner to linux, so all i could do was reinstalling it.. thats why i am very carful now ;)
thanks
lacie
ayoli
December 12th, 2008, 11:01 AM
Hm is there a better how-to-do-this-tutorial somewhere?
Sorry but i havent read the whole 243pages of this post..
Will this work with the this ubuntu version :
Ubuntu 8.10 (intrepid)
Gnome 2.24.1 (Ubuntu 2008-10-24)
Kernel 2.6.27-10-generic (#1 SMP Fri Nov 21 12:00:22 UTC 2008)
I tried to install it from some other sources and tutorials.. but it always crashed my gnome-desktop, and i am a very beginner to linux, so all i could do was reinstalling it.. thats why i am very carful now ;)
thanks
lacie
It will.
here is the PPA method : http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu#Installing_from_the_GNOME_Globa l_Menu_PPA_(Intrepid)
or if you prefer build yourself the last svn revision :
http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
eluminx
December 12th, 2008, 01:19 PM
The recent versions ship with a default setting that disables global menu for user switch applet.
does your user switch applet have a name other than gdm-user-switch-applet ?
It doesn't have another name, is no big deal that the applet won't run but i just thought i'd let you guys know, if you didn't already know. Also one more thing if i have a nautilus window open and i click on the menu bar on the Go-->Computer it crashes nautilus don't know if this is a known issue or not. Thanks for the quick replies.
ayoli
December 12th, 2008, 03:25 PM
It doesn't have another name, is no big deal that the applet won't run but i just thought i'd let you guys know, if you didn't already know. Also one more thing if i have a nautilus window open and i click on the menu bar on the Go-->Computer it crashes nautilus don't know if this is a known issue or not. Thanks for the quick replies.
You may have a look at this (http://code.google.com/p/gnome2-globalmenu/issues/list)
This is the place where you can post or read/follow issues ;)
lacie
December 12th, 2008, 06:32 PM
It will.
here is the PPA method : http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu#Installing_from_the_GNOME_Globa l_Menu_PPA_(Intrepid)
or if you prefer build yourself the last svn revision :
http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
I tried with the PPA and failed.. but building myself the last svn revision worked :)
Thank you very much. This rocks!! :guitar:
Pegasus_from_UA
December 13th, 2008, 09:49 AM
Thanx a lot!!
I’ve got two problems at least.
1. FireFox menus don’t work with with gnome2-globalmenu-applet, is there any fix of this ?
2. Global Menu has different colour than the top panel.
http://s59.radikal.ru/i164/0812/b1/1c26399f9e31.png
Thanks.
DJ_Peng
December 13th, 2008, 10:04 AM
1. This is a known issue because Mozilla doesn't use the GTK system for their menus. Mozilla devs are working on it but I wouldn't hold my breath.
2. That sounds like a GM issue. I know they're working on a GUI method of changing some settings, but I'm not sure how to resolve this. I'd recommend asking in the GlobalMenu support thread (http://ubuntuforums.org/showthread.php?t=241868). They may know a solution I haven't become aware of yet.
computer_freak_8
December 14th, 2008, 08:23 PM
I haven't read through all of the pages to this thread (at least not yet), but I'm getting an error:
make[3]: Entering directory `/media/SHARED/gnome-globalmenu-0.6/tests'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT GMarkup_DocumentParser.o -MD -MP -MF ".deps/GMarkup_DocumentParser.Tpo" -c -o GMarkup_DocumentParser.o GMarkup_DocumentParser.c; \
then mv -f ".deps/GMarkup_DocumentParser.Tpo" ".deps/GMarkup_DocumentParser.Po"; else rm -f ".deps/GMarkup_DocumentParser.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o GMarkup_DocumentParser GMarkup_DocumentParser.o ../libgmarkupdoc/libgmarkupdoc.la ../libgnomenu/libgnomenu.la
gcc -g -O2 -o .libs/GMarkup_DocumentParser GMarkup_DocumentParser.o ../libgmarkupdoc/.libs/libgmarkupdoc.so ../libgnomenu/.libs/libgnomenu.so -Wl,--rpath -Wl,/usr//lib
GMarkup_DocumentParser.o: In function `main':
/media/SHARED/gnome-globalmenu-0.6/tests/test.c:3: undefined reference to `_test'
collect2: ld returned 1 exit status
make[3]: *** [GMarkup_DocumentParser] Error 1
make[3]: Leaving directory `/media/SHARED/gnome-globalmenu-0.6/tests'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/media/SHARED/gnome-globalmenu-0.6/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/SHARED/gnome-globalmenu-0.6'
make: *** [all] Error 2
I saw this post (http://ubuntuforums.org/showpost.php?p=6157811&postcount=2248) and installed the 1.10 version (I was already using 1.9).
I'm running Ubuntu 8.04.1 amd64 if that helps anyone to help me.
Also, the file mentioned in the error, "/media/SHARED/gnome-globalmenu-0.6/tests/test.c", contains:
int main(int argc, char* argv){
g_type_init();
return __class_test (argv, argc);
}
I don't know programming, and I can't figure this out.
Any ideas?
rainwoodman
December 14th, 2008, 11:06 PM
I haven't read through all of the pages to this thread (at least not yet), but I'm getting an error:
make[3]: Entering directory `/media/SHARED/gnome-globalmenu-0.6/tests'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT GMarkup_DocumentParser.o -MD -MP -MF ".deps/GMarkup_DocumentParser.Tpo" -c -o GMarkup_DocumentParser.o GMarkup_DocumentParser.c; \
then mv -f ".deps/GMarkup_DocumentParser.Tpo" ".deps/GMarkup_DocumentParser.Po"; else rm -f ".deps/GMarkup_DocumentParser.Tpo"; exit 1; fi
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o GMarkup_DocumentParser GMarkup_DocumentParser.o ../libgmarkupdoc/libgmarkupdoc.la ../libgnomenu/libgnomenu.la
gcc -g -O2 -o .libs/GMarkup_DocumentParser GMarkup_DocumentParser.o ../libgmarkupdoc/.libs/libgmarkupdoc.so ../libgnomenu/.libs/libgnomenu.so -Wl,--rpath -Wl,/usr//lib
GMarkup_DocumentParser.o: In function `main':
/media/SHARED/gnome-globalmenu-0.6/tests/test.c:3: undefined reference to `_test'
collect2: ld returned 1 exit status
make[3]: *** [GMarkup_DocumentParser] Error 1
make[3]: Leaving directory `/media/SHARED/gnome-globalmenu-0.6/tests'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/media/SHARED/gnome-globalmenu-0.6/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/SHARED/gnome-globalmenu-0.6'
make: *** [all] Error 2
I saw this post (http://ubuntuforums.org/showpost.php?p=6157811&postcount=2248) and installed the 1.10 version (I was already using 1.9).
I'm running Ubuntu 8.04.1 amd64 if that helps anyone to help me.
Also, the file mentioned in the error, "/media/SHARED/gnome-globalmenu-0.6/tests/test.c", contains:
int main(int argc, char* argv){
g_type_init();
return __class_test (argv, argc);
}
I don't know programming, and I can't figure this out.
Any ideas?
Please check out the new source. (simplely remove the source code and do the instructions again)
I've disabled the tests.
Sugz
December 16th, 2008, 07:03 PM
I sure this has been asked. but i have not been able to find the answer.
Basically. i have version 0.4.1 a very old version no?
Because i am on GUTSY.
I Would like to install a newer version because i cannot change the text size, type or colout in the current version So i would like to ask is it possible to install a newer version in Ubuntu GUTSY?
THanks
ayoli
December 16th, 2008, 07:13 PM
I sure this has been asked. but i have not been able to find the answer.
Basically. i have version 0.4.1 a very old version no?
Because i am on GUTSY.
I Would like to install a newer version because i cannot change the text size, type or colout in the current version So i would like to ask is it possible to install a newer version in Ubuntu GUTSY?
THanks
You have debs for 0.4.2 here (see install with deb section, follow gutsy instructions):
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
You may want also to give a try to the 0.6 series (you'll need to build from source, but no need to patch gtk, instructions on the same page).
Btw I can't recall a setting for the font family/size or color, these can be done in the gtkrc file of your gtk theme.
Sugz
December 17th, 2008, 05:24 AM
Thanks for the reply, i was able to install a newer version which allows me to change the fonts of the window title.
However the other menu options stay the same as my Application font. :(
I would attempt to install 0.6 but i have too many outdated dependancy files.
However im sure that having the Customising font for all the Global-menu menus can be independent of the system theme. (or is this only in 0.6?)
andrek
December 17th, 2008, 09:48 AM
Thanks for the reply, i was able to install a newer version which allows me to change the fonts of the window title.
However the other menu options stay the same as my Application font. :(
I would attempt to install 0.6 but i have too many outdated dependancy files.
However im sure that having the Customising font for all the Global-menu menus can be independent of the system theme. (or is this only in 0.6?)
Open the gtkrc file of your currently used gtk theme.
In section
style "panel"
{
(...)
}
add :
font_name ="Bauhaus 9"
Where Bauhaus is the font name and 9 is.. the font size.
computer_freak_8
December 17th, 2008, 09:24 PM
Please check out the new source. (simplely remove the source code and do the instructions again)
I've disabled the tests.
Awesomeness.
Thank you so much!
rainwoodman
December 21st, 2008, 11:27 PM
0.7-devel has been pushed to trunk.
ReleaseNotes:
http://code.google.com/p/gnome2-globalmenu/wiki/ReleaseNotes
Please test and file issues at:
http://code.google.com/p/gnome2-globalmenu/issues/
Thanks.
ayoli
December 22nd, 2008, 02:18 AM
0.7-devel has been pushed to trunk.
ReleaseNotes:
http://code.google.com/p/gnome2-globalmenu/wiki/ReleaseNotes
Please test and file issues at:
http://code.google.com/p/gnome2-globalmenu/issues/
Thanks.
Awesome jobs, thanks :D
Frak
December 22nd, 2008, 02:21 AM
Yay :)
New stuff is always great, even if it is made of glass.
LavianoTS386
December 22nd, 2008, 02:59 AM
when will this hit the ppa?
lviggiani
December 22nd, 2008, 05:03 AM
0.7-devel has been pushed to trunk.
ReleaseNotes:
http://code.google.com/p/gnome2-globalmenu/wiki/ReleaseNotes
Please test and file issues at:
http://code.google.com/p/gnome2-globalmenu/issues/
Thanks.
Thank you rainwoodman!!
It has been a pleasure to work with you at this new release!
And I hope we can continue like that even for future (0.8?).
I'll take care or closing all open stuff on my code and I'll add Italian entries to translation support.
Ciao!
DJ_Peng
December 22nd, 2008, 09:26 AM
0.7-devel has been pushed to trunk.Woo hoo! You guys (and gals) rawk! You may have just given me my #3 Christmas gift (after Ubuntu LiveCDs and the latest RC for Mac4Lin 1.0, that is):guitar:
when will this hit the ppa?I was going to ask the same thing.
lviggiani
December 22nd, 2008, 09:53 AM
Added L10N tracker for the switcher (both for "Desktop" and "File Manager" names).
Added italian translations.
Enjoy!
Islington
December 22nd, 2008, 03:11 PM
I need instructions on what to do once I add the ppa repos to intrepid.
:confused:
ayoli
December 22nd, 2008, 06:36 PM
I need instructions on what to do once I add the ppa repos to intrepid.
:confused:
Maybe reading this (http://nancib.wordpress.com/2008/11/26/get-the-globalmenu-without-all-of-the-hassle/) could help.
kinap
December 22nd, 2008, 07:17 PM
tried to compile v0.7 but got the following errors:
applet.vala:17.26-17.29: warning: Argument 1: Cannot pass null to non-null parameter type
set_background_widget(null);
^^^^
applet.vala:190.5-190.39: warning: unhandled error `GLib.Error'
Parser.parse(main_menubar, context);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:260.3-260.40: warning: unhandled error `GLib.Error'
this.add_preferences(GCONF_SCHEMA_DIR);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:308.23-308.54: warning: unhandled error `GLib.Error'
selector.max_size = gconf_get_int("title_max_width");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:309.24-309.50: warning: unhandled error `GLib.Error'
selector.show_icon = gconf_get_bool("show_icon");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:310.25-310.51: warning: unhandled error `GLib.Error'
selector.show_label = gconf_get_bool("show_name");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:311.34-311.70: warning: unhandled error `GLib.Error'
selector.show_window_actions = gconf_get_bool("show_window_actions");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
it did compile version 0.6 ok, running it now.
anyway, just wanted to tell it, i'm fine with 0.6 for now.
unless there are some big changes :)
Kinap
FPOD
December 23rd, 2008, 07:35 AM
I've been trying to install this a few different ways over the past few days, but none of them seem to work. I've been trying the tutorial over at Ayozone (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/), but when I enter make, I end up with this: root@Morasailles:~/gnome-globalmenu-0.7# make
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr"'; \
echo '#define EXEC_PREFIX "/usr"'; \
echo '#define BINDIR "/usr/bin"'; \
echo '#define SBINDIR "/usr/sbin"'; \
echo '#define LIBEXECDIR "/usr/libexec"'; \
echo '#define DATAROOTDIR "/usr/share"'; \
echo '#define DATADIR "/usr/share"'; \
echo '#define SYSCONFDIR "/usr/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/com"'; \
echo '#define LOCALSTATEDIR "/usr/var"'; \
echo '#define INCLUDEDIR "/usr/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define INFODIR "/usr/share/info"'; \
echo '#define HTMLDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define DVIDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define PDFDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define PSDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define LIBDIR "/usr/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/share/locale"'; \
echo '#define MANDIR "/usr/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/share/gnome-globalmenu"'; \
echo '#define PKGINCLUDEDIR "/usr/include/gnome-globalmenu"'; \
echo '#define PKGLIBDIR "/usr/lib/gnome-globalmenu"'; \
echo '#define PKGLIBEXECDIR ""'; \
echo '#define ABSTOPSRCDIR "/root/gnome-globalmenu-0.7"'; \
} | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
rm -f configmake.vapi
{ \
echo '[CCode (cheader_filename = "configmake.h")]'; \
echo 'namespace Config {'; \
sed -e 's/#define \([A-Z_]*\) .*/[CCode (cname = "\1")]\npublic static const string \1;/' configmake.h ; \
echo '}' ; \
} > configmake.vapi
make all-recursive
make[1]: Entering directory `/root/gnome-globalmenu-0.7'
Making all in tests
make[2]: Entering directory `/root/gnome-globalmenu-0.7/tests'
make all-am
make[3]: Entering directory `/root/gnome-globalmenu-0.7/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/gnome-globalmenu-0.7/tests'
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/tests'
Making all in libgnomenu
make[2]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
make all-recursive
make[3]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in .
make[4]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in tests
make[4]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make all-am
make[5]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -include ../../config.h -g -O2 -MT test-parser.o -MD -MP -MF .deps/test-parser.Tpo -c -o test-parser.o test-parser.c
mv -f .deps/test-parser.Tpo .deps/test-parser.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o test-parser test-parser.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu.la ../../tests/libtestman.la
libtool: link: gcc -g -O2 -o test-parser test-parser.o -Wl,--export-dynamic ../.libs/libgnomenu.a ../../tests/.libs/libtestman.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -include ../../config.h -g -O2 -MT test-leak.o -MD -MP -MF .deps/test-leak.Tpo -c -o test-leak.o test-leak.c
mv -f .deps/test-leak.Tpo .deps/test-leak.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o test-leak test-leak.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu.la ../../tests/libtestman.la
libtool: link: gcc -g -O2 -o test-leak test-leak.o -Wl,--export-dynamic ../.libs/libgnomenu.a ../../tests/.libs/libtestman.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[5]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make[4]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make[3]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in applet
make[2]: Entering directory `/root/gnome-globalmenu-0.7/applet'
/usr/local/bin/valac --vapidir .. --pkg configmake --pkg licenses --pkg config -C --vapidir=. \
--vapidir=../libgnomenu \
--pkg=gtk+-2.0 \
--pkg=libwnck-1.0 \
--pkg=libpanelapplet-2.0 \
--pkg=gnomenu-private \
--pkg=gnome-desktop-2.0 \
--pkg=libgnome-menu \
--pkg=gconf-2.0 \
--pkg=gconfcompat \
--pkg=wnckcompat \
applet.vala main.vala gtkextra-gconfdialog.vala switcher.vala gnomemenuhelper.vala
applet.vala:17.26-17.29: warning: Argument 1: Cannot pass null to non-null parameter type
set_background_widget(null);
^^^^
applet.vala:190.5-190.39: warning: unhandled error `GLib.Error'
Parser.parse(main_menubar, context);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:260.3-260.40: warning: unhandled error `GLib.Error'
this.add_preferences(GCONF_SCHEMA_DIR);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:308.23-308.54: warning: unhandled error `GLib.Error'
selector.max_size = gconf_get_int("title_max_width");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:309.24-309.50: warning: unhandled error `GLib.Error'
selector.show_icon = gconf_get_bool("show_icon");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:310.25-310.51: warning: unhandled error `GLib.Error'
selector.show_label = gconf_get_bool("show_name");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:311.34-311.70: warning: unhandled error `GLib.Error'
selector.show_window_actions = gconf_get_bool("show_window_actions");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:312.31-312.64: warning: unhandled error `GLib.Error'
selector.show_window_list = gconf_get_bool("show_window_list");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:50.41-50.77: warning: unhandled error `GLib.Error'
weak GLib.SList<GConf.Entry> prefs = _default_client.all_entries(root_key);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:55.41-55.77: warning: unhandled error `GLib.Error'
weak GLib.SList<GConf.Entry> prefs = _default_client.all_entries(root_key);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:112.4-112.53: warning: unhandled error `GLib.Error'
_default_client.set_bool(entry.key, widget.active);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:117.4-117.56: warning: unhandled error `GLib.Error'
_default_client.set_int(entry.key, (int)widget.value);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^
switcher.vala:21.23-21.38: error: The name `replace' does not exist in the context of `string'
Parser.parse(this, TEMPLATE.replace("%s","Global Menu Bar"));
^^^^^^^^^^^^^^^^
switcher.vala:142.6-142.21: error: The name `replace' does not exist in the context of `string'
TEMPLATE.replace("%s", cut_string(_label, _max_size)));
^^^^^^^^^^^^^^^^
switcher.vala:144.24-144.39: error: The name `replace' does not exist in the context of `string'
Parser.parse(this, TEMPLATE.replace("%s", ""));
^^^^^^^^^^^^^^^^
Compilation failed: 3 error(s), 12 warning(s)
make[2]: *** [vala-stamp] Error 1
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/applet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnome-globalmenu-0.7'
make: *** [all] Error 2
I've attempted it with both 0.6 and 0.7 and have gotten the same error. I've also attempted the PPA, but I end up with another error:
E: /var/cache/apt/archives/gnome2-globalmenu_0.6.1678-0ubuntu2_i386.deb: trying to overwrite `/usr/lib/libgnomenu.so.0.0.0', which is also in package gnome2-globalmenu-applet
DJ_Peng
December 23rd, 2008, 08:42 AM
Maybe reading this (http://nancib.wordpress.com/2008/11/26/get-the-globalmenu-without-all-of-the-hassle/) could help.
Thanks, ayoli. I was trying not to pimp my own blog too often. ;)
ayoli
December 23rd, 2008, 01:30 PM
I've been trying to install this a few different ways over the past few days, but none of them seem to work. I've been trying the tutorial over at Ayozone (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/), but when I enter make, I end up with this: root@Morasailles:~/gnome-globalmenu-0.7# make
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr"'; \
echo '#define EXEC_PREFIX "/usr"'; \
echo '#define BINDIR "/usr/bin"'; \
echo '#define SBINDIR "/usr/sbin"'; \
echo '#define LIBEXECDIR "/usr/libexec"'; \
echo '#define DATAROOTDIR "/usr/share"'; \
echo '#define DATADIR "/usr/share"'; \
echo '#define SYSCONFDIR "/usr/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/com"'; \
echo '#define LOCALSTATEDIR "/usr/var"'; \
echo '#define INCLUDEDIR "/usr/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define INFODIR "/usr/share/info"'; \
echo '#define HTMLDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define DVIDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define PDFDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define PSDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define LIBDIR "/usr/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/share/locale"'; \
echo '#define MANDIR "/usr/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/share/gnome-globalmenu"'; \
echo '#define PKGINCLUDEDIR "/usr/include/gnome-globalmenu"'; \
echo '#define PKGLIBDIR "/usr/lib/gnome-globalmenu"'; \
echo '#define PKGLIBEXECDIR ""'; \
echo '#define ABSTOPSRCDIR "/root/gnome-globalmenu-0.7"'; \
} | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
rm -f configmake.vapi
{ \
echo '[CCode (cheader_filename = "configmake.h")]'; \
echo 'namespace Config {'; \
sed -e 's/#define \([A-Z_]*\) .*/[CCode (cname = "\1")]\npublic static const string \1;/' configmake.h ; \
echo '}' ; \
} > configmake.vapi
make all-recursive
make[1]: Entering directory `/root/gnome-globalmenu-0.7'
Making all in tests
make[2]: Entering directory `/root/gnome-globalmenu-0.7/tests'
make all-am
make[3]: Entering directory `/root/gnome-globalmenu-0.7/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/gnome-globalmenu-0.7/tests'
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/tests'
Making all in libgnomenu
make[2]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
make all-recursive
make[3]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in .
make[4]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in tests
make[4]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make all-am
make[5]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -include ../../config.h -g -O2 -MT test-parser.o -MD -MP -MF .deps/test-parser.Tpo -c -o test-parser.o test-parser.c
mv -f .deps/test-parser.Tpo .deps/test-parser.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o test-parser test-parser.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu.la ../../tests/libtestman.la
libtool: link: gcc -g -O2 -o test-parser test-parser.o -Wl,--export-dynamic ../.libs/libgnomenu.a ../../tests/.libs/libtestman.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -include ../../config.h -g -O2 -MT test-leak.o -MD -MP -MF .deps/test-leak.Tpo -c -o test-leak.o test-leak.c
mv -f .deps/test-leak.Tpo .deps/test-leak.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o test-leak test-leak.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu.la ../../tests/libtestman.la
libtool: link: gcc -g -O2 -o test-leak test-leak.o -Wl,--export-dynamic ../.libs/libgnomenu.a ../../tests/.libs/libtestman.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[5]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make[4]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make[3]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in applet
make[2]: Entering directory `/root/gnome-globalmenu-0.7/applet'
/usr/local/bin/valac --vapidir .. --pkg configmake --pkg licenses --pkg config -C --vapidir=. \
--vapidir=../libgnomenu \
--pkg=gtk+-2.0 \
--pkg=libwnck-1.0 \
--pkg=libpanelapplet-2.0 \
--pkg=gnomenu-private \
--pkg=gnome-desktop-2.0 \
--pkg=libgnome-menu \
--pkg=gconf-2.0 \
--pkg=gconfcompat \
--pkg=wnckcompat \
applet.vala main.vala gtkextra-gconfdialog.vala switcher.vala gnomemenuhelper.vala
applet.vala:17.26-17.29: warning: Argument 1: Cannot pass null to non-null parameter type
set_background_widget(null);
^^^^
applet.vala:190.5-190.39: warning: unhandled error `GLib.Error'
Parser.parse(main_menubar, context);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:260.3-260.40: warning: unhandled error `GLib.Error'
this.add_preferences(GCONF_SCHEMA_DIR);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:308.23-308.54: warning: unhandled error `GLib.Error'
selector.max_size = gconf_get_int("title_max_width");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:309.24-309.50: warning: unhandled error `GLib.Error'
selector.show_icon = gconf_get_bool("show_icon");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:310.25-310.51: warning: unhandled error `GLib.Error'
selector.show_label = gconf_get_bool("show_name");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:311.34-311.70: warning: unhandled error `GLib.Error'
selector.show_window_actions = gconf_get_bool("show_window_actions");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:312.31-312.64: warning: unhandled error `GLib.Error'
selector.show_window_list = gconf_get_bool("show_window_list");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:50.41-50.77: warning: unhandled error `GLib.Error'
weak GLib.SList<GConf.Entry> prefs = _default_client.all_entries(root_key);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:55.41-55.77: warning: unhandled error `GLib.Error'
weak GLib.SList<GConf.Entry> prefs = _default_client.all_entries(root_key);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:112.4-112.53: warning: unhandled error `GLib.Error'
_default_client.set_bool(entry.key, widget.active);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:117.4-117.56: warning: unhandled error `GLib.Error'
_default_client.set_int(entry.key, (int)widget.value);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^
switcher.vala:21.23-21.38: error: The name `replace' does not exist in the context of `string'
Parser.parse(this, TEMPLATE.replace("%s","Global Menu Bar"));
^^^^^^^^^^^^^^^^
switcher.vala:142.6-142.21: error: The name `replace' does not exist in the context of `string'
TEMPLATE.replace("%s", cut_string(_label, _max_size)));
^^^^^^^^^^^^^^^^
switcher.vala:144.24-144.39: error: The name `replace' does not exist in the context of `string'
Parser.parse(this, TEMPLATE.replace("%s", ""));
^^^^^^^^^^^^^^^^
Compilation failed: 3 error(s), 12 warning(s)
make[2]: *** [vala-stamp] Error 1
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/applet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnome-globalmenu-0.7'
make: *** [all] Error 2
I've attempted it with both 0.6 and 0.7 and have gotten the same error. I've also attempted the PPA, but I end up with another error:
E: /var/cache/apt/archives/gnome2-globalmenu_0.6.1678-0ubuntu2_i386.deb: trying to overwrite `/usr/lib/libgnomenu.so.0.0.0', which is also in package gnome2-globalmenu-applet
You may want to try to install ppa's package manually with :
sudo dpkg --force-overwrite -i /var/cache/apt/archives/gnome2-globalmenu_0.6.1678-0ubuntu2_i386.deb
FPOD
December 24th, 2008, 01:56 AM
Thanks ayoli! It worked =D
zWhiteTigerz
December 27th, 2008, 09:34 AM
Hello everybody. I have use the 0.4(deb) for a long time. Then, I tried to have 0.6 or 0.7 with my Hardy - yes, still hardy - but I have many dependencies not satisfied libgtk2.0, libwnck ... So I wonder if new version of Globalmenu work with Hardy or not, or can anyone give me some advice ? :)
LavianoTS386
December 28th, 2008, 10:35 PM
Does anyone know what's going on with abiword when used with the globlmenu?
See attachment...
johnny_b_good
December 30th, 2008, 01:41 PM
I've been trying to install this a few different ways over the past few days, but none of them seem to work. I've been trying the tutorial over at Ayozone (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/), but when I enter make, I end up with this: root@Morasailles:~/gnome-globalmenu-0.7# make
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr"'; \
echo '#define EXEC_PREFIX "/usr"'; \
echo '#define BINDIR "/usr/bin"'; \
echo '#define SBINDIR "/usr/sbin"'; \
echo '#define LIBEXECDIR "/usr/libexec"'; \
echo '#define DATAROOTDIR "/usr/share"'; \
echo '#define DATADIR "/usr/share"'; \
echo '#define SYSCONFDIR "/usr/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/com"'; \
echo '#define LOCALSTATEDIR "/usr/var"'; \
echo '#define INCLUDEDIR "/usr/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define INFODIR "/usr/share/info"'; \
echo '#define HTMLDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define DVIDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define PDFDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define PSDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define LIBDIR "/usr/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/share/locale"'; \
echo '#define MANDIR "/usr/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/share/gnome-globalmenu"'; \
echo '#define PKGINCLUDEDIR "/usr/include/gnome-globalmenu"'; \
echo '#define PKGLIBDIR "/usr/lib/gnome-globalmenu"'; \
echo '#define PKGLIBEXECDIR ""'; \
echo '#define ABSTOPSRCDIR "/root/gnome-globalmenu-0.7"'; \
} | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
rm -f configmake.vapi
{ \
echo '[CCode (cheader_filename = "configmake.h")]'; \
echo 'namespace Config {'; \
sed -e 's/#define \([A-Z_]*\) .*/[CCode (cname = "\1")]\npublic static const string \1;/' configmake.h ; \
echo '}' ; \
} > configmake.vapi
make all-recursive
make[1]: Entering directory `/root/gnome-globalmenu-0.7'
Making all in tests
make[2]: Entering directory `/root/gnome-globalmenu-0.7/tests'
make all-am
make[3]: Entering directory `/root/gnome-globalmenu-0.7/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/gnome-globalmenu-0.7/tests'
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/tests'
Making all in libgnomenu
make[2]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
make all-recursive
make[3]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in .
make[4]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in tests
make[4]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make all-am
make[5]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -include ../../config.h -g -O2 -MT test-parser.o -MD -MP -MF .deps/test-parser.Tpo -c -o test-parser.o test-parser.c
mv -f .deps/test-parser.Tpo .deps/test-parser.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o test-parser test-parser.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu.la ../../tests/libtestman.la
libtool: link: gcc -g -O2 -o test-parser test-parser.o -Wl,--export-dynamic ../.libs/libgnomenu.a ../../tests/.libs/libtestman.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -include ../../config.h -g -O2 -MT test-leak.o -MD -MP -MF .deps/test-leak.Tpo -c -o test-leak.o test-leak.c
mv -f .deps/test-leak.Tpo .deps/test-leak.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o test-leak test-leak.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu.la ../../tests/libtestman.la
libtool: link: gcc -g -O2 -o test-leak test-leak.o -Wl,--export-dynamic ../.libs/libgnomenu.a ../../tests/.libs/libtestman.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[5]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make[4]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make[3]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in applet
make[2]: Entering directory `/root/gnome-globalmenu-0.7/applet'
/usr/local/bin/valac --vapidir .. --pkg configmake --pkg licenses --pkg config -C --vapidir=. \
--vapidir=../libgnomenu \
--pkg=gtk+-2.0 \
--pkg=libwnck-1.0 \
--pkg=libpanelapplet-2.0 \
--pkg=gnomenu-private \
--pkg=gnome-desktop-2.0 \
--pkg=libgnome-menu \
--pkg=gconf-2.0 \
--pkg=gconfcompat \
--pkg=wnckcompat \
applet.vala main.vala gtkextra-gconfdialog.vala switcher.vala gnomemenuhelper.vala
applet.vala:17.26-17.29: warning: Argument 1: Cannot pass null to non-null parameter type
set_background_widget(null);
^^^^
applet.vala:190.5-190.39: warning: unhandled error `GLib.Error'
Parser.parse(main_menubar, context);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:260.3-260.40: warning: unhandled error `GLib.Error'
this.add_preferences(GCONF_SCHEMA_DIR);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:308.23-308.54: warning: unhandled error `GLib.Error'
selector.max_size = gconf_get_int("title_max_width");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:309.24-309.50: warning: unhandled error `GLib.Error'
selector.show_icon = gconf_get_bool("show_icon");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:310.25-310.51: warning: unhandled error `GLib.Error'
selector.show_label = gconf_get_bool("show_name");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:311.34-311.70: warning: unhandled error `GLib.Error'
selector.show_window_actions = gconf_get_bool("show_window_actions");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:312.31-312.64: warning: unhandled error `GLib.Error'
selector.show_window_list = gconf_get_bool("show_window_list");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:50.41-50.77: warning: unhandled error `GLib.Error'
weak GLib.SList<GConf.Entry> prefs = _default_client.all_entries(root_key);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:55.41-55.77: warning: unhandled error `GLib.Error'
weak GLib.SList<GConf.Entry> prefs = _default_client.all_entries(root_key);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:112.4-112.53: warning: unhandled error `GLib.Error'
_default_client.set_bool(entry.key, widget.active);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:117.4-117.56: warning: unhandled error `GLib.Error'
_default_client.set_int(entry.key, (int)widget.value);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^
switcher.vala:21.23-21.38: error: The name `replace' does not exist in the context of `string'
Parser.parse(this, TEMPLATE.replace("%s","Global Menu Bar"));
^^^^^^^^^^^^^^^^
switcher.vala:142.6-142.21: error: The name `replace' does not exist in the context of `string'
TEMPLATE.replace("%s", cut_string(_label, _max_size)));
^^^^^^^^^^^^^^^^
switcher.vala:144.24-144.39: error: The name `replace' does not exist in the context of `string'
Parser.parse(this, TEMPLATE.replace("%s", ""));
^^^^^^^^^^^^^^^^
Compilation failed: 3 error(s), 12 warning(s)
make[2]: *** [vala-stamp] Error 1
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/applet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnome-globalmenu-0.7'
make: *** [all] Error 2
I've attempted it with both 0.6 and 0.7 and have gotten the same error.
Hello everybody, i'm trying to compile via svn but i have got the same error. I am on a ubuntu64. You can find the complete error here (http://charliedontsurf.pastebin.com/f9afd296).
I'm interested in the svn version because i have got some problems with the repo's one. As you can see in the image the panel background doesn't match with the wallpaper:
http://img244.imageshack.us/img244/9385/globalmenugc4.th.png (http://img244.imageshack.us/img244/9385/globalmenugc4.png)
unique
December 30th, 2008, 02:05 PM
Does anyone know what's going on with abiword when used with the globlmenu?
See attachment...
I had the same prob.... But The latest Trunk fixes that issue and a few more!
rainwoodman
December 31st, 2008, 01:48 AM
tried to compile v0.7 but got the following errors:
applet.vala:17.26-17.29: warning: Argument 1: Cannot pass null to non-null parameter type
set_background_widget(null);
^^^^
applet.vala:190.5-190.39: warning: unhandled error `GLib.Error'
Parser.parse(main_menubar, context);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:260.3-260.40: warning: unhandled error `GLib.Error'
this.add_preferences(GCONF_SCHEMA_DIR);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:308.23-308.54: warning: unhandled error `GLib.Error'
selector.max_size = gconf_get_int("title_max_width");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:309.24-309.50: warning: unhandled error `GLib.Error'
selector.show_icon = gconf_get_bool("show_icon");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:310.25-310.51: warning: unhandled error `GLib.Error'
selector.show_label = gconf_get_bool("show_name");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:311.34-311.70: warning: unhandled error `GLib.Error'
selector.show_window_actions = gconf_get_bool("show_window_actions");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
it did compile version 0.6 ok, running it now.
anyway, just wanted to tell it, i'm fine with 0.6 for now.
unless there are some big changes :)
Kinap
all I can see here are warnings.:confused:
rainwoodman
December 31st, 2008, 01:51 AM
Thank you rainwoodman!!
It has been a pleasure to work with you at this new release!
And I hope we can continue like that even for future (0.8?).
I'll take care or closing all open stuff on my code and I'll add Italian entries to translation support.
Ciao!
:popcorn:
More issues will open up. I am not yet clear what will be in 0.8.
rainwoodman
December 31st, 2008, 01:53 AM
the trunk is 0.7.
Please use vala 0.5.2/0.5.1 to compile it.
The error seems to be due to a lower version of valac.
I've been trying to install this a few different ways over the past few days, but none of them seem to work. I've been trying the tutorial over at Ayozone (http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/), but when I enter make, I end up with this: root@Morasailles:~/gnome-globalmenu-0.7# make
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr"'; \
echo '#define EXEC_PREFIX "/usr"'; \
echo '#define BINDIR "/usr/bin"'; \
echo '#define SBINDIR "/usr/sbin"'; \
echo '#define LIBEXECDIR "/usr/libexec"'; \
echo '#define DATAROOTDIR "/usr/share"'; \
echo '#define DATADIR "/usr/share"'; \
echo '#define SYSCONFDIR "/usr/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/com"'; \
echo '#define LOCALSTATEDIR "/usr/var"'; \
echo '#define INCLUDEDIR "/usr/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define INFODIR "/usr/share/info"'; \
echo '#define HTMLDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define DVIDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define PDFDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define PSDIR "/usr/share/doc/gnome-globalmenu"'; \
echo '#define LIBDIR "/usr/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/share/locale"'; \
echo '#define MANDIR "/usr/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/share/gnome-globalmenu"'; \
echo '#define PKGINCLUDEDIR "/usr/include/gnome-globalmenu"'; \
echo '#define PKGLIBDIR "/usr/lib/gnome-globalmenu"'; \
echo '#define PKGLIBEXECDIR ""'; \
echo '#define ABSTOPSRCDIR "/root/gnome-globalmenu-0.7"'; \
} | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
rm -f configmake.vapi
{ \
echo '[CCode (cheader_filename = "configmake.h")]'; \
echo 'namespace Config {'; \
sed -e 's/#define \([A-Z_]*\) .*/[CCode (cname = "\1")]\npublic static const string \1;/' configmake.h ; \
echo '}' ; \
} > configmake.vapi
make all-recursive
make[1]: Entering directory `/root/gnome-globalmenu-0.7'
Making all in tests
make[2]: Entering directory `/root/gnome-globalmenu-0.7/tests'
make all-am
make[3]: Entering directory `/root/gnome-globalmenu-0.7/tests'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/gnome-globalmenu-0.7/tests'
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/tests'
Making all in libgnomenu
make[2]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
make all-recursive
make[3]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in .
make[4]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in tests
make[4]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make all-am
make[5]: Entering directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -include ../../config.h -g -O2 -MT test-parser.o -MD -MP -MF .deps/test-parser.Tpo -c -o test-parser.o test-parser.c
mv -f .deps/test-parser.Tpo .deps/test-parser.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o test-parser test-parser.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu.la ../../tests/libtestman.la
libtool: link: gcc -g -O2 -o test-parser test-parser.o -Wl,--export-dynamic ../.libs/libgnomenu.a ../../tests/.libs/libtestman.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -include ../../config.h -g -O2 -MT test-leak.o -MD -MP -MF .deps/test-leak.Tpo -c -o test-leak.o test-leak.c
mv -f .deps/test-leak.Tpo .deps/test-leak.Po
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -o test-leak test-leak.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--export-dynamic -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ../libgnomenu.la ../../tests/libtestman.la
libtool: link: gcc -g -O2 -o test-leak test-leak.o -Wl,--export-dynamic ../.libs/libgnomenu.a ../../tests/.libs/libtestman.a /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libcairo.so -lpixman-1 -lpng12 -lxcb-render-util -lxcb-render -lxcb -lXrender -lX11 -lm /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[5]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make[4]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu/tests'
make[3]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/libgnomenu'
Making all in applet
make[2]: Entering directory `/root/gnome-globalmenu-0.7/applet'
/usr/local/bin/valac --vapidir .. --pkg configmake --pkg licenses --pkg config -C --vapidir=. \
--vapidir=../libgnomenu \
--pkg=gtk+-2.0 \
--pkg=libwnck-1.0 \
--pkg=libpanelapplet-2.0 \
--pkg=gnomenu-private \
--pkg=gnome-desktop-2.0 \
--pkg=libgnome-menu \
--pkg=gconf-2.0 \
--pkg=gconfcompat \
--pkg=wnckcompat \
applet.vala main.vala gtkextra-gconfdialog.vala switcher.vala gnomemenuhelper.vala
applet.vala:17.26-17.29: warning: Argument 1: Cannot pass null to non-null parameter type
set_background_widget(null);
^^^^
applet.vala:190.5-190.39: warning: unhandled error `GLib.Error'
Parser.parse(main_menubar, context);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:260.3-260.40: warning: unhandled error `GLib.Error'
this.add_preferences(GCONF_SCHEMA_DIR);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:308.23-308.54: warning: unhandled error `GLib.Error'
selector.max_size = gconf_get_int("title_max_width");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:309.24-309.50: warning: unhandled error `GLib.Error'
selector.show_icon = gconf_get_bool("show_icon");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:310.25-310.51: warning: unhandled error `GLib.Error'
selector.show_label = gconf_get_bool("show_name");
^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:311.34-311.70: warning: unhandled error `GLib.Error'
selector.show_window_actions = gconf_get_bool("show_window_actions");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:312.31-312.64: warning: unhandled error `GLib.Error'
selector.show_window_list = gconf_get_bool("show_window_list");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:50.41-50.77: warning: unhandled error `GLib.Error'
weak GLib.SList<GConf.Entry> prefs = _default_client.all_entries(root_key);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:55.41-55.77: warning: unhandled error `GLib.Error'
weak GLib.SList<GConf.Entry> prefs = _default_client.all_entries(root_key);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:112.4-112.53: warning: unhandled error `GLib.Error'
_default_client.set_bool(entry.key, widget.active);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gtkextra-gconfdialog.vala:117.4-117.56: warning: unhandled error `GLib.Error'
_default_client.set_int(entry.key, (int)widget.value);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^
switcher.vala:21.23-21.38: error: The name `replace' does not exist in the context of `string'
Parser.parse(this, TEMPLATE.replace("%s","Global Menu Bar"));
^^^^^^^^^^^^^^^^
switcher.vala:142.6-142.21: error: The name `replace' does not exist in the context of `string'
TEMPLATE.replace("%s", cut_string(_label, _max_size)));
^^^^^^^^^^^^^^^^
switcher.vala:144.24-144.39: error: The name `replace' does not exist in the context of `string'
Parser.parse(this, TEMPLATE.replace("%s", ""));
^^^^^^^^^^^^^^^^
Compilation failed: 3 error(s), 12 warning(s)
make[2]: *** [vala-stamp] Error 1
make[2]: Leaving directory `/root/gnome-globalmenu-0.7/applet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnome-globalmenu-0.7'
make: *** [all] Error 2
I've attempted it with both 0.6 and 0.7 and have gotten the same error. I've also attempted the PPA, but I end up with another error:
E: /var/cache/apt/archives/gnome2-globalmenu_0.6.1678-0ubuntu2_i386.deb: trying to overwrite `/usr/lib/libgnomenu.so.0.0.0', which is also in package gnome2-globalmenu-applet
rainwoodman
December 31st, 2008, 01:54 AM
Hello everybody. I have use the 0.4(deb) for a long time. Then, I tried to have 0.6 or 0.7 with my Hardy - yes, still hardy - but I have many dependencies not satisfied libgtk2.0, libwnck ... So I wonder if new version of Globalmenu work with Hardy or not, or can anyone give me some advice ? :)
If you grab the source code and play some magic with configure.ac, I think it will work with older GNOMEs.
rainwoodman
December 31st, 2008, 01:56 AM
Hello everybody, i'm trying to compile via svn but i have got the same error. I am on a ubuntu64. You can find the complete error here (http://charliedontsurf.pastebin.com/f9afd296).
I'm interested in the svn version because i have got some problems with the repo's one. As you can see in the image the panel background doesn't match with the wallpaper:
http://img244.imageshack.us/img244/9385/globalmenugc4.th.png (http://img244.imageshack.us/img244/9385/globalmenugc4.png)
Make sure you have vala 0.5.2 to compile the trunk.
kinap
December 31st, 2008, 03:11 AM
Make sure you have vala 0.5.2 to compile the trunk.
that did the trick, i had vala 0.5.1.
kinda wierd as the ./configure says, warning needing vala 5.1 (or something like that)
Thanks
DJ_Peng
December 31st, 2008, 11:42 AM
Version 0.7 rocks! They've fixed the over long menu bug and Nautilus no longer crashes on bookmarks that contain spaces. I had to build it since the PPA doesn't have it yet, and I somehow I ended up removing Vala so I had to reinstall it, but I'm loving the upgrade.
Now if it could only work with OpenOffice.org. The lack of Firefox support doesn't bother me since I switched to Epiphany for my default web browsing but I'm going to miss having the menus where they now belong in OOo.
DJ_Peng
January 1st, 2009, 10:39 AM
I have one question about the 0.7 preferences dialog. I see there's a checkbox for enabling the GM itself. If I clear that do I need to relog in order to access the normal app menus? I need to redo some keyboard shortcuts that got reset for some reason and I can't change them within the GM.
rainwoodman
January 1st, 2009, 04:27 PM
that did the trick, i had vala 0.5.1.
kinda wierd as the ./configure says, warning needing vala 5.1 (or something like that)
Thanks
0.5.1 and 0.5.2 are both fine(I am working on a 0.5.2)
0.5.3 is not tested.
rainwoodman
January 1st, 2009, 04:37 PM
I have one question about the 0.7 preferences dialog. I see there's a checkbox for enabling the GM itself. If I clear that do I need to relog in order to access the normal app menus? I need to redo some keyboard shortcuts that got reset for some reason and I can't change them within the GM.
You need to remove the GTK_MODULES line from your .gnomerc to use that checkbox.
All you need then is to check that box to steal the menubars.
uncheck that box will return the menubars to the application windows. A re-login is recommended.
There might be random crashes if you rapidly do the switching for multiple times. The cause of the crashes is not yet clear, some should be related to gnome-settings-daemon, some should be related to global menu.
Global Menu doesn't really do the editable keyboard shortcuts. The shortcut key in global menu is merely a label. Neither does it reflect changes of the shortcut keys.
Globally grabbing keyboard shortcuts might be implemented in 0.8; but even if it is implemented, there is no easy way to edit the shortcuts since there is no easy way to tell the applications about the new shortcut.
DJ_Peng
January 1st, 2009, 05:37 PM
Thanks, rain! I've got to log out soon so I'll check it out tomorrow. The good news is that I should be able to use the std shortcuts for writing blog posts on WP.com with GM, but I'll have to check it the next time I write a post.
shavedmonkey
January 1st, 2009, 06:06 PM
0.5.1 and 0.5.2 are both fine(I am working on a 0.5.2)
0.5.3 is not tested.
Vala 0.5.3 worked for me on Intrepid. No problems with 0.7 so far.
LavianoTS386
January 2nd, 2009, 09:01 AM
Is there any solution for menus not being grabbed from programs with root privileges?
DJ_Peng
January 2nd, 2009, 09:26 AM
You need to remove the GTK_MODULES line from your .gnomerc to use that checkbox.
All you need then is to check that box to steal the menubars.
uncheck that box will return the menubars to the application windows. A re-login is recommended.
There might be random crashes if you rapidly do the switching for multiple times. The cause of the crashes is not yet clear, some should be related to gnome-settings-daemon, some should be related to global menu.
Global Menu doesn't really do the editable keyboard shortcuts. The shortcut key in global menu is merely a label. Neither does it reflect changes of the shortcut keys.
Globally grabbing keyboard shortcuts might be implemented in 0.8; but even if it is implemented, there is no easy way to edit the shortcuts since there is no easy way to tell the applications about the new shortcut.
I edited my .gnomerc and restarted and it's working wonderfully. Of course Epiphany doesn't remember my manually changed shortcuts from one browser session to the next so just using GM could go a great way to fixing the WP.com annoyance, although Evo's shortcuts could still drive me battier than I already am. Whodathunk Firefox used some weird, unstandardized shortcut keys for little things like showing/hiding the preview window and marking email read.
Is there any solution for menus not being grabbed from programs with root privileges?
kvanderslice
January 2nd, 2009, 05:58 PM
Just wanted to thank all the hard work the authors of this app have put into it. Just got it working today on Intrepid, one of the features I missed most from my hardy install. Looking forward to seeing the new version up on the PPA.
Cheers!
Edit: Can anyone help me out in disabling the applet for certain applications other than just the fast user switcher? I use the Guake dropdown terminal and would prefer it not be recognized by the global menu.
rainwoodman
January 3rd, 2009, 12:41 AM
Is there any solution for menus not being grabbed from programs with root privileges?
Don't use .gnomenurc to load the global menu plugin module. Use the preference entry in the applet preference dialog.
rainwoodman
January 3rd, 2009, 12:43 AM
Just wanted to thank all the hard work the authors of this app have put into it. Just got it working today on Intrepid, one of the features I missed most from my hardy install. Looking forward to seeing the new version up on the PPA.
Cheers!
Edit: Can anyone help me out in disabling the applet for certain applications other than just the fast user switcher? I use the Guake dropdown terminal and would prefer it not be recognized by the global menu.
method 1:
alias guake="env GLOBALMENU_GNOME_ARGS=--disable guake"
method 2:
export GTK_MENUBAR_NO_MAC=guake
LavianoTS386
January 3rd, 2009, 09:12 AM
Don't use .gnomenurc to load the global menu plugin module. Use the preference entry in the applet preference dialog.
I'm still using the version in the PPA. I think there wasn't one for .6 right?
johnny_b_good
January 3rd, 2009, 11:45 AM
Make sure you have vala 0.5.2 to compile the trunk.
thanx man, that worked!!
EDIT: there is just a little problem, if i select the ICON option i get this result:
http://img134.imageshack.us/img134/4339/globalmenuiconsfocatooj3.th.png (http://img134.imageshack.us/img134/4339/globalmenuiconsfocatooj3.png)
as you can see the icon covers a bit the window title...thank you a lot
rainwoodman
January 3rd, 2009, 10:06 PM
gnome-globalmenu 0.7.1
svn checkout http://gnome2-globalmenu.googlecode.com/svn/tags/v0.7.1 Downloads:
http://code.google.com/p/gnome2-globalmenu/downloads/list?can=2&q=0.7.1
* Bug fixes
* Enable/Disable Global Menu via GtkSettings? and the applet.
o loading globalmenu-gnome via GTK_MODULES is no longer supported.
o suid applications now also respect global menu. (security!)
* Disable RGBA by default due to stability issues.
* it_IT, fr_FR, zh_CN Translations
rainwoodman
January 3rd, 2009, 10:07 PM
We gonna fix this in 0.7.2.
Could you file an issue on this at googlecode?
thanx man, that worked!!
EDIT: there is just a little problem, if i select the ICON option i get this result:
http://img134.imageshack.us/img134/4339/globalmenuiconsfocatooj3.th.png (http://img134.imageshack.us/img134/4339/globalmenuiconsfocatooj3.png)
as you can see the icon covers a bit the window title...thank you a lot
rainwoodman
January 3rd, 2009, 10:08 PM
I'm still using the version in the PPA. I think there wasn't one for .6 right?
Perhaps. drwatson might be sort of busy these days so I'll try to figure it out.
EDIT: I took a look and got lost. launchpad is so convoluted to me.
rainwoodman
January 3rd, 2009, 10:40 PM
We gonna fix this in 0.7.2.
Could you file an issue on this at googlecode?
Fixed in trunk as Issue 235.
ayoli
January 4th, 2009, 02:24 AM
omg ! already 0.7.2 :) I have to find a moment to try it !
thanks again for all your good work rainwoodman (and to ppl who help) and Happy New Year ! :D
johnny_b_good
January 4th, 2009, 07:32 AM
wow...i don't know what to say...really. thank you very much rain...
Andreas1
January 4th, 2009, 09:02 AM
hi,
i followed this (http://code.google.com/p/gnome2-globalmenu/wiki/Installation) guide, now the applet is in the panel, but it only shows the application title and no menu, and all the menus are where they were before.
there is no "enable" option when i right-click on the applet, only "preferences", "help" and "about".
using intrepid, almost forgot to say.
johnny_b_good
January 4th, 2009, 09:19 AM
hi,
i followed this (http://code.google.com/p/gnome2-globalmenu/wiki/Installation) guide, now the applet is in the panel, but it only shows the application title and no menu, and all the menus are where they were before.
there is no "enable" option when i right-click on the applet, only "preferences", "help" and "about".
using intrepid, almost forgot to say.
try doing this:
gedit ~/.profile
and add
export GTK_MODULES=globalmenu-gnome
then restart the Xserver
Andreas1
January 4th, 2009, 01:45 PM
yes that worked. now it crashes the userswitch applet but i think that is a known and reported bug. thanks you
ayoli
January 4th, 2009, 02:02 PM
yes that worked. now it crashes the userswitch applet but i think that is a known and reported bug. thanks you
To disable globalmenu for userswitch applet and, avoid crashes, put this after the line that loads globalmenu in ~/.profile or ~/.gnomerc:
export GTK_MENUBAR_NO_MAC="fast-user-switch-applet"
Freddy
January 4th, 2009, 02:56 PM
I just installed 'Global Menu'and set it up with the 'Glow'theme. I have a couple of problems though.
1) When using 'Global Menu' I get a separator line between the windecoration and the toolbar, is their a way to remove this? I have looked around inside the gtkrc for the theme but haven't found anything.
2) A icon for the focused program appear before the name and menu, can I remove this icon?
Thanks.
Andreas1
January 5th, 2009, 03:31 AM
1) When using 'Global Menu' I get a separator line between the windecoration and the toolbar, is their a way to remove this? I have looked around inside the gtkrc for the theme but haven't found anything.
i just had a look at the glow theme, its toolbar seems to have a light upper border, can you give me a screenshot?
lviggiani
January 5th, 2009, 01:36 PM
Hi guys,
as shown by the attached video, I added two new features in trunk:
1) Minimized windows are shown in italic
2) When user iconifies / de-iconifies a window will "go to" / "pop up from" the applet position
A brand new menu layout for the application menu is being implemented and will be available with version 0.7.2
Enjoy!
Psyphre
January 5th, 2009, 06:49 PM
Hey, I would like to say thank you very much to all those that have worked hard on this fantastic applet.
Unfortunately I am having trouble (not with installing or using it) but with trying to install other programs. More specifically I am trying to install the aurora and murrine (svn) engines but they are failing to compile.
The reason for this is that it cant detect gtk2.0, so I tried to install libgtk2.0-dev but I am met with this:
'The following packages have unmet dependencies.
libgtk2.0-dev: Depends: libgtk2.0-0 (= 2.12.9-3ubuntu5) but 2.12.9-4ubuntu3 is to be installed'
I made a thread about this but was told '2.12.9-4ubuntu3' wasnt an official ubuntu package. That is why I am posting here, because I believe it may be related to the global menu applet.
I was hoping someone knows how to tackle this issue as it is preventing me from compiling theme engines.
PS: I believe my mac menu is an older version which is about 1/2 year old (if that has any relevance).
Thank you again.
Psyphre.
rausuar
January 6th, 2009, 04:11 PM
Hi all,
I am having problems to use the GlobalMenu. I use Ubuntu Intrepid with the latest Mac4lin (gtk for globalmenu). I have added and installed the global menu from the PPA the developers mention in the pages, and i do get the globalmenu option in the add applets to the panel. However, once i enable the globalmenu applet, I only see the name of the application in use with a drop down list of options like the ones when you click in the upper left side of any window (close, maximize, minimize, change to other desktop, etc).
Can anyone tell me or help me, what is missing or what am i doing wrong to get those results?
thanks!!!
ayoli
January 6th, 2009, 04:46 PM
Hi all,
I am having problems to use the GlobalMenu. I use Ubuntu Intrepid with the latest Mac4lin (gtk for globalmenu). I have added and installed the global menu from the PPA the developers mention in the pages, and i do get the globalmenu option in the add applets to the panel. However, once i enable the globalmenu applet, I only see the name of the application in use with a drop down list of options like the ones when you click in the upper left side of any window (close, maximize, minimize, change to other desktop, etc).
Can anyone tell me or help me, what is missing or what am i doing wrong to get those results?
thanks!!!
do this :
gedit ~/.gnomerc
paste this in :
export GTK_MODULES=globalmenu-gnome
export GTK_MENUBAR_NO_MAC="fast-user-switch-applet"
save, exit, exit gnome and log in again.
rausuar
January 6th, 2009, 05:40 PM
do this :
gedit ~/.gnomerc
paste this in :
export GTK_MODULES=globalmenu-gnome
export GTK_MENUBAR_NO_MAC="fast-user-switch-applet"
save, exit, exit gnome and log in again.
Thanks for the tip, it actually worked, firefox doesnt but i dont know if its incompatible or what...
Very good complement for Ubuntu... :-)
ayoli
January 6th, 2009, 07:58 PM
Thanks for the tip, it actually worked, firefox doesnt but i dont know if its incompatible or what...
Very good complement for Ubuntu... :-)
Unfortunately, firefox is not a real gtk aapliccation (as openoffice in a different way)
So it won't work with the globalmenu.
You can use firefox extensions such as hidemenu (https://addons.mozilla.org/en-US/firefox/addon/4762) or compact menu (https://addons.mozilla.org/en-US/firefox/addon/4550)
ayoli
January 6th, 2009, 08:01 PM
Hey, I would like to say thank you very much to all those that have worked hard on this fantastic applet.
Unfortunately I am having trouble (not with installing or using it) but with trying to install other programs. More specifically I am trying to install the aurora and murrine (svn) engines but they are failing to compile.
The reason for this is that it cant detect gtk2.0, so I tried to install libgtk2.0-dev but I am met with this:
'The following packages have unmet dependencies.
libgtk2.0-dev: Depends: libgtk2.0-0 (= 2.12.9-3ubuntu5) but 2.12.9-4ubuntu3 is to be installed'
I made a thread about this but was told '2.12.9-4ubuntu3' wasnt an official ubuntu package. That is why I am posting here, because I believe it may be related to the global menu applet.
I was hoping someone knows how to tackle this issue as it is preventing me from compiling theme engines.
PS: I believe my mac menu is an older version which is about 1/2 year old (if that has any relevance).
Thank you again.
Psyphre.
You need a more recent vesion of globaalmenu and _need_ to sync you libgtk* debs with your ubuntu version (this is a bit tricky and need more explainations taht I'll try to provide to you tommorrow).
Psyphre
January 6th, 2009, 09:48 PM
Ayoli:
Thank you so much for you reply. Since my post I decided to just upgrade to Intrepid (having the mac menu was the only thing holding me back, i didnt want to go through installing it again). So now I no longer have that problem, however now I cant install the mac menu because the installation instructions I used to follow are gone (the wiki page no longers hold them). Could you kindly link me to a webpage which tells me how to install the latest Global Menu for intrepid?
Thanks once again.
Psyphre.
Leno.
January 6th, 2009, 10:02 PM
I recently updated to the 0.7.1 of the gnome2-globalmenu and tried out the setting that shows an icon next ot the menu.
The problem is however, that this icon is too big. I want it to be 16x16, but it is at least 24x24. Any possibilities to change this with i.e. gtkrc or source code changes?
EDIT: I managed to shrink the icon, but it still doesn't load the 16x16 icon, which would look a lot nicer and sharper than a shrinked 24x24
rainwoodman
January 7th, 2009, 01:25 AM
I recently updated to the 0.7.1 of the gnome2-globalmenu and tried out the setting that shows an icon next ot the menu.
The problem is however, that this icon is too big. I want it to be 16x16, but it is at least 24x24. Any possibilities to change this with i.e. gtkrc or source code changes?
EDIT: I managed to shrink the icon, but it still doesn't load the 16x16 icon, which would look a lot nicer and sharper than a shrinked 24x24
How did you shrink the icon?
Would you file an issue at the project site?
Perhaps the applet should be wise enough to pick up the 'mini-icon' of an window if the geomety is small.
rainwoodman
January 7th, 2009, 01:29 AM
Today, the subversion revision reached a historical number: 1984.
:popcorn:
ayoli
January 7th, 2009, 05:53 AM
Ayoli:
Thank you so much for you reply. Since my post I decided to just upgrade to Intrepid (having the mac menu was the only thing holding me back, i didnt want to go through installing it again). So now I no longer have that problem, however now I cant install the mac menu because the installation instructions I used to follow are gone (the wiki page no longers hold them). Could you kindly link me to a webpage which tells me how to install the latest Global Menu for intrepid?
Thanks once again.
Psyphre.
here :
http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
New globalmenu doesn't require anymore to patch gtk, install is easier now.
ayoli
January 7th, 2009, 05:54 AM
today, the subversion revision reached a historical number: 1984.
:popcorn:
:d
Leno.
January 7th, 2009, 12:03 PM
How did you shrink the icon?
Would you file an issue at the project site?
Perhaps the applet should be wise enough to pick up the 'mini-icon' of an window if the geomety is small.Hehe, I just shrinked the panel. I expected the applet to choose the smaller icon, but instead it just shrinked the one it had. High resolution icons shrinked down to 16x16 doesn't look that nice.
This is really not just a globalmenu problem. I had to mod my other panel icons on a per icon basis, but I can't do this with globalmenu since it uses all apps-icons, not just a small collection of icons.
Psyphre
January 7th, 2009, 12:12 PM
here :
http://ayozone.org/2008/11/10/how-to-install-globalmenu-06-on-ubuntu-intrepid/
New globalmenu doesn't require anymore to patch gtk, install is easier now.
Thank you very much Ayoli.
Ive rarely had a problem installing global menu, however for some reason I cant compile it. Ive installed it on my laptop and it works, but I get an error on my desktop. Both use intrepid.
Vala installs fine, and with the global menu I have done:
.autogen.sh
./configure --prefix=/usr
its when i do make that i get a compile error at the end:
Compilation failed: 2 error(s), 7 warning(s)
make[4]: *** [test-parser.c] Error 1
make[4]: Leaving directory `/home/ed/gnome-globalmenu-0.6/libgnomenu/tests'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ed/gnome-globalmenu-0.6/libgnomenu'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ed/gnome-globalmenu-0.6/libgnomenu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ed/gnome-globalmenu-0.6'
make: *** [all] Error 2
and above that it mentions several 'GLib.Errors'
So sorry to keep bothering you.
Psyphre
January 7th, 2009, 12:18 PM
Hehe, I just shrinked the panel. I expected the applet to choose the smaller icon, but instead it just shrinked the one it had. High resolution icons shrinked down to 16x16 doesn't look that nice.
This is really not just a globalmenu problem. I had to mod my other panel icons on a per icon basis, but I can't do this with globalmenu since it uses all apps-icons, not just a small collection of icons.
I think I may know a solution to your problem (possibly). I havent done it myself becauase I dont actually know the command to do it but it shouldnt be too difficult to ask someone on this forum for it.
Basically when I was customizing my ubuntu i really didnt like the big icons in the toolbars so I looked around my gtkrc and found this line:
gtk-icon-sizes = "panel-menu=16,16:panel=8,8:gtk-button=16,16:gtk-large-toolbar=24,24"
so i altered gtk-large-toolbar=24,24 to gtk-large-toolbar=16,16 and now my toolbar uses small 16x16 pixel icons (not resized, but the actual 16x16 icons in your icon set).
Im sure you just need to find out what the name for the top panel is (it cant be panel, because there already is a 'panel' which is set to 8x8)
I dont know if that helps. Let me know either way.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.