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
Puxbunny
March 15th, 2008, 10:14 AM
I managed to compile it under hardy but no way.
Is the patch compatible with hardy version of GTK or is there a trick to do the patch by end ?
Btw at this time I'm using old packages from dd, and it works.
But I would prefer to compile it on my own.
studo77
March 15th, 2008, 06:08 PM
I managed to compile it under hardy but no way.
Is the patch compatible with hardy version of GTK or is there a trick to do the patch by end ?
Btw at this time I'm using old packages from dd, and it works.
But I would prefer to compile it on my own.
This looks like what i want. Can you give i quick and dirty how-to for Hardy, I am on Harddy 64bit.
When it gets to his sort of installation i am definately newbie.
Is this it?
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
And what abot GTK versions?
ayoli
March 15th, 2008, 06:18 PM
This looks like what i want. Can you give i quick and dirty how-to for Hardy, I am on Harddy 64bit.
When it gets to his sort of installation i am definately newbie.
Is this it?
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
And what abot GTK versions?
the patch works on hardy gtk afaik, but there are compilation issues with global menu on 64 bits
chips24
March 16th, 2008, 12:38 AM
Thanks, it's the first method that works on my comp ! :)
But in Firefox, I only see "Firefox" in the applet et the menu is still attached in Firefox...
Another thing : how can I get tranparence in the applet ? With Human it's ugly... I tried to modify the file like you did, but I didn't managed it, apparently... Any idea ?
Otherwise, Great job! :)
what does this do? i waited 40 minutes and nothing happened when i restarted the gnome panel. there was no new applet in the "add to panel" what was this for?
studo77
March 16th, 2008, 03:36 AM
the patch works on hardy gtk afaik, but there are compilation issues with global menu on 64 bits
Will wait for further development then.It will probably replace my AWN.
ayoli
March 16th, 2008, 01:26 PM
@rainwoodman:
Before going in tracing/debugging actions you asked for, I tried to compile the last svn of today rev 801.
and .... no OAFIID:GNOME_GlobalMenuApplet error ! :D
The only weird behavior was that the aautogen script skipped the configure, I had to manually launch it though ereything else went fine :)
rainwoodman
March 16th, 2008, 02:22 PM
@rainwoodman:
Before going in tracing/debugging actions you asked for, I tried to compile the last svn of today rev 801.
and .... no OAFIID:GNOME_GlobalMenuApplet error ! :D
The only weird behavior was that the aautogen script skipped the configure, I had to manually launch it though ereything else went fine :)
That weird behavior is purposely. Because if autogen invoke configure it will append --enalbe-mainterner-mode and then if you install the package, it can't find some files and OAFIDD error will occur.
However if you invoke configure, you don't type that long string and the package will try to locate the files in correct position and no error will occur.
ayoli
March 16th, 2008, 03:56 PM
That weird behavior is purposely. Because if autogen invoke configure it will append --enalbe-mainterner-mode and then if you install the package, it can't find some files and OAFIDD error will occur.
However if you invoke configure, you don't type that long string and the package will try to locate the files in correct position and no error will occur.
I'm not sure to understand well.
Did this mean that the how to should explode this line :
./autogen.sh --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
in two :
./autogen.sh
./configure --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
or is the configure script already here and so we don't need to run autogen.sh ?
rainwoodman
March 16th, 2008, 10:28 PM
I'm not sure to understand well.
Did this mean that the how to should explode this line :
sorry for my language skill. If I don't go over my post again usually it becomes un-understandable.
./autogen.sh --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
in two :
[quote]
./autogen.sh
./configure --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
This is the proper way to make install.
or is the configure script already here and so we don't need to run autogen.sh ?
I am also thinking about this. How do you think about it? Will it be more convenint?
ububug
March 17th, 2008, 12:43 AM
Still getting the OAFIID:GNOME_GlobalMenuApplet error in Hardy 64bits... =(
rainwoodman
March 17th, 2008, 01:08 AM
Still getting the OAFIID:GNOME_GlobalMenuApplet error in Hardy 64bits... =(
Would you try to give me more information? The only way I can make it work on 64bit platform is via the tracing log of the applet and libgnomenu from you (and others who have a fancy 64bit box).
I really want to handle the 64bit issue before I move on to a Carbon-like(OSX like) solution for the 0.5 version; since I want 0.5 to work for 32bit and 64bit and any other even platform that runs X.
ayoli
March 17th, 2008, 04:31 AM
sorry for my language skill. If I don't go over my post again usually it becomes un-understandable.
./autogen.sh --prefix=/usr/local --enable-tracing=no --enable-xfce-plugin=no
in two :
This is the proper way to make install.
I am also thinking about this. How do you think about it? Will it be more convenint?
I think it is better to have the configure script ready to go without autogen.sh. This requires less tools.
Maybe --enable-tracing=no could also be a default option so we don't have to give it to the configure script.
And your langiuage skills are not bad :) mine aren't perfect either :)
The essential is that we manage to communicate.
Oleg_G
March 17th, 2008, 06:10 AM
when I try to compile apple I get this error
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.9...
Running autoconf...
Running autoheader...
Running automake-1.9...
Skipping configure process.
ayoli
March 17th, 2008, 06:21 AM
when I try to compile apple I get this error
this isn't an error, you know have to run manually the configure script after autogen like this :
./configure --prefix=/usr --enable-tracing=no --enable-xfce-plugin=no
ububug
March 17th, 2008, 10:40 AM
Would you try to give me more information? The only way I can make it work on 64bit platform is via the tracing log of the applet and libgnomenu from you (and others who have a fancy 64bit box).
I really want to handle the 64bit issue before I move on to a Carbon-like(OSX like) solution for the 0.5 version; since I want 0.5 to work for 32bit and 64bit and any other even platform that runs X.
Could you be more specific? :)
Where can i find this logs? Should I compile the applet with any special parameter?
ayoli
March 17th, 2008, 10:46 AM
Could you be more specific? :)
Where can i find this logs? Should I compile the applet with any special parameter?
yes --enable-tracing=3
edit look at this (http://ubuntuforums.org/showthread.php?t=241868&page=175#1748) post for more info about how to trace errors
lkv1
March 17th, 2008, 04:05 PM
Hi guys,
I followed this guide on installing globalmenu:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
Everything went smoothly without problems. Though one noticeable thing
is that the menu does not appear on the applet, only icon and name (e.g. for gedit's icon and g-edit label).
It seems like I've done something wrong?
TIA for any comments.
rainwoodman
March 18th, 2008, 09:03 PM
Could you be more specific? :)
Where can i find this logs? Should I compile the applet with any special parameter?
Yes. they shall be in ~/.xsession-errors.
YOu compile and install the code with --enable-tracing=3
LavianoTS386
March 19th, 2008, 01:32 AM
Hi guys,
I followed this guide on installing globalmenu:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
Everything went smoothly without problems. Though one noticeable thing
is that the menu does not appear on the applet, only icon and name (e.g. for gedit's icon and g-edit label).
It seems like I've done something wrong?
TIA for any comments.
I'm having the same problem. I am assuming it's because I couldn't get rid of the old macmenu gtk hack.z
Did you have the gtk hack prior to trying the new global-menu, too?
lkv1
March 19th, 2008, 01:40 AM
Hi,
No not really, its a fresh Gutsy install (including the updates).
I used r802 to compile libgnomenu and the output I get when I start
e.g. gedit is this:
$ gedit
** Message: <GnomenuQuirk>::file opened
** Message: <GnomenuQuirk>::found quirk for gnome-panel: ignore=1
** Message: <GnomenuQuirk>::new quirk gnome-panel/(null) = 1
** Message: <GnomenuQuirk>::found quirk for *applet*: ignore=1
** Message: <GnomenuQuirk>::new quirk *applet*/(null) = 1
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Desktop = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Работен* = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/桌面 = 6
** Message: <GnomenuQuirk>::found quirk for wx*: roaming=8
** Message: <GnomenuQuirk>::new quirk wx*/(null) = 8
** Message: <GnomenuQuirk>::Failed to open file '/home/lkv/.libgnomenu.conf': No such file or directory
** Message: <GnomenuQuirk>::match gedit/(null) against gnome-panel/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against *applet*/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Desktop
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Работен*
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/桌面
** Message: <GnomenuQuirk>::match gedit/(null) against wx*/(null)
** Message: <GnomenuQuirk>::default_quirk = 0
** Message: <GnomenuMain>::work as a gtk_module
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: _global_menu_find_windows
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: gtk_menu_bar_realize invoked
Gtk-Message: gtk_menu_bar_map invoked
Gtk-Message: gtk_menu_bar_size_allocate invoked
My $HOME/.gnomerc contains this
$ cat $HOME/.gnomerc
export GTK_MODULES=libgnomenu
Btw, does anyone know what is the highest trace level that can be specified?
Compiling libgnomenu with trace=5 crashes GTK for some reason.
Thanks
rainwoodman
March 19th, 2008, 02:35 AM
Hi,
No not really, its a fresh Gutsy install (including the updates).
I used r802 to compile libgnomenu and the output I get when I start
e.g. gedit is this:
$ gedit
** Message: <GnomenuQuirk>::file opened
** Message: <GnomenuQuirk>::found quirk for gnome-panel: ignore=1
** Message: <GnomenuQuirk>::new quirk gnome-panel/(null) = 1
** Message: <GnomenuQuirk>::found quirk for *applet*: ignore=1
** Message: <GnomenuQuirk>::new quirk *applet*/(null) = 1
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Desktop = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Работен* = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/桌面 = 6
** Message: <GnomenuQuirk>::found quirk for wx*: roaming=8
** Message: <GnomenuQuirk>::new quirk wx*/(null) = 8
** Message: <GnomenuQuirk>::Failed to open file '/home/lkv/.libgnomenu.conf': No such file or directory
** Message: <GnomenuQuirk>::match gedit/(null) against gnome-panel/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against *applet*/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Desktop
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Работен*
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/桌面
** Message: <GnomenuQuirk>::match gedit/(null) against wx*/(null)
** Message: <GnomenuQuirk>::default_quirk = 0
** Message: <GnomenuMain>::work as a gtk_module
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: gtk_menu_bar_real_insert invoked
Gtk-Message: _global_menu_find_windows
Gtk-Message: gtk_menu_bar_size_allocate invoked
Gtk-Message: gtk_menu_bar_realize invoked
Gtk-Message: gtk_menu_bar_map invoked
Gtk-Message: gtk_menu_bar_size_allocate invoked
My $HOME/.gnomerc contains this
$ cat $HOME/.gnomerc
export GTK_MODULES=libgnomenu
Oh, does it work or not?
I dontremember any _global_menu_find_windows symbol in svn 802.
Besides in 0.4 branch one should not get any log message with a prefix gtk_menu_bar.
It should be in a format <GnomenuMenuBar>::gnomenu_menu_bar_xxx:xxxxx.
It sounds like you are patching against a gtk which is already patched by 0.3 branch; or using a 0.3 branch patched GTK. for the 0.4 branch. Unfotunately they won't work together.
Neither will the planning 0.5 branch work with earlier versions.
Btw, does anyone know what is the highest trace level that can be specified?
Compiling libgnomenu with trace=5 crashes GTK for some reason.
Thanks
The maxium level is 3. which means you'll get log for GnomenuSocket.
lkv1
March 19th, 2008, 07:40 AM
Ok, I will try and do it again. For the record I didn't use the gtk+aqd patch
but the one that had to be fetched as specified in the Wiki:
wget http://gnome2-globalmenu.googlecode.com/files/gtkmenubar.patch.tar.bz2
I will try using the gtk+aqd patch from SVN and see what happens.
But to answer your question, no it didn't work correctly. The applet is displayed
and I can see the icon and application label/name, but the menu is still attached
to the application itself and not visible on the panel.
Will upgrade and provide more info later.
Thanks
lkv1
March 19th, 2008, 11:55 PM
rainwoodman,
I installed it and this time I patched it with gtk+-aqd/patch.diff (which required
few modifications to apply cleanly). Now the log messages are of the format you
noted in your previous post. I also debugged some of code and seems like the
status is never set to connected. The problem also appears to be in the X
callback at socket.c:639^\_window_filter_cb, where the xevent->type is never
ClientMessage, but PropertyNotify, which means it doesn't actually get into the
switch block. I'm assuming this is the function at fault, since its only one in the
source (that I found) which sets status to GNOMENU_SOCKET_CONNECTED. I
would've probably continued further, if I didn't get disgusted by X and GTK.
Do you have an idea what could be causing this, I'm a bit ignorant in the sorcery of Xorg..
This is my version of X.
$ sudo X -version
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8.3)
Current Operating System: Linux feather 2.6.22-14-generic #1 SMP Tue Feb 12 02:46:46 UTC 2008 x86_64
Build Date: 18 January 2008
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Thanks
rainwoodman
March 20th, 2008, 01:16 AM
Ok, I will try and do it again. For the record I didn't use the gtk+aqd patch
but the one that had to be fetched as specified in the Wiki:
I will try using the gtk+aqd patch from SVN and see what happens.
But to answer your question, no it didn't work correctly. The applet is displayed
and I can see the icon and application label/name, but the menu is still attached
to the application itself and not visible on the panel.
Will upgrade and provide more info later.
Thanks
No problem!
That file is deprecated, 0.3 version patch...
rainwoodman
March 20th, 2008, 01:27 AM
rainwoodman,
I installed it and this time I patched it with gtk+-aqd/patch.diff (which required
few modifications to apply cleanly). Now the log messages are of the format you
noted in your previous post. I also debugged some of code and seems like the
status is never set to connected. The problem also appears to be in the X
callback at socket.c:639^\_window_filter_cb, where the xevent->type is never
ClientMessage, but PropertyNotify, which means it doesn't actually get into the
switch block. I'm assuming this is the function at fault, since its only one in the
source (that I found) which sets status to GNOMENU_SOCKET_CONNECTED. I
would've probably continued further, if I didn't get disgusted by X and GTK.
Thank you for the info!
The first a few messages is PropertyNotify, they are not related to global menu. Under X, a lot of work is done via messaging, applications register 'filters' and pick up whatever it is interested in.
The global menu messages are sent from a menu server. If you don't start a menu server, you don't receive any global menu messages. For debugging I suggest you use
servers/gtk-globalmenu-server
with --fancy or -f
Do you have an idea what could be causing this, I'm a bit ignorant in the sorcery of Xorg..
Well before I begin Global Menu I was also ignorant in X.
X version doesn't matter that much. but,
Are you using a 64bit or 32bit linux? I am rewritting GnomenuSocket to make it possible to work on 64bits at /branches/0.4_wp_socket/
though it is not working yet, maybe you want to read socket.c to have some idea of X coding. I did use more fancy X functions there.
lkv1
March 20th, 2008, 02:55 AM
Its a 64bit system. So I assume it wont work?
I will look a bit deeper when I find some more time.
Thanks
BOBSONATOR
March 22nd, 2008, 01:27 PM
Can someone make packages for hardy? or write a how to?
Im trying to compile from source, but im getting missing dependencies that cannot be found or met and other misc errorrs
the main problem is
checking for XFCE_GLOBALMENU_PLUGIN... configure: error: Package requirements (gtk+-2.0 >= 2.10, gdk-2.0, libwnck-1.0, libglade-2.0, libxfce4panel-1.0) were not met:
No package 'libxfce4panel-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XFCE_GLOBALMENU_PLUGIN_CFLAGS
and XFCE_GLOBALMENU_PLUGIN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
And i dont even want to use XFCE4 on this,,,,
ayoli
March 22nd, 2008, 01:51 PM
Can someone make packages for hardy? or write a how to?
Im trying to compile from source, but im getting missing dependencies that cannot be found or met and other misc errorrs
the main problem is
checking for XFCE_GLOBALMENU_PLUGIN... configure: error: Package requirements (gtk+-2.0 >= 2.10, gdk-2.0, libwnck-1.0, libglade-2.0, libxfce4panel-1.0) were not met:
No package 'libxfce4panel-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XFCE_GLOBALMENU_PLUGIN_CFLAGS
and XFCE_GLOBALMENU_PLUGIN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
And i dont even want to use XFCE4 on this,,,,
You can try mine : http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/
or this one :
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
rainwoodman
March 23rd, 2008, 04:21 AM
Its a 64bit system. So I assume it wont work?
I will look a bit deeper when I find some more time.
Thanks
trunk 819 x86-64 shall work now.
lkv1
March 24th, 2008, 05:34 AM
rainwoodman,
Thanks for the heads up. I tried the revision you suggest but it was a no go. So I decided to try the latest one. However this one thing had to be fixed:
Index: main.c
================================================== =================
--- main.c (revision 826)
+++ main.c (working copy)
@@ -35,6 +35,7 @@
"GTK_MENUBAR_NO_GNOMENU", "GTK_MENU_BAR_NO_GNOMENU", NULL
};
gchar * p;
+ int i;
LOG("libgnomenu is loaded. ");
if(GNOMENU_HAS_QUIRK(mask, IGNORE)){
@@ -42,7 +43,7 @@
LOG("application is ignored by quirk");
return NULL;
}
- for(p = flags[0]; p; p++)
+ for(i = 0; flags[i] != NULL; i++)
if(getenv(p)){
gnomenu_compatible = FALSE;
LOG("application is ignored by env %s flag", p);
In the above incrementing the pointer will advance it over over flags[x] not flags. After fixing that and running the code, gedit crashes here:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47691976769600 (LWP 31432)]
gnomenu_socket_connect (socket=0x0, target=29360131) at socket.c:746
746 return GNOMENU_SOCKET_GET_CLASS(socket)->connect(socket, target);
(gdb) bt
#0 gnomenu_socket_connect (socket=0x0, target=29360131) at socket.c:746
#1 0x00002b602a20c71e in _constructor (type=<value optimized out>, n_construct_properties=<value optimized out>, construct_params=<value optimized out>) at menubar.c:392
#2 0x00002b601ff5b664 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#3 0x00002b601ff5c0ac in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#4 0x00002b601ff5c2e1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#5 0x00002b601e8e8617 in update_node (self=0x785590, node=0x7c80c0, in_popup=<value optimized out>) at /home/lkv/src/menu/gtk+2.0-2.12.0/gtk/gtkuimanager.c:2289
#6 0x00002b601e8e8433 in update_node (self=0x785590, node=0x787ef0, in_popup=<value optimized out>) at /home/lkv/src/menu/gtk+2.0-2.12.0/gtk/gtkuimanager.c:2706
#7 0x00002b601e8e9193 in do_updates (self=0x0) at /home/lkv/src/menu/gtk+2.0-2.12.0/gtk/gtkuimanager.c:2748
#8 0x00002b601e8e9849 in gtk_ui_manager_real_get_widget (self=0x0, path=0x1c00003 <Address 0x1c00003 out of bounds>) at /home/lkv/src/menu/gtk+2.0-2.12.0/gtk/gtkuimanager.c:552
#9 0x0000000000451b4f in ?? ()
#10 0x00002b601ff75eb0 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#11 0x00002b601ff5d22d in ?? () from /usr/lib/libgobject-2.0.so.0
#12 0x00002b601ff5b664 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#13 0x00002b601ff5c0ac in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#14 0x00002b601ff5c2e1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#15 0x000000000042ba71 in ?? ()
#16 0x000000000042bbed in gedit_app_create_window ()
#17 0x000000000042a935 in main ()
(gdb) f 0
#0 gnomenu_socket_connect (socket=0x0, target=29360131) at socket.c:746
746 return GNOMENU_SOCKET_GET_CLASS(socket)->connect(socket, target);
I will look at it at some point during the day, but I'm sure you would have a better idea why the socket could be null.
One other thing, r825 patch.diff makes GTK go crazy on x86_64 (gutsy), I haven't investigated why as it was causing most GTK applications to segfault,
but if I find the time - will definitely give you some more info. I'm sorry for being so brief.
Though I run this one test testmenu: the menu was created in the applet as it should be, and it was responsive.
Let me know if you want me to try something.
Again, thanks for the great work!
cheers
rainwoodman
March 24th, 2008, 10:11 PM
rainwoodman,
I will look at it at some point during the day, but I'm sure you would have a better idea why the socket could be null.
One other thing, r825 patch.diff makes GTK go crazy on x86_64 (gutsy), I haven't investigated why as it was causing most GTK applications to segfault,
but if I find the time - will definitely give you some more info. I'm sorry for being so brief.
Though I run this one test testmenu: the menu was created in the applet as it should be, and it was responsive.
Let me know if you want me to try something.
Again, thanks for the great work!
cheers
Thank you for the fix. I also have no idea for why it is NULL.
I am very busy this week too, also has to finish the application to the Google SOC.
I am thinking about give up the 0.4 branch and begin the dbus branch sooner or later, depends on whether or not it is accepted by the summer code. After transporing to the DBus platform, I'll consider the project as deadly done, and wait for some GNOME guy to dig it out when they remember the neccesarity of a global menu system.
bigbrovar
March 25th, 2008, 03:33 PM
i just installed the global menu .. even though i see the current application am using displayed in my gnome -panel but my menu bar are still in their respective applications and not on the gnome panel as ought to be .. can some pls explatin why this is so
LavianoTS386
March 25th, 2008, 05:36 PM
The latest pix-buf package caused gnome to not load on my Eee. I booted into a failsafe gnome session and reverted that package and now everything is fine.
I still get a detached menubar just under my panel, rather than as part of the global menu applet.
BOBSONATOR
March 26th, 2008, 03:51 AM
Using Hardy Heron
So i tried compiling, and despite some errors, some things went through, im not sure if others did, and when i add the thing to the bar, i get this error.
rainwoodman
March 26th, 2008, 12:58 PM
Using Hardy Heron
So i tried compiling, and despite some errors, some things went through, im not sure if others did, and when i add the thing to the bar, i get this error.
Look, it is usually the error messages from a console instead of the phenomena helps us to solve the problems.
Every single error will cause a OAFIID error.
rainwoodman
March 26th, 2008, 12:59 PM
The latest pix-buf package caused gnome to not load on my Eee. I booted into a failsafe gnome session and reverted that package and now everything is fine.
I still get a detached menubar just under my panel, rather than as part of the global menu applet.
Would you tell me what the pix-buf package is?
bigbrovar
March 26th, 2008, 03:20 PM
i just installed the global menu .. even though i see the current application am using displayed in my gnome -panel but my menu bar are still in their respective applications and not on the gnome panel as ought to be .. can some pls explatin why this is so
ayoli
March 26th, 2008, 04:32 PM
i just installed the global menu .. even though i see the current application am using displayed in my gnome -panel but my menu bar are still in their respective applications and not on the gnome panel as ought to be .. can some pls explatin why this is so
Well, how did you install this which howto, guide did you follow ?
rainwoodman
March 27th, 2008, 12:27 AM
Announce!
So finally in svn 833 we got rid of the GTK_MODULES=libgnomenu line.
This is also a change related to gtk2-aqd patch.
There might be some small issue, e,g, I installed it and gnome-panel crashed when I first login, but it is not confirmed to be a Global Menu related issue(yet).
From now on the x86_64 build and i386 build shall be considered to work in exactly the same way.
rainwoodman
March 27th, 2008, 04:37 AM
In 853, I
* fixed several memory leaks,
* Added code to deal with library compatibility. If the compatibility is
Broken,
(1) for a major version mismatch(e.g. 0.4-0.5), gtk2-aqd patch won't try to make use of libgnomenu at all
(2) for a minor version broken(e.g. modification of the protocol), the server won't accept connection from a mismatched client)
I'll make a real realease for 0.4 and call it an end, and start the 0.5 branch, if my box don't go into troubles with the latest global menu.
ayoli
March 27th, 2008, 05:15 AM
Announce!
So finally in svn 833 we got rid of the GTK_MODULES=libgnomenu line.
This is also a change related to gtk2-aqd patch.
There might be some small issue, e,g, I installed it and gnome-panel crashed when I first login, but it is not confirmed to be a Global Menu related issue(yet).
From now on the x86_64 build and i386 build shall be considered to work in exactly the same way.
So, it must bring some change to the install method I guess. Do you have mentionned these changes somewhere ?
Also if the patch has been modified, is it possible to have one for hardy's gtk and one for gusty's gtk version ?
BOBSONATOR
March 27th, 2008, 12:59 PM
YESSS!!
I finally got it to work on hardy!!!!
This is what i did. (mix of BuildFromScratch (http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch)) + Ayoli's Guide
(http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/)
Follow the build from scratch until you reach where you extract the source code,
then transfer to ayoli, and DONT use the patch he has, use the one in the svn that you downloaded, its in the same directory that you are in,
then start off with
cp patch.diff gtk+2.0-2.12.9/debian/patches/
and follow the guide until you are done:popcorn:
Cheers!
rainwoodman
March 27th, 2008, 02:33 PM
So, it must bring some change to the install method I guess. Do you have mentionned these changes somewhere ?
Also if the patch has been modified, is it possible to have one for hardy's gtk and one for gusty's gtk version ?
Yes. We can get rid of the GTK_MODULES variable for ever.
and Global Menu also support GTK_MENUBAR_NO_MAC=1 now.
If one upgrade from the old version, he has to remove libgnomenu from GTK_MODULES in order the gtk+-aqd patch to work properly.
I think the post after your post shows that the new patch will work for eigther hardy and gusty. I wonder why, though..
also a -F 3 parameter to the patch command might also solve the hardy problem immediately ( I didn't test yet)
rainwoodman
March 27th, 2008, 02:37 PM
YESSS!!
I finally got it to work on hardy!!!!
This is what i did. (mix of BuildFromScratch (http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch)) + Ayoli's Guide
(http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/)
Follow the build from scratch until you reach where you extract the source code,
then transfer to ayoli, and DONT use the patch he has, use the one in the svn that you downloaded, its in the same directory that you are in,
then start off with
cp patch.diff gtk+2.0-2.12.9/debian/patches/
and follow the guide until you are done:popcorn:
Cheers!
I think you also get a gtk2-aqd.patch and gtk2-menubar-overflow.patch if you type make
Then you can use gtk2-aqd.patch in stead of patch.diff, since by definition patch.diff is a diff, and in the future I may use some fancy command to produce the patch from the diff, instead of a simple cp.
[edit]
You also get the patch at
$(_datadir)/doc/gnome-globalmenu/gtk+-aqd/
There is also supposed to be a guide at that location
BOBSONATOR
March 27th, 2008, 05:27 PM
Great, i just installed some updates, and global menu stopped working, and all of that time i spent compiling is gone.
ayoli
March 27th, 2008, 06:18 PM
Great, i just installed some updates, and global menu stopped working, and all of that time i spent compiling is gone.
What updates ?
Frak
March 27th, 2008, 07:40 PM
Great, i just installed some updates, and global menu stopped working, and all of that time i spent compiling is gone.
You probably just installed the normal version. Try using apt-build to reinstall the patched version.
BOBSONATOR
March 28th, 2008, 02:46 AM
You probably just installed the normal version. Try using apt-build to reinstall the patched version.
yea i reinstalled, I'm just avoiding the updates for now
rainwoodman
March 28th, 2008, 01:55 PM
Hi guys, I am applying the Google SoC project. An application is written at http://code.google.com/p/gnome2-globalmenu/wiki/SoC2008Application .
Any comments will be welcomed.
ayoli
March 28th, 2008, 02:27 PM
Hi guys, I am applying the Google SoC project. An application is written at http://code.google.com/p/gnome2-globalmenu/wiki/SoC2008Application .
Any comments will be welcomed.
yay, wish you good luck with it :)
rainwoodman
March 30th, 2008, 03:29 AM
A few stability fixes in trunk, mainly with "broadcast".
- random crash when app quits
- crashes when nautilus starts after a menu server.
Also added version info to the broadcast information, so that my box won't crash when I test 0.5 in a 0.4 desktop.
amortvigil
March 30th, 2008, 06:20 AM
EDIT: Got it working!!
YESSS!!
I finally got it to work on hardy!!!!
This is what i did. (mix of BuildFromScratch (http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch)) + Ayoli's Guide
(http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/)
Follow the build from scratch until you reach where you extract the source code,
then transfer to ayoli, and DONT use the patch he has, use the one in the svn that you downloaded, its in the same directory that you are in,
then start off with
cp patch.diff gtk+2.0-2.12.9/debian/patches/
and follow the guide until you are done:popcorn:
Cheers!
im folowing this an i dont understand i few things totaly.....
i think you mean with source from svn the commands ¨make prepare¨ and ¨make patch¨ then i turned to the start off command and followed the guide... i chnaged in the changelog to my current gtk version (2.12.9) and hardy .... but when i start compileing it takes hours.... what is the problem?
Frak
March 30th, 2008, 11:54 AM
EDIT: Got it working!!
im folowing this an i dont understand i few things totaly.....
i think you mean with source from svn the commands ¨make prepare¨ and ¨make patch¨ then i turned to the start off command and followed the guide... i chnaged in the changelog to my current gtk version (2.12.9) and hardy .... but when i start compileing it takes hours.... what is the problem?
If you are compiling gtk+2 it will take some time. From ~30 minutes on my computer to hours on others.
Ferdil
April 4th, 2008, 03:18 PM
EDIT: Got it working!!
im folowing this an i dont understand i few things totaly.....
i think you mean with source from svn the commands ¨make prepare¨ and ¨make patch¨ then i turned to the start off command and followed the guide... i chnaged in the changelog to my current gtk version (2.12.9) and hardy .... but when i start compileing it takes hours.... what is the problem?
I didn't understand what to do to make it work in Hardy ... please explain more accurately.
neatojones
April 4th, 2008, 11:57 PM
I didn't understand what to do to make it work in Hardy ... please explain more accurately.
Try this:
http://ubuntuforums.org/showpost.php?p=4461011&postcount=1690
neatojones
April 5th, 2008, 03:25 AM
I've posted some files for Hardy.
http://www.keepandshare.com/doc/view.php?id=494954&da=y
Download, untar the files, and then install the deb's by running:
dpgk -i *.deb
Then make sure to run:
sudo ldconfig
now, edit (or create) the ~/.gnomerc file:
gedit ~/.gnomerc
add this line to the file :
export GTK_MODULES=libgnomenu
The applet gives an error on install but works.
rainwoodman
April 5th, 2008, 04:13 PM
Today I am not very happy so I decided to make some fancy stuff. It is then done in svn.892.
Click on the application title. see what happens.
Huh, we've got the gnome application menu!
To my surprise it can event launch the application.
It looks ugly, though.
LavianoTS386
April 5th, 2008, 05:32 PM
Does this install using source in Hardy 64-bit?
Scheater5
April 5th, 2008, 09:25 PM
Neatojones - I can't get to your files on keepandshare. Says I need to ask you to share them.
Oleg_G
April 6th, 2008, 02:04 AM
Can somebody make new version of patch.diff for gutsy. I tried to apply it manually but it fails with error:
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c: In function '_libgnomenu_lookup':
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c:106: warning: passing argument 3 of 'g_module_symbol' from incompatible pointer type
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c: At top level:
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c:276: error: redefinition of 'gtk_menu_bar_init'
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c:133: error: previous definition of 'gtk_menu_bar_init' was here
make[5]: *** [gtkmenubar.lo] Error 1
make[5]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb/gtk'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb/gtk'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb'
make: *** [debian/stampdir/build-stamp-directfb] Error 2
rainwoodman
April 6th, 2008, 11:02 AM
Can somebody make new version of patch.diff for gutsy. I tried to apply it manually but it fails with error:
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c: In function '_libgnomenu_lookup':
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c:106: warning: passing argument 3 of 'g_module_symbol' from incompatible pointer type
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c: At top level:
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c:276: error: redefinition of 'gtk_menu_bar_init'
/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/gtk/gtkmenubar.c:133: error: previous definition of 'gtk_menu_bar_init' was here
make[5]: *** [gtkmenubar.lo] Error 1
make[5]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb/gtk'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb/gtk'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/oleg/globalmenu-install/trunk/gtk+-aqd/gtk+2.0-2.12.0/debian/build/directfb'
make: *** [debian/stampdir/build-stamp-directfb] Error 2
Open file gtkmenubar.c
goto line 133, and line 276
I guess one of the definition of gtk_menu_bar_init is empty.
remove the empty one.
/or add -F0 to your patch command.
/or use 'make patch' after you obtain the gtk source code and rename gtk+-aqd/gtk+2.0-2.12.0 to gtk+-aqd/gtk+-aqd
'make patch' adds -F0 already, and should have a better compatibility over different GTK sources.
Do not use patch.diff but first invoke 'make' in gtk+-aqd,
then use the generated gtk2-aqd.patch instead.
I can forecast that in the next version there will be several .diff files, and the .patch will be 'made' by combining them.
neatojones
April 7th, 2008, 10:47 PM
Neatojones - I can't get to your files on keepandshare. Says I need to ask you to share them.
Dang, I thought I told it to share them. I'll try again. If that doesn't work, PM me and I'll send them to you.
Scheater5
April 8th, 2008, 08:28 PM
Dang, I thought I told it to share them. I'll try again. If that doesn't work, PM me and I'll send them to you.
That did it - downloading now. I decided a while after that post I don't want to use global menu - but I'll install it anyway to test.
Psyphre
April 9th, 2008, 10:14 AM
Hi, I've been a long time user of the global menu (not the new one currently being developed, but the older one)
I want to upgrade to hardy, and as far as im aware the old menu is not available past gutsy, so I tried installing the new global menu. Its very nice, and whats great is that the keyboard shortcuts now work! So great work!
However there are a couple of things that (as far as im aware) it does not have compared to the old one.
1) Cannot customize the names of applications in the menu. The old one had a ".macmenu-tslist" file which you could alter the names of any applications.
2) Underlines were removed in the old one, giving it a much cleaner look. This doesnt seem to happen with the new one.
3) Finally, the spacing between the application name and the menu is far too close together. I did increase the "width" option, so its not because of that. The old one had a good space between the applicaation name and the menus.
PS: I followed neatojones's excellent guide which worked first time.
I've posted some files for Hardy.
http://www.keepandshare.com/doc/view.php?id=494954&da=y
Download, untar the files, and then install the deb's by running:
Then make sure to run:
now, edit (or create) the ~/.gnomerc file:
add this line to the file :
The applet gives an error on install but works.
Oleg_G
April 9th, 2008, 03:44 PM
In last builds application title is not transparent. And desktop menu disappeared
LavianoTS386
April 9th, 2008, 06:16 PM
Is the new menu compatible with Hardy 64bit?
rainwoodman
April 10th, 2008, 03:09 AM
Hi, I've been a long time user of the global menu (not the new one currently being developed, but the older one)
I want to upgrade to hardy, and as far as im aware the old menu is not available past gutsy, so I tried installing the new global menu. Its very nice, and whats great is that the keyboard shortcuts now work! So great work!
However there are a couple of things that (as far as im aware) it does not have compared to the old one.
1) Cannot customize the names of applications in the menu. The old one had a ".macmenu-tslist" file which you could alter the names of any applications.
Global menu shall not be a libwnck or Window manager.
2) Underlines were removed in the old one, giving it a much cleaner look. This doesnt seem to happen with the new one.
If it is removed, alt keys won't work. also, if they are removed, how do you know which alt-key for whom?
3) Finally, the spacing between the application name and the menu is far too close together. I did increase the "width" option, so its not because of that. The old one had a good space between the applicaation name and the menus.
It is an issue.
What about separate the app title to another panel applet(i.e, active app tile applet)? Then you can put it anywhere you want; and the code for the applet will simplified.
rainwoodman
April 10th, 2008, 03:11 AM
Is the new menu compatible with Hardy 64bit?
You can try but I guess no.
please wait until the middle of the summer.
rainwoodman
April 10th, 2008, 03:14 AM
In last builds application title is not transparent. And desktop menu disappeared
It sometimes disappears sometimes shows up. related to a competition at starting up.
recent few days it always show up in my account,
but it does not show up in my testing account.
The applicatoin title was fixed a few minutes ago.
I also tried to make use of compositing. But it doesn't work.
Psyphre
April 10th, 2008, 09:39 AM
Global menu shall not be a libwnck or Window manager.
If it is removed, alt keys won't work. also, if they are removed, how do you know which alt-key for whom?
It is an issue.
What about separate the app title to another panel applet(i.e, active app tile applet)? Then you can put it anywhere you want; and the code for the applet will simplified.
Thx for replying rainwoodman.
The underlines thing is minor, so its no big deal, and you are right that it will allow people to see what the shortcut buttons are.
About the names, im not sure what a libwnck is? What i mean was, in the old one the name in the title of the global menu could be altered. This was very useful because some applications had capital letters as their first letter, others did not. That sort of ruined overall uniformity. Also, some had totally erroneous names. Vlc for example only had "." as its title name, so being able to change this to "VLC" was very useful.
The old global menu had a file called ".maclist.ts" in the my home folder where i could enter (for example) ".=VLC" to fix it.
Curious on your thoughts about this.
rainwoodman
April 10th, 2008, 03:53 PM
Thx for replying rainwoodman.
The underlines thing is minor, so its no big deal, and you are right that it will allow people to see what the shortcut buttons are.
About the names, im not sure what a libwnck is? What i mean was, in the old one the name in the title of the global menu could be altered. This was very useful because some applications had capital letters as their first letter, others did not. That sort of ruined overall uniformity. Also, some had totally erroneous names. Vlc for example only had "." as its title name, so being able to change this to "VLC" was very useful.
The old global menu had a file called ".maclist.ts" in the my home folder where i could enter (for example) ".=VLC" to fix it.
Curious on your thoughts about this.
The usefulness of providing a way to overide the application names is definite.
The real question is,
if an application doesn't report its name in a human-readable way, or doesn't respect the FreeDesktop specifactions, Shall we work it around or not?
If we are going to work it around, what names shall we provide? what workaround shall be in the default, and what not? How do we deal with L11N? Those troubles are endless.
As to the VLC example, imaging you also have another application who uses same trick as VLC, and thus also report '.' as its application name. Then you little script is screwed.
Or imagine some day every python-gtk application decided to use use 'python-gtk' as its name.. we will always have to figure out how to distinguish them; and any of their potential changes will affect our code, our data, and our effort.
My policy is to stick with GNOME applications, which has a better respect toward the spec than others. If VLC doesn't work well, I use Totem. If Firefox doesn't work well, I use ephinany. The only thing I can't get rid of is the Openoffice because AbiWord lacks international support.
It won't be very difficult to add some new entry in the quirks(libgnomenu.conf) to overide the app name, I'll try to figure it out when I get some time.
LavianoTS386
April 10th, 2008, 04:45 PM
You can try but I guess no.
please wait until the middle of the summer.
Thanks ;)
bernerbits
April 11th, 2008, 12:58 PM
I got this to compile on 64 bit by temporarily moving all “.a” files out of /usr/lib … I’m not a linux C guru or anything but apparently “.a” files are not usable in amd64 architecture, even though the linker tries “.a” files before “.la”, “.so”, etc.
But even with everything compiled and installed, the menus don’t show up in the applet, and when I add the GTK_MODULES environment variable, some of my panel applets (like the main menu, volume control, and window switcher) don’t show up at all!
I feel like I'm *this* close, but I've been going in circles at this point for a couple days now. :confused:
bernerbits
April 11th, 2008, 01:24 PM
For anyone who wants to try and debug, here are my debians.
http://www.bernerbits.com/docs/globalmenudebs/
It's hosted off my work box on a cable connection, so go easy!
Compiled with --enable-trace=3, here's my debug output from running gedit:
dcberner@delllaptop-ubuntu:~$ gedit
** Message: <GnomenuQuirk>::file opened
** Message: <GnomenuQuirk>::found quirk for gnome-panel: ignore=1
** Message: <GnomenuQuirk>::new quirk gnome-panel/(null) = 1
** Message: <GnomenuQuirk>::found quirk for *applet*: ignore=1
** Message: <GnomenuQuirk>::new quirk *applet*/(null) = 1
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Desktop = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Работен* = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/桌面 = 6
** Message: <GnomenuQuirk>::found quirk for wx*: roaming=8
** Message: <GnomenuQuirk>::new quirk wx*/(null) = 8
** Message: <GnomenuQuirk>::Failed to open file '/home/dcberner/.libgnomenu.conf': No such file or directory
** Message: <GnomenuQuirk>::match gedit/(null) against gnome-panel/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against *applet*/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Desktop
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Работен*
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/桌面
** Message: <GnomenuQuirk>::match gedit/(null) against wx*/(null)
** Message: <GnomenuQuirk>::default_quirk = 0
** Message: <GnomenuMain>::libgnomenu is loaded.
Gtk-Message: Using Global Menu
** Message: <GnomenuMenuBar>::gnomenu_menu_bar_init
** Message: <GnomenuClientHelper>::gnomenu_client_helper_class_init
** Message: (null)<GnomenuSocket>::_set_property
** Message: GNOME MENU CLIENT<GnomenuSocket>::_set_property
** Message: GNOME MENU CLIENT<GnomenuSocket>::gnomenu_socket_connect
** Message: <GnomenuMenuBar>::constructor
** Message: <GnomenuMenuBar>::other property quirk
** Message: <GnomenuMenuBar>::other property name
** Message: <GnomenuMenuBar>::widget property visible is modified. back it up
** Message: <GnomenuMenuBar>::_insert
** Message: <GnomenuMenuBar>::widget name = FileMenu
** Message: <GnomenuMenuBar>::_insert
** Message: <GnomenuMenuBar>::widget name = EditMenu
** Message: <GnomenuMenuBar>::_insert
** Message: <GnomenuMenuBar>::widget name = ViewMenu
** Message: <GnomenuMenuBar>::_insert
** Message: <GnomenuMenuBar>::widget name = SearchMenu
** Message: <GnomenuMenuBar>::_insert
** Message: <GnomenuMenuBar>::widget name = ToolsMenu
** Message: <GnomenuMenuBar>::_insert
** Message: <GnomenuMenuBar>::widget name = GtkSeparatorMenuItem
** Message: <GnomenuMenuBar>::_insert
** Message: <GnomenuMenuBar>::widget name = GtkSeparatorMenuItem
** Message: <GnomenuMenuBar>::_insert
** Message: <GnomenuMenuBar>::widget name = DocumentsMenu
** Message: <GnomenuMenuBar>::_insert
** Message: <GnomenuMenuBar>::widget name = HelpMenu
** Message: <GnomenuMenuBar>::_s_hierarchy_changed
** Message: <GnomenuMenuBar>::detail = (null)
** Message: <GnomenuQuirk>::match gedit/(null) against gnome-panel/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against *applet*/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Desktop
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Работен*
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/桌面
** Message: <GnomenuQuirk>::match gedit/(null) against wx*/(null)
** Message: <GnomenuMenuBar>::other property quirk
** Message: <GnomenuMenuBar>::other property parent
** Message: <GnomenuMenuBar>::detail = gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against gnome-panel/(null)
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against *applet*/(null)
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against nautilus/Desktop
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against nautilus/Работен*
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against nautilus/桌面
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against wx*/(null)
** Message: <GnomenuMenuBar>::other property quirk
** Message: <GnomenuMenuBar>::detail = gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against gnome-panel/(null)
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against *applet*/(null)
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against nautilus/Desktop
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against nautilus/Работен*
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against nautilus/桌面
** Message: <GnomenuQuirk>::match gedit/gedit-window-12358-1000-12161-1207934379-0@delllaptop-ubuntu against wx*/(null)
** Message: <GnomenuMenuBar>::other property quirk
** Message: <GnomenuMenuBar>::other property style
** Message: <GnomenuMenuBar>::_size_request
** Message: <GnomenuMenuBar>::_calc_size_request
** Message: <GnomenuMenuBar>::request:272, 7030530
** Message: <GnomenuMenuBar>::_size_allocate
** Message: <GnomenuMenuBar>::_do_size_allocate
** Message: <GnomenuMenuBar>::x=0, y=1162, width=1, height=8813616
** Message: <GnomenuMenuBar>::_realize
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::map hack
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::map hack
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::map hack
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::map hack
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::map hack
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::map hack
** Message: <GnomenuMenuBar>::_set_child_parent_window
** Message: <GnomenuMenuBar>::other property style
** Message: <GnomenuMenuBar>::_sync_remote_state
** Message: <GnomenuMenuBar>::_sync_local_state
** Message: <GnomenuMenuBar>::_map
(gedit:12358): Gdk-WARNING **: /home/dcberner/mac/gnome-globalmenu/gtk+-aqd/gtk+2.0-2.12.9/gdk/x11/gdkproperty-x11.c:318 invalid X atom: -1
** Message: <GnomenuMenuBar>::receive toplevel focus
** Message: <GnomenuMenuBar>::_size_request
** Message: <GnomenuMenuBar>::_calc_size_request
** Message: <GnomenuMenuBar>::request:272, 7030530
** Message: <GnomenuMenuBar>::_size_allocate
** Message: <GnomenuMenuBar>::_do_size_allocate
** Message: <GnomenuMenuBar>::x=0, y=1162, width=1, height=8813616
** Message: <GnomenuMenuBar>::_expose
** Message: <GnomenuMenuBar>::Expose from 0x97c940, area = 0, 1162, 10364120, -1046814263
** Message: <GnomenuMenuBar>::_size_request
** Message: <GnomenuMenuBar>::_calc_size_request
** Message: <GnomenuMenuBar>::request:317, 7030530
** Message: <GnomenuMenuBar>::_size_allocate
** Message: <GnomenuMenuBar>::_do_size_allocate
** Message: <GnomenuMenuBar>::x=0, y=1162, width=1, height=8425664
** Message: <GnomenuMenuBar>::_expose
** Message: <GnomenuMenuBar>::Expose from 0x97c940, area = 158, 159, 10411432, -1046814263
So, it looks like the menubar is talking to the applet, which means the patch is working, and it looks like the menubar applet is even doing something. But for reasons I don't understand, it doesn't seem to be doing what it says it's doing... :(
ayoli
April 11th, 2008, 01:41 PM
I got this to compile on 64 bit by temporarily moving all “.a” files out of /usr/lib … I’m not a linux C guru or anything but apparently “.a” files are not usable in amd64 architecture, even though the linker tries “.a” files before “.la”, “.so”, etc.
But even with everything compiled and installed, the menus don’t show up in the applet, and when I add the GTK_MODULES environment variable, some of my panel applets (like the main menu, volume control, and window switcher) don’t show up at all!
I feel like I'm *this* close, but I've been going in circles at this point for a couple days now. :confused:
You may have to wait some time (I refer to this post (http://ubuntuforums.org/showthread.php?t=241868&page=182#1818))
bernerbits
April 11th, 2008, 02:59 PM
You may have to wait some time (I refer to this post (http://ubuntuforums.org/showthread.php?t=241868&page=182#1818))
Saw that, but I saw some other people who had had some luck in Hardy, so I thought I'd give it a shot.
Any word on what the exact problem is in hardy 64?
nesh87
April 11th, 2008, 07:52 PM
hey guys, sorry but i dont feel like reading 100 pages. I just upgraded to hardy and installed the debs provided (thanks to who did.. i cant remember who).. anyways the desktop or default menu is not visible, is there anyway to get that working?
thanks
Ferdil
April 13th, 2008, 09:14 AM
Thanks for the tip, neatojones - it worked like a charm.:KS
Here is the svn 899 compiled in deb for Hardy (there are both the xfce and the gnome applet)
PACKAGES REMOVED BY FERDIL - THEY CAUSED DEPENDENCY HELL
I don't know why, i'll try to fix it.
to install: extract the archive, then cd in the directory, and run:
dpkg -i *.deb
sudo ldconfig
echo "gtk2-engines-pixbuf hold" | dpkg --set-selections
echo "libgtk2.0-0 hold" | dpkg --set-selections
echo "libgtk2.0-0-dbg hold" | dpkg --set-selections
echo "libgtk2.0-doc hold" | dpkg --set-selections
then add the applet to the panel and enjoy your global menu. :popcorn:
P.S.
You have to hold the versions of the debs because, when packaging, i kept the version of the original gtk (2ubuntu2) instead of 2ubuntu3.1~aqd, because some packages were dependant from libgtk2.0-0 = 2ubuntu2.
Frak
April 15th, 2008, 06:30 PM
The current maintainer of the old version of the global menu was contacted. I provided the links to the arch user base, so arch users can hopefully expect an SVN version coming soon.
ha0rex
April 16th, 2008, 09:02 AM
I'm sorry, if youve already talked about it, but my question is how to change the programs name font to bold one, like in a real osx. I think its possible, coz i saw it on some pictures.
ayoli
April 16th, 2008, 09:11 AM
I'm sorry, if youve already talked about it, but my question is how to change the programs name font to bold one, like in a real osx. I think its possible, coz i saw it on some pictures.
If you have one of the lastest global menu version, right click on the left of the globalmenu applet and pick preferences in the menu. Here you can choose the font the style and size.
doorknob60
April 19th, 2008, 10:49 PM
I have two problems with this, one of which should be easy to fix, and one probably not.
Here's my main problem: http://ubuntuforums.org/showthread.php?t=760172
My second problem is that I can't get it to work with Firefox, and I can't live without my extensions :P Any fixes? I'm using hardy if it makes a difference. Please help!
Frak
April 19th, 2008, 10:53 PM
I have two problems with this, one of which should be easy to fix, and one probably not.
Here's my main problem: http://ubuntuforums.org/showthread.php?t=760172
My second problem is that I can't get it to work with Firefox, and I can't live without my extensions :P Any fixes? I'm using hardy if it makes a difference. Please help!
Firefox uses XUL, not GTK. So if you want it to work with Firefox, beg hard and hope something revolutionary occurs.
rainwoodman
April 20th, 2008, 04:06 AM
Firefox uses XUL, not GTK. So if you want it to work with Firefox, beg hard and hope something revolutionary occurs.
Yes that is the only thing we can do. Beg hard. We have very little influence to either GNOME, GTK or Firefox.
We are almost a group of castaways. I hope things can get better via the GSoC. The result is coming on Monday.
A substitute is Ephinany, the gnome web browser.
I have been using it for a month. It seems perfect to me. I am the person who can live without any extensions (even the flash plugin if I don't play, addictinggames), though.
Some primitive model work for the 0.5 branch is already forming the shape.
But I have my first talk in my life to give next week, as well as several exams.
neatojones
April 20th, 2008, 02:22 PM
I have two problems with this, one of which should be easy to fix, and one probably not.
Here's my main problem: http://ubuntuforums.org/showthread.php?t=760172
My second problem is that I can't get it to work with Firefox, and I can't live without my extensions :P Any fixes? I'm using hardy if it makes a difference. Please help!
Have you tried: right click on the panel ->properties-> background->select background image and choose the panel-bg.png (or whatever the file is named) for the panel wherever you saved the theme.
rainwoodman
April 21st, 2008, 04:07 PM
NOT accepted by GSoc
ayoli
April 21st, 2008, 04:21 PM
NOT accepted by GSoc
shame :(
slashack
April 23rd, 2008, 02:01 AM
I used this guide to install globalmenu on Hardy x86_64. (Except for the patch. I've manually patched gtkmenubar.c)
http://ubuntuforums.org/showpost.php?p=4461011&postcount=1690
When I run gedit (for example) y have this output
** Message: <GnomenuQuirk>::file opened
** Message: <GnomenuQuirk>::found quirk for gnome-panel: ignore=1
** Message: <GnomenuQuirk>::new quirk gnome-panel/(null) = 1
** Message: <GnomenuQuirk>::found quirk for *applet*: ignore=1
** Message: <GnomenuQuirk>::new quirk *applet*/(null) = 1
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Desktop = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Работен* = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/桌面 = 6
** Message: <GnomenuQuirk>::found quirk for wx*: roaming=8
** Message: <GnomenuQuirk>::new quirk wx*/(null) = 8
** Message: <GnomenuQuirk>::Failed to open file '/home/slashack/.libgnomenu.conf': No such file or directory
** Message: <GnomenuQuirk>::match gedit/(null) against gnome-panel/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against *applet*/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Desktop
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Работен*
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/桌面
** Message: <GnomenuQuirk>::match gedit/(null) against wx*/(null)
** Message: <GnomenuQuirk>::default_quirk = 0
** Message: <GnomenuMain>::libgnomenu is loaded.
But for some reason, it's not working. Anyone has managed to make globalmenu work on ubuntu hardy x86_64?
Thanks.
rainwoodman
April 26th, 2008, 02:53 AM
Yes I know the reason, tt is because on x86_64 the length of X Atom is 8 bytes; too long for the messages.
I used this guide to install globalmenu on Hardy x86_64. (Except for the patch. I've manually patched gtkmenubar.c)
http://ubuntuforums.org/showpost.php?p=4461011&postcount=1690
When I run gedit (for example) y have this output
** Message: <GnomenuQuirk>::file opened
** Message: <GnomenuQuirk>::found quirk for gnome-panel: ignore=1
** Message: <GnomenuQuirk>::new quirk gnome-panel/(null) = 1
** Message: <GnomenuQuirk>::found quirk for *applet*: ignore=1
** Message: <GnomenuQuirk>::new quirk *applet*/(null) = 1
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Desktop = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/Работен* = 6
** Message: <GnomenuQuirk>::found quirk for nautilus: force-show-all=2
** Message: <GnomenuQuirk>::found quirk for nautilus: hide-on-quit=4
** Message: <GnomenuQuirk>::new quirk nautilus/桌面 = 6
** Message: <GnomenuQuirk>::found quirk for wx*: roaming=8
** Message: <GnomenuQuirk>::new quirk wx*/(null) = 8
** Message: <GnomenuQuirk>::Failed to open file '/home/slashack/.libgnomenu.conf': No such file or directory
** Message: <GnomenuQuirk>::match gedit/(null) against gnome-panel/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against *applet*/(null)
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Desktop
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/Работен*
** Message: <GnomenuQuirk>::match gedit/(null) against nautilus/桌面
** Message: <GnomenuQuirk>::match gedit/(null) against wx*/(null)
** Message: <GnomenuQuirk>::default_quirk = 0
** Message: <GnomenuMain>::libgnomenu is loaded.
But for some reason, it's not working. Anyone has managed to make globalmenu work on ubuntu hardy x86_64?
Thanks.
rainwoodman
April 26th, 2008, 02:57 AM
shame :(
Well, I have to think about the roadmap again, then.
Maybe I'll skip the intermediate X11 simulation of DBus; it was designed for the SoC mid-term evaulation. I'll begin studying DBus coding immediately.
I am also thinking about move to vala instead of coding in C.
gsiliceo
April 28th, 2008, 08:54 PM
DOes this work in hardy? i don't want to break anything installing it.
drbraniac
April 29th, 2008, 12:07 AM
I have managed to install the Global Menubar on Hardy and make it work for the most part using ayoli's instructions (http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/#more-74) for bleeding-edge install. For some strange reason, though, when I restart the entire computer and log back into Ubuntu gnome, the application title area disappears and leaves a white space. So to answer your question, gsiliceo, it won't break Hardy but the installation takes a bit of time and there are some bugs.
gsiliceo
April 29th, 2008, 07:15 AM
huh thanks =( it worked so nice in gutsy, only had the ocational crash.
I'll wait then.
quantruong1985
April 29th, 2008, 10:27 AM
Thanks for the tip, neatojones - it worked like a charm.:KS
Here is the svn 899 compiled in deb for Hardy (there are both the xfce and the gnome applet)
PACKAGES REMOVED BY FERDIL - THEY CAUSED DEPENDENCY HELL
I don't know why, i'll try to fix it.
to install: extract the archive, then cd in the directory, and run:
dpkg -i *.deb
sudo ldconfig
echo "gtk2-engines-pixbuf hold" | dpkg --set-selections
echo "libgtk2.0-0 hold" | dpkg --set-selections
echo "libgtk2.0-0-dbg hold" | dpkg --set-selections
echo "libgtk2.0-doc hold" | dpkg --set-selections
then add the applet to the panel and enjoy your global menu. :popcorn:
P.S.
You have to hold the versions of the debs because, when packaging, i kept the version of the original gtk (2ubuntu2) instead of 2ubuntu3.1~aqd, because some packages were dependant from libgtk2.0-0 = 2ubuntu2.
I tried to do what u said but I had this problem :
truong@truong-desktop:/media/disk/globalmenu-hardy-svn899$ sudo echo "gtk2-engines-pixbuf hold" | dpkg --set-selections
dpkg: operation requires read/write access to dpkg status area
and :
truong@truong-desktop:/media/disk/globalmenu-hardy-svn899$ echo "libgtk2.0-0-dbg hold" | dpkg --set-selections
dpkg: operation requires read/write access to dpkg status area
bash: echo: write error: Broken pipe
How can i fix these error???
ayoli
April 29th, 2008, 05:48 PM
Do not take this as an answer, but I think that is most the to the dpkg command you need to prefix with a sudo.
I actually don't like this method and prefer have a set of gtk package with a slightly higher version number, then I can see the "real" upgrade offers and download the source to make a new set of packages with the ubuntu fix + the global menu patch.
ayoli
April 29th, 2008, 06:02 PM
For some reason, in recent svn versions, sudo checkinstall fails (also make install but it is less visible if you don't look at the whole output).
Passing the --disable-maintainer-mode at configure script mostly fix the issue ATM.
I know that the wiki page has to be updated. Unfortunately, I hadn't and do still not have the time for this.
The guide on my site is (I think) still the most recent information to install the global menu on ubuntu, but also needs some updates that I will do in the next days.
@rainwoodman : Will you continue this dev after being rejected by GSoC ? (I hope/wish/want a big yes answer here :D)
drbraniac
April 29th, 2008, 09:18 PM
*crosses fingers* I hope I don't jinx this but...
I seem to have managed to make the Global Menu work completely on Hardy Heron. As I mentioned before, using the bleeding edge instructions, I managed to make the Global Menu Applet work partially. The application menu was intact, but Application Title section disappeared after every cold reboot.
Warning: I'm not an experienced programmer or anything, so I'm not completely sure why my re-installation suddenly fixed the problem I described above.
I restarted the entiring compiling process using THIS (http://ubuntuforums.org/showpost.php?p=4461011&postcount=1690) method (basically the same as ayoli's bleeding edge instructions, with a few updates).
However, after the
dpkg-buildpackage -rfakeroot
step, there is one modification I did (in blue). If you do not execute the autogen script the process will stop.
cd ..
sudo dpkg -i gtk2-engines-pixbuf*.deb libgtk2.0-0*.deb libgtk2.0-bin*.deb libgtk2.0-common*.deb libgtk2.0-doc*.deb
cd ..
./autogen.sh
./configure --prefix=/usr --enable-tracing=no --enable-xfce-plugin=no
make
sudo make install
sudo ldconfig
gedit ~/.gnomerc
Then I followed the rest of the steps as outlined by neatojones.
There is one final step I did that was not mentioned before (but found in rainwoodman's README file within the source package). In Terminal:
cd ~
gedit .bash_profile
Then add
GTK_MODULES=libgnomenu
to the .bash_profile file and save.
Restart your GNOME session, then add the Global Menubar applet to your panel.
I'm not entirely sure what *fixed* the Global Menubar problem on my compy, but I hope this helps someone.
LavianoTS386
April 30th, 2008, 12:13 AM
Is there any plan for a repository?
neatojones
April 30th, 2008, 01:01 AM
cd ~
gedit .bash_profile
Then add
GTK_MODULES=libgnomenu
to the .bash_profile file and save.
Restart your GNOME session, then add the Global Menubar applet to your panel.
I'm not entirely sure what *fixed* the Global Menubar problem on my compy, but I hope this helps someone.
Hmm, I added in the autogen command into the post you mentioned. I didn't change the part about the .bash_profile vs .gnomerc though. I'm not sure which one of these is actually correct. Maybe both of them work. Honestly, I thought I read a while back that this wasn't even necessary anymore with the more recent versions. Can someone clarify this and I'll reupdate that guide if necessary.
A link to the post (guide) I'm referencing: http://ubuntuforums.org/showpost.php?p=4461011&postcount=1690
rainwoodman
April 30th, 2008, 05:41 AM
Screenshot for the on going 0.6 branch.
I got the signal emision, menu grabing working. Notification (redraw the global menu when the menu changes) is also working in principle. (not implement in tests)
A primitive GTK patch is still 2 weeks or more farther away.
A bad thing is the sudo application is never going to work with 0.6 branch, because they can't connect to the DBus session.
Another bad thing is the 0.6 branch is mostly written with a patched vala compiler; compiling will be a little bit difficult because you'll need to compile `valac`(cd vala; make)first.
svn://gnome-globalmenu.googlecode.com/svn/branches/0.6-devel/
the testing programs are:
tests/app a simple application with no ui but registers the menus.
tests/manager a simple manager that only manages the menu of tests/app.
rainwoodman
April 30th, 2008, 05:44 AM
Is there any plan for a repository?
There was a plan, but I gave it up, after google increased the quota.
LavianoTS386
April 30th, 2008, 03:32 PM
rainwoodman Have you thought about getting in touch with anyone developing EeePc modified versions of Ubuntu on the eeeuser.com forums? The globalmenu could be very valuable on that kind of limited screen space (in fact I know it is).
Frak
April 30th, 2008, 08:06 PM
rainwoodman Have you thought about getting in touch with anyone developing EeePc modified versions of Ubuntu on the eeeuser.com forums? The globalmenu could be very valuable on that kind of limited screen space (in fact I know it is).
This is a very good point. You could get some additional help on this project along with it. (Well, except that Xandros uses tabs on the EEEPC)
quantruong1985
May 1st, 2008, 02:43 AM
OMG!!! When will Global menu work on Hardy completely??
I cant wait any more!!!
lutosdemayo
May 1st, 2008, 08:31 PM
OMG!!! When will Global menu work on Hardy completely??
I cant wait any more!!!
I'll second that!
rainwoodman
May 1st, 2008, 08:53 PM
rainwoodman Have you thought about getting in touch with anyone developing EeePc modified versions of Ubuntu on the eeeuser.com forums? The globalmenu could be very valuable on that kind of limited screen space (in fact I know it is).
Thank you.
I followed the link and got confused by their website and forum. maybe later.
joebrueske
May 1st, 2008, 10:52 PM
So, I'd been working on getting the menubar applet working, could never find the Lucinda Grande Bold font so I could delete it. Beyond that it was working great in Gutsy Gibbon. Theeeeeen I just HAD to go and upgrade to Ubuntu Hardy Heron (8.04). Now EVERYTHING is screwed up. Has anyone else had similar problems?
I had to recongigure all my appearances. Hardy Heron doesn't have a custom button for the visual effects, so Compiz isn't working like it was in Gutsy Gibbon. This also means that Emerald isn't working either. I'm going to assume that's because they aren't compatible, but it's bloody annoying. Gnome now scatters icons all over my panels, and it's random, so they load in different areas.
That's all I'll mention about the great features I'm noticing. I think I'll go back to gutsy gibbon and just reapply all the themes. It'd be a whole lot faster.
joebrueske
May 2nd, 2008, 12:54 AM
Okay, so I performed a clean install of Hardy Heron and surprise surprise everything runs a lot smoother. Though, emerald seems to be behaving differently. It won't load unless I open a terminal and run "emerald --replace." It will of course open and work, but if you close the window it remains active in the terminal. Closing it, of course, takes away the window decorations. I don't mind doing it this way since I have a terminal open all the time. With Gutsy there was gldesktop that I'd simply run and it would pop back in. Any thoughts?
ormuz
May 2nd, 2008, 04:00 AM
Hi Gents (and ladies if any),
I used to work on 7.04 with macemnu.
I then upgraded to 8.04 (32b) and global menu. After few hours of panic (but fortunately I had the guide with the "Don't panic !" cover), I reached the following results:
1- global menu compiled from sources (and patched with thefile in the trunk)
2- installed OK
3- working... with root windows only.
What the heck did I do wrong for the app not exporting menus from standard users ?
Any idea how to fix that ?
cheers,
ormuz
May 2nd, 2008, 04:03 AM
Hi rainwoodman,
Globalmenu is just great work. Thanks !
joebrueske
May 2nd, 2008, 04:31 AM
well... i managed to waste 3 hours of my life trying to get the applet working with heron, but it isn't. lol i followed the guide used by... what's his face and it went pretty well until heron started asking me to move .m4 files to the autoconfig's macro directory, which there wasn't one. so if anyone gets any ideas as to what I did wrong that'd be nice.
i ended up continuing with the compiling and the rest of it, but of course it wouldn't work. good luck to everyone getting this sucker working. when i upgrade to heron everything lined up perfectly... and then I rebooted... and then it exploded. :lolflag:
joebrueske
May 2nd, 2008, 04:45 AM
So I forgot to check e-mail before going to bed and I get back in after a re-boot. Here, I had forgotten to reload the session. So, the changes work, partially. The menus are now separated, but they're stuck to the upper left hand corner. I remember this happening half way through the installation the last time. However, the applet will not load and crashes immediately.
Just wanted to clear that up for anyone who might be looking into this. Again, I have no clue as to what I'm doing. lol I'm so use to editing registry entries. Sad... I know.
lloeki
May 2nd, 2008, 08:43 AM
rainwoodman Have you thought about getting in touch with anyone developing EeePc modified versions of Ubuntu on the eeeuser.com forums? The globalmenu could be very valuable on that kind of limited screen space (in fact I know it is).
No need to go to such an extreme as an Eee! Already with a 1280x800 13.3" display it is really useful :)
"Sadly" I recently moved from 32 bit to 64 bit (ArchLinux), and while compiling svn r917 (0.4 or 0.5 branch, whatever was trunk at that time) went fine, it doesn't work (menu bar stays in window). From all the fragmented information I guess this is expected behavior.
Rainwoodman, this is an interesting move you made to go for vala, I'm thinking to have a look at it someday (currently doing most of my work in python). As of yet vala feedback is scarce, so would you mind giving your opinion of it?
I hope you get the vala+dbus version working soon, I really miss the lost real-estate ;)
Psyphre
May 2nd, 2008, 11:01 AM
Hey, I managed to get this magnificent mac menu working on my gutsy desktop, but unfortunately now my synaptic gives me an error message:
It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.
I cant install anything until this is fixed :(
Does anyone know what i can do? I remember this happened on my laptop and i tried "sudo apt-get install -f" and wat it did was uninstall EVERYTHING (yes everything) :S :S dont know why.
edit: i see in synaptic it says that "libgtk2.0-dev" is broken. what do i do?
Thanks
ormuz
May 2nd, 2008, 11:47 AM
I was able to get globalmenu in Hardy using the following (modified) method:
Code:
cd ~
mkdir packages
cd packages
mkdir globlamenu
cd globalmenu
svn co http://gnome2-globalmenu.googlecode.com/svn/trunk/
cd trunk/gtk+-aqd/
apt-get source libgtk2.0-0
sudo apt-get build-dep libgtk2.0-0
cp patch.diff gtk+2.0-2.12.9/debian/patches/
gedit gtk+2.0-2.12.9/debian/patches/series
add patch.diff at the end of the file , save and exit gedit.
Code:
gedit gtk+2.0-2.12.9/debian/changelog
Add this to the top of file (make sure to indent to make look like the rest of the file or it won't work):
gtk+2.0 (2.12.9-3ubuntu3.1~adq) hardy; urgency=low
* debian/patches/patch.diff:
- patch from rainwoodman, for globalmenu integration
-- Ayoli <ayolinux@gmail.com> Wed, 30 April 2008 10:29:09 +0200
Code:
cd gtk+2.0-2.12.9
dpkg-buildpackage -rfakeroot
Code:
cd ..
sudo dpkg -i gtk2-engines-pixbuf*.deb libgtk2.0-0*.deb libgtk2.0-bin*.deb libgtk2.0-common*.deb libgtk2.0-doc*.deb
If you plan on building the panel applet you'll also have to install libgtk2.0-dev (as below)
**Make sure to install whatever libraries are needed if you get errors-->Basically, if it complains about needing libwnck then you'd need to install "libwnck-dev" etc...**
sudo dpkg -i libgtk2.0-dev*.deb
cd ..
./autogen.sh
./configure --prefix=/usr --enable-tracing=no --enable-xfce-plugin=no
make
sudo make install
sudo ldconfig
gedit ~/.gnomerc
add the line
Code:
export GTK_MODULES="libgnomenu"
I hope this helps someone!
Hi,
Actually it helped me a lot. Compilation and installation went well, so thanks.
However, I have problem: although the app title appear well in the panel, the menus don't. It only works for root apps. ANy idea ?
LavianoTS386
May 2nd, 2008, 03:51 PM
No need to go to such an extreme as an Eee! Already with a 1280x800 13.3" display it is really useful :)
I agree. The Globalmenu makes running GIMP a delight on any screen size. I do think rainwoodman would pick up a lot of enthusiasm if he presented it to the eeeubuntu/eeexubuntu communities and possibly get more hands on deck.
rainwoodman
May 2nd, 2008, 03:53 PM
hi joe,
I am sorry to hear your unfortune.
Nevertheless, life becomes tough, when your attitude toward it is tough.
It seems to me, that you don't like your linux distribution's default settings very much.
If so, you need to go into more details on how the distribution manages everything working together, before making your own hack.
Redoing the same operation again and again is of no help. My personal expericence is to read the source code of the buggy package, to figure out how it works, and to come up with your own workaround on my own environment.
That's why people provide the source code of the software. It is FREE for us to improve it, in order to get through the unfortunate situation we meet.
So I forgot to check e-mail before going to bed and I get back in after a re-boot. Here, I had forgotten to reload the session. So, the changes work, partially. The menus are now separated, but they're stuck to the upper left hand corner. I remember this happening half way through the installation the last time. However, the applet will not load and crashes immediately.
Just wanted to clear that up for anyone who might be looking into this. Again, I have no clue as to what I'm doing. lol I'm so use to editing registry entries. Sad... I know.
rainwoodman
May 2nd, 2008, 04:14 PM
No need to go to such an extreme as an Eee! Already with a 1280x800 13.3" display it is really useful :)
"Sadly" I recently moved from 32 bit to 64 bit (ArchLinux), and while compiling svn r917 (0.4 or 0.5 branch, whatever was trunk at that time) went fine, it doesn't work (menu bar stays in window). From all the fragmented information I guess this is expected behavior.
Yes it is. I can't write a stable IPC layer on 64-bit X11; thus 64-bit in 0.4 branch never works. the 64 bit in 0.5 branch might work, but I abandoned it and moved directly into 0.6 branch the 'dbus' backend. 'dbus' backend should work perfectly fine on both 32bit and 64bit. the only disadvantage is if the application don't belong to the session, its menu won't be exposed to the dbus and therefore imposible to be grabed by the global menu manager.
Rainwoodman, this is an interesting move you made to go for vala, I'm thinking to have a look at it someday (currently doing most of my work in python). As of yet vala feedback is scarce, so would you mind giving your opinion of it?
My opinion is that vala is a good way to save typing for writing GLib programs. However, the language itself is still kind of 'inconsistent'; I am not very sure where the point is though, it is only my feeling.
I have to make several patches to vala in order to get the 'server-side' dbus working. I also have to carefully avoid vala's bug when writing the code. Anyway the .vala code is fantasticly clean.
management of auto variable is awesome;
lambda expression is awesome;
glib name-mangling is awesome;
the compiler is also cleanly written, making it easy to extend.
I read several lines of python code before(a dirty simulation program written by some physics people who never understand OO). its flexbility left me a bad impression and I don't think I can write any python program after that. On the other hand, I can write vala OO program as native as C.
I hope you get the vala+dbus version working soon, I really miss the lost real-estate ;)
I am trapped into my job-for-living recently. I'll be back on global menu next week. There still lacks:(also a note for myself)
a central service for applications to register themselves(dbus-activation, start when needed)
a global menu explorer will be cool; I'll write it right after the service is written.
a sample global menu manager to draw the menu for the active application + active document window.
a patched gtk to create corresponding global menu agent for Application, Document, Menu and MenuItem. also need a way to let applications to hide their true menubar(either automatically or a gconf-key will be cool?) also need some quirks for the 'application menu + document menu' model, or ignore the application menu by now.
the last and the worst: documentation.
ayoli
May 2nd, 2008, 04:55 PM
@rainwoodman : really happy to see you still have so much ideas for this project, big up :D
Btw, have you an idea about the issue posted above that make the menus exported in the panel applet only for root, not for user ?
Some ppl did (I think) the same install as me, fellowing my guide, and have this issue that I never add.
This issue also comes to ppl who tried global menu from the packages from the wiki page (which come from your googlecode page).
Any clue on this one ?
khaledkhal
May 2nd, 2008, 06:21 PM
Thanks a lot man!
I really apprciate that.
rainwoodman
May 2nd, 2008, 11:12 PM
@rainwoodman : really happy to see you still have so much ideas for this project, big up :D
Thank you!
Btw, have you an idea about the issue posted above that make the menus exported in the panel applet only for root, not for user ?
Some ppl did (I think) the same install as me, fellowing my guide, and have this issue that I never add.
This issue also comes to ppl who tried global menu from the packages from the wiki page (which come from your googlecode page).
Any clue on this one ?
I don't have any idea. It seems no body provided any traceing files.
Is it possibly due to SELinux denying loading the library?
mangar
May 4th, 2008, 04:07 PM
an official repository would be great for beta testers and early adopters.
(and will save the trouble of dealing with already solved problems).
joebrueske
May 5th, 2008, 12:47 AM
hi joe,
I am sorry to hear your unfortune.
Redoing the same operation again and again is of no help. My personal experience is to read the source code of the buggy package, to figure out how it works, and to come up with your own workaround on my own environment.
Thanks for the encouragement rainwoodman. I'm actually very happy with ubuntu and the be honest Heron seems to be a good improvement overall. It loads a little slower, but overall I like it. Still a lot better than an XP environment. :P
I started out with a debian distro called Dream Linux, but it was my first distro next to Fedora 5. So when I got over to Ubuntu and started really seeing how open Linux can really be I got excited and wanted to port some functions that I like in OS series. Though, I just found a site that points out that the Mac-Menubar applet IS the most finicky applet to get working.
I don't have time to look at the source, and to be honest it's not that big of a deal to me. I'll just tweak the UI until I get it close to where I'd like it and be satisfied. One applet isn't going to kill me. Plus, it's on my laptop! The people I work with think that it's cool that it says Windows XP and I'm running Linux instead. They think I'm sticking it to the man! LOL If I get it to work someday, cool, if not, eh!
killstheweak
May 7th, 2008, 03:33 PM
Doesn't MacOs show some file, edit, help, and such, even when no application is selected or open? Can this be adjusted to do so? Cause the bar looks kinda odd when its empty :P
gsiliceo
May 7th, 2008, 04:22 PM
If you use compiz you could set up an applicattion that doesnt show in the taskbar or the window itself, so you would be able to have its menu opened all the time, id suggest one of those control panels for ubuntu made in gtk.
smbm
May 7th, 2008, 05:36 PM
an official repository would be great for beta testers and early adopters.
(and will save the trouble of dealing with already solved problems).
I'm not sure how it works but you could try a PPA on Launchpad. That would build for all arch's etc.
If you use compiz you could set up an applicattion that doesnt show in the taskbar or the window itself, so you would be able to have its menu opened all the time, id suggest one of those control panels for ubuntu made in gtk.
You could also do this with Devilspie or some such program for people that don't/can't run Compiz.
rainwoodman
May 9th, 2008, 02:43 AM
global menu in action:
o Activating menu item
+ Changing Menu item title on the fly.
+ Add/Remove menu item and submenu
+ Show/Hide menu item
+ Application quiting notification.
todo:
1. enable/disable menu item
2. test and finish document menu model
3. central service.
4. manager.
nesh87
May 9th, 2008, 04:48 AM
Doesn't MacOs show some file, edit, help, and such, even when no application is selected or open? Can this be adjusted to do so? Cause the bar looks kinda odd when its empty :P
+1
In gutsy i used to get a Nautilus menu even when im at my desktop. In hardy this isnt the case. Any updates on this?
pavan_bitsgoa
May 9th, 2008, 12:25 PM
Is there a working deb package out yet?
i went through this topic twice but couldnt find any working instructions as to how to install (most of the links are dead)
So if someone can post an update as to what is happening here and a "how to" to get global menu with all the features working in hardy that would be great!
thanks a lot in advance
laurovalente
May 9th, 2008, 01:48 PM
Hello!
Recently i updated my Ubuntu to Hardy and the Global Menu stopped to work.
Actually it does work, but the menus are not appearing. Only the application title.
I have already checked for GTK_MENUBAR_NO_MAC on the bash files, but there is nothing about it.
Anyone does know what is going on?
Thanks in advance!
rainwoodman
May 9th, 2008, 08:08 PM
global menu 0.6 in action:
o Activating menu item
o Changing Menu item title on the fly.
o Add/Remove menu item and submenu
o Show/Hide menu item
o Application quiting notification.
+ enable/disable menu item
+ creating and disposing document window and menu.
+ quiting the application
todo:
3. central service
4. manager
5. map the model to Gtk
6. patch GTK
yakko78
May 10th, 2008, 04:42 AM
Hello!
Recently i updated my Ubuntu to Hardy and the Global Menu stopped to work.
...
Anyone does know what is going on?
Hardy replaces gtk libraries without the original patching.
Just replace hardy libraries with the one in the gnome2-globalmenu tar.
As soon as a new release will be ready they will probably fix the deb name.
The menu works very well with iMetal theme.
--
Yakko78
pavan_bitsgoa
May 11th, 2008, 01:39 AM
Hello!
am i missing something here? when i installed the global menu from "gnome-globalmenu-0.4_ubuntu-gusty-svn679.tar.gz" this file i get only 2 options in the addon
1. show the tittle of the active window
2 to show the icon
no menus of any sort
is there a later version of the file or a .deb file available readily?? can some one post the details of the latest .deb file or the latest working "how to" if there is any thing available in this forum
thanks!!!
yakko78
May 11th, 2008, 04:14 AM
Hello!
am i missing something here?
I think you should read the Homepage of the project: http://code.google.com/p/gnome2-globalmenu/ :)
pavan_bitsgoa
May 11th, 2008, 12:28 PM
hmm i have been to that page but could find any thing specific to my problem
they only give info on installation and latest development
i want to know how to make global menu applet in hardy do more things other than those that i mentioned above
ny code or hack for that???
thank you
rainwoodman
May 11th, 2008, 05:22 PM
hmm i have been to that page but could find any thing specific to my problem
they only give info on installation and latest development
i want to know how to make global menu applet in hardy do more things other than those that i mentioned above
ny code or hack for that???
thank you
Grab the code and compile it. No special code or hack for that.
We are working on a new binary package for ubuntu 8.04(32bit); It will be on-line in several days.
avb
May 12th, 2008, 02:13 AM
Grab the code and compile it. No special code or hack for that.
We are working on a new binary package for ubuntu 8.04(32bit); It will be on-line in several days.
Some time ago i was working on compiling macmenu hack into separate "preload" library for overriding needed functions. Using LD_PRELOAD library will allow users to use macmenu hack with a disto package of libgtk2. Have you thought to make your hack like this?
pavan_bitsgoa
May 12th, 2008, 08:19 AM
Grab the code and compile it. No special code or hack for that.
We are working on a new binary package for ubuntu 8.04(32bit); It will be on-line in several days.
just put up the link fr the binary code whenever it is done for hardy (32bit)
n rainwoodman do u have any idea why iam only able to get 2 options (to show the active window title and icon only) and not the acutal menu itself
i even tried compiling frm the source code given here
https://wiki.ubuntu.com/global_menu
but i still get only those two options. no error message of any sort during compiling or installing
thank you
yakko78
May 12th, 2008, 09:44 AM
i want to know how to make global menu applet in hardy do more things other than those that i mentioned above
ny code or hack for that???
Nothing special. Just compile it and follow the wiki.
I have made packages for my Hardy distribution but I prefer that you wait rainwoodman's packages as I don't have time to reply to installation problems. :)
I advise you. This is an alpha package. If you are not accustomed to compile problems it's better to wait. :popcorn:
fbn
May 12th, 2008, 11:28 AM
Hi, is there a version that works with Hardy?
ayoli
May 12th, 2008, 03:38 PM
Hi, is there a version that works with Hardy?
It works with hardy but you have to compile from svn and patch/compile gtk.
Binaries will come soon, so you can also wait for them.
gsiliceo
May 12th, 2008, 08:24 PM
waiting ftw!
DOXI
May 12th, 2008, 08:31 PM
I'm trying to compile from source, but I'm not sure if I'm checking out from the svn right, and I can't find the make file.
Can anyone please tell me how to check out from the svn to get the latest version and where should I run the make and make install.
Thanks!
Oh, by the way...I'm following this https://wiki.ubuntu.com/global_menu#compile . Should I or it won't work with Hardy?
Frak
May 12th, 2008, 08:34 PM
I'm trying to compile from source, but I'm not sure if I'm checking out from the svn right, and I can't find the make file.
Can anyone please tell me how to check out from the svn to get the latest version and where should I run the make and make install.
Thanks!
It's a patch, you should also download the gtk source, patch it, THEN compile it.
DOXI
May 12th, 2008, 09:08 PM
It's a patch, you should also download the gtk source, patch it, THEN compile it.
Ok, so if I get it right what I should do is download the patch (from where?), get the gtk source, then patch it (how?) and then compile the whole thing.
I'm new at this compiling fron source thing so excuse me if I ask stupid things :), plus I don't want to do anything wrong. I'm trying to learn how it's done, instead of waiting for a .deb or something.
Thanks for your help.
Frak
May 12th, 2008, 09:19 PM
http://code.google.com/p/gnome2-globalmenu/wiki/BuildFromScratch?updated=BuildFromScratch&ts=1204258474
KazukiFlame
May 13th, 2008, 03:04 AM
hi, i just installed cairo-docks in my ubuntu 8.04, really cool docking bar i've seen so far. 1 question, how do u set it to appear behind my windows, i don't want it on top of my windows actually.
ayoli
May 13th, 2008, 08:21 AM
Ok, so if I get it right what I should do is download the patch (from where?), get the gtk source, then patch it (how?) and then compile the whole thing.
I'm new at this compiling fron source thing so excuse me if I ask stupid things :), plus I don't want to do anything wrong. I'm trying to learn how it's done, instead of waiting for a .deb or something.
Thanks for your help.
The patch is in the gtk-adq folder in the svn.
As for the makefile, you need to run autogen.sh and configure.sh to generate the makefile.
I've made a guide here (http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/)
rainwoodman
May 14th, 2008, 02:26 PM
Hi, all,
Thank fengshenx,
the latest package for Ubuntu is built.
http://code.google.com/p/gnome2-globalmenu/downloads/list?can=2&q=Ubuntu&colspec=Filename+Summary+Uploaded+Size+DownloadCou nt
fengshenx also updated the guide at the project page:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
LavianoTS386
May 14th, 2008, 03:38 PM
Yay! It finally works. I had to manually tell the panel where my panel-bg.png image was to get the menu to match my panel theme, but it could be worse. This will really help save screen real estate on my Eee.
Here's looking forward to it the 64-bit version for my desktop. :D
ayoli
May 14th, 2008, 04:57 PM
Yay! It finally works. I had to manually tell the panel where my panel-bg.png image was to get the menu to match my panel theme, but it could be worse. This will really help save screen real estate on my Eee.
Here's looking forward to it the 64-bits version for my desktop. :D
I don't know if 64-bits issues have been solved. Did they ?
Btw, I haven't got a 64-bits box to try to build latest global menu.
ayoli
May 14th, 2008, 05:05 PM
Hi, all,
Thank fengshenx,
the latest package for Ubuntu is built.
http://code.google.com/p/gnome2-globalmenu/downloads/list?can=2&q=Ubuntu&colspec=Filename+Summary+Uploaded+Size+DownloadCou nt
fengshenx also updated the guide at the project page:
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
Greaat news for the majority who need package instead of dealing with evil compiling process.
I guess we know have to rewrite the ubuntu wiki page. Unfortunatly, I do not have much time to do it, I got very much to do at work.
edit : I just put a quick and dirty update on the wiki page (https://wiki.ubuntu.com/global_menu)
Another note : what do you think about opening a new thread about global menu since this thread is now a real mess and we can't edit the first post.
Then I could ask to close this thread after posting a last post with a link to the new one.
Frak
May 14th, 2008, 05:23 PM
Greaat news for the majority who need package instead of dealing with evil compiling process.
I guess we know have to rewrite the ubuntu wiki page. Unfortunatly, I do not have much time to do it, I got very much to do at work.
Another note : what do you think about opening a new thread about global menu since this thread is now a real mess and we can't edit the first post.
Then I could ask to close this thread after posting a last post with a link to the new one.
Frak votes YESH!
Nubsy
May 14th, 2008, 05:41 PM
I just want to say, I've been trying for a while to find a working version. And when I got home and saw that there had been a version finished for Hardy, I was very happy.
It works great. :) Thank you to all who put it together for those of us who aren't masters at building from source and things of that nature.
My one complaint is the same one everyone has, I'm sure. I just wish it worked with Firefox and Open office programs, but I can survive. :P
ayoli
May 14th, 2008, 05:55 PM
I just want to say, I've been trying for a while to find a working version. And when I got home and saw that there had been a version finished for Hardy, I was very happy.
It works great. :) Thank you to all who put it together for those of us who aren't masters at building from source and things of that nature.
My one complaint is the same one everyone has, I'm sure. I just wish it worked with Firefox and Open office programs, but I can survive. :P
It won't work with xul (firefox and other xul based apps) and openoffice.
btw, you can use an extension to hide firefox menu, but afaik, there's nothing we can do with openoffice.
LavianoTS386
May 14th, 2008, 07:47 PM
If it really matters you could use the gnome officer suite. The global menu works fine with Abiword
gsiliceo
May 14th, 2008, 09:06 PM
Whoever built the new debs for Hardy, thank you very much, they worked great.
DOXI
May 14th, 2008, 11:30 PM
The patch is in the gtk-adq folder in the svn.
As for the makefile, you need to run autogen.sh and configure.sh to generate the makefile.
I've made a guide here (http://ayozone.org/2008/03/12/global-menu-the-new-gnome-macmenu/)
Great! Thank you. I'll give it a try.
yakko78
May 15th, 2008, 02:02 AM
If it really matters you could use the gnome officer suite. The global menu works fine with Abiword
Abiword it's not a word processor! Please! :lolflag:
The global menu works with emacs and latex, that's enough to write! :guitar:
lutosdemayo
May 15th, 2008, 09:27 AM
Whoever built the new debs for Hardy, thank you very much, they worked great.
It's really a relief now that theres a hardy package coz its the only thing missing in my Hardy installation.
Jackelope King
May 15th, 2008, 04:10 PM
Hey all. I tried installing this for the first time with the directions from http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
In doing so, I got the following error message:
Errors were encountered while processing:
gnome2-globalmenu-applet
Any ideas on how to fix this?
EDIT: Issue already resolve. Just had to unpack the .deb file by hand using the package manager, not the terminal.
teolemon
May 18th, 2008, 02:01 PM
I just wanted to share a screenshot of latest packaged Gnomenu with a Mac4Lin theme.
It's almost a pixel-perfect copy except (for reference):
-the arrow on the apple
-the fact that the app title is not aligned with the menus.
-the icons in the dock I could have changed had I been really twisted.
rainwoodman
May 18th, 2008, 10:22 PM
Another note : what do you think about opening a new thread about global menu since this thread is now a real mess and we can't edit the first post.
Then I could ask to close this thread after posting a last post with a link to the new one.
Why not.
A Note:
The DBus version has good ideas but I suddenly feel very bad about it. I am going to pause it and go back to X11 backend when I get some time.
I was very busy last week; both for work and, vala distracted me from global menu. I'll be back soon.
rainwoodman
May 18th, 2008, 10:44 PM
I just wanted to share a screenshot of latest packaged Gnomenu with a Mac4Lin theme.
It's almost a pixel-perfect copy except (for reference):
-the arrow on the apple
-the fact that the app title is not aligned with the menus.
-the icons in the dock I could have changed had I been really twisted.
Just for fun;
Screenshot of latest packaged Gnomenu with a Default theme.
It is a Linux not a Mac.
Alinaki
May 19th, 2008, 06:47 PM
Does Globalmenu ver. svn964 supports KDE apps?
rainwoodman
May 20th, 2008, 12:28 AM
Does Globalmenu ver. svn964 supports KDE apps?
There was some experiemental support in around svn600.
Then it was abandoned because KDE apps has no way to fit into a gnome desktop smoothly. If they are already weird, let them be.
Jadephyre
May 20th, 2008, 01:57 AM
can't get this to work right... i did everything as i was expected to do from that google page, but the only thing this "Global-Menu" is doing is showing me the Name of the currently active app... also, i can't figure out where to find that "gnomerc" file that i'm supposed to be editing.
Anyone care to help me out here ???
I'm using Gutsy by the way.
Alinaki
May 20th, 2008, 07:00 AM
There was some experiemental support in around svn600.
Then it was abandoned because KDE apps has no way to fit into a gnome desktop smoothly. If they are already weird, let them be.
Might this QGTKStyle (http://labs.trolltech.com/blogs/2008/05/13/introducing-qgtkstyle/) can be useful? Or you mean something much more complicated?
pallavis11
May 20th, 2008, 07:39 AM
See the info below:
http://a2zhowto .blogspot.com/
http://learnphpwithme .blogspot.com/
rainwoodman
May 20th, 2008, 11:26 AM
Might this QGTKStyle (http://labs.trolltech.com/blogs/2008/05/13/introducing-qgtkstyle/) can be useful? Or you mean something much more complicated?
Much more complicated.
KDE(3)'s global menu is even more hackish than our global menu. They are controlled by the WM and designed to be at the position of the gnome top panel. No guaranteed way to fit into our applet.
I don't know if anything is happening in KDE 4 (if there is a 4).
markp1989
May 20th, 2008, 05:10 PM
does any one know where i can get 64bit debs for hardy?
ayoli
May 20th, 2008, 05:22 PM
does any one know where i can get 64bit debs for hardy?
there's a link in the wiki page (https://wiki.ubuntu.com/global_menu), btw I don't know if it works (and also if it has any support).
markp1989
May 20th, 2008, 05:31 PM
For AMD64 (64bit computer, intel included)
For Ubuntu Hardy, 8.04, compiled from svn 899
[WWW] http://www.mediafire.com/?n4sz14fiwcj
kudos goes to ferdil
After downloading and extracting it, it seemed to have 32bit debs not 64?
ayoli
May 20th, 2008, 05:37 PM
For AMD64 (64bit computer, intel included)
For Ubuntu Hardy, 8.04, compiled from svn 899
[WWW] http://www.mediafire.com/?n4sz14fiwcj
kudos goes to ferdil
After downloading and extracting it, it seemed to have 32bit debs not 64?
i just saw the link but dunno anything about the package. If it is not ok for you try to compile it (see the links at the top of the wiki page).
Keep in mind that is still an alpha software.
edit: As the warning at the top of the wiki page says, the wiki page is somewhat outdated
lloeki
May 21st, 2008, 01:43 PM
Just for fun;
Screenshot of latest packaged Gnomenu with a Default theme.
It is a Linux not a Mac.
does this mean you abandon vala and go back to the latest C tag?
if so, does this mean you will try to fix it for 64 bits?
Fatec
May 21st, 2008, 10:28 PM
can't get this to work right... i did everything as i was expected to do from that google page, but the only thing this "Global-Menu" is doing is showing me the Name of the currently active app... also, i can't figure out where to find that "gnomerc" file that i'm supposed to be editing.
Anyone care to help me out here ???
I'm using Gutsy by the way.
Same here, but im using hardy...
Anyone?
ayoli
May 22nd, 2008, 03:43 AM
can't get this to work right... i did everything as i was expected to do from that google page, but the only thing this "Global-Menu" is doing is showing me the Name of the currently active app... also, i can't figure out where to find that "gnomerc" file that i'm supposed to be editing.
Anyone care to help me out here ???
I'm using Gutsy by the way.
The .gnomerc file should be located in your home folder, if it doesn't exist you can create it like this (in a terminal) :
touch ~/.gnomerc
(Note the dot at the begining of the filename, don't forget it).
ayoli
May 22nd, 2008, 03:47 AM
Same here, but im using hardy...
Anyone?
Can be different issues. How did you install this ? From the recent packages ? Are you on a 32 or 64 bits box ? If you install from packages, did you get any errors ?
Jadephyre
May 22nd, 2008, 04:57 AM
thanks ayo, i'll try that :)
Fatec
May 22nd, 2008, 10:30 AM
Can be different issues. How did you install this ? From the recent packages ? Are you on a 32 or 64 bits box ? If you install from packages, did you get any errors ?
From the debs.
Got no errors..
I can select it and add it to the panel but i just get file, edit etc and nothing when no windows are open etc? :confused:
ayoli
May 22nd, 2008, 11:37 AM
From the debs.
Got no errors..
I can select it and add it to the panel but i just get file, edit etc and nothing when no windows are open etc? :confused:
There's no default menu when the desktop is focused (no window opened or selected).
Fatec
May 22nd, 2008, 12:29 PM
There's no default menu when the desktop is focused (no window opened or selected).
So it's nothing like the real mac menu then =/
Spudyes
May 22nd, 2008, 03:28 PM
There's no default menu when the desktop is focused (no window opened or selected).
I'm experiencing the same problem, Ubuntu 8.04
Hoping there'll be a proper working version for Hardy Heron soon.
ayoli
May 22nd, 2008, 03:57 PM
So it's nothing like the real mac menu then =/
I'm experiencing the same problem, Ubuntu 8.04
Hoping there'll be a proper working version for Hardy Heron soon.
First, global menu is an alpha software.
Default menu when there is no window selected or focused is still a missing feature since the goal of this app is to make your desktop document centric oriented (as mac OSX is).
The actual version is already useable for many people and save some screen space on small screen (like mine).
fbn
May 22nd, 2008, 05:20 PM
Hi,
it seems that the maximum width is limited to 100px. Is there a way or plan to expand this? I'm asking because I have more space on my panel I would like to use for global menu.
Thanks,
Frank
ayoli
May 23rd, 2008, 03:41 AM
Hi,
it seems that the maximum width is limited to 100px. Is there a way or plan to expand this? I'm asking because I have more space on my panel I would like to use for global menu.
Thanks,
Frank
That's weird, global menu has no width limit. Be sure that there is no applet (ie: an empty window list) that limit space.
rainwoodman
May 23rd, 2008, 11:24 PM
So it's nothing like the real mac menu then =/
So we really need to start a new thread with a new topic.
rainwoodman
May 23rd, 2008, 11:27 PM
First, global menu is an alpha software.
Default menu when there is no window selected or focused is still a missing feature since the goal of this app is to make your desktop document centric oriented (as mac OSX is).
If no document is focused, where comes the active document's action menu?
fbn
May 24th, 2008, 03:19 AM
That's weird, global menu has no width limit. Be sure that there is no applet (ie: an empty window list) that limit space.
Hi,
I am sure of this and I checked with some other applets: If I move them in the direction of global menu it gets smaller. But if I move them away, global menu gets larger until the 100px limit and then stops.
If I look at the preferences there is a setting Maximum width which I can set to 100.
drbraniac
May 24th, 2008, 01:35 PM
Gah. I compiled the global menu from source for Hardy and got a very successful install, but now that I've tried using the new Hardy deb packages, I'm getting all sorts of dependency errors that aren't fixed by the solution on the wiki. This is just a warning for Hardy users who have successfully compiled and installed a previous version of the applet.
rainwoodman
May 24th, 2008, 03:09 PM
Hi,
I am sure of this and I checked with some other applets: If I move them in the direction of global menu it gets smaller. But if I move them away, global menu gets larger until the 100px limit and then stops.
If I look at the preferences there is a setting Maximum width which I can set to 100.
The maximum is for the title label. Why not posting a screenshot or file an issue so that we can investigate the problem into details?
Zopiac
May 26th, 2008, 07:55 PM
ok wheres the actual download? im not going to TRY finding it in 180+ pages :D
Frak
May 26th, 2008, 11:09 PM
ok wheres the actual download? im not going to TRY finding it in 180+ pages :D
On Google Code: http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
This is mentioned numerous times over the past 15+ pages.
smartboyathome
May 27th, 2008, 12:23 AM
Maybe a mod should update the original post to include that?
Frak
May 27th, 2008, 12:39 AM
Maybe a mod should update the original post to include that?
Would be nice.
ayoli
May 27th, 2008, 01:59 AM
Maybe a mod should update the original post to include that?
I have already asked for that sometime ago and it has been done with a link to the wiki.
This is enough as we can ask for a modification each time there is a new download.
The global menu team have requested a subforum. Hope we'll have it to have a clearer presentation here on ubuntuforums.
lloeki
May 31st, 2008, 01:12 PM
from the supposedly r899 64bit build, all packages are named 'i386' and inside:
$ file libgnomenu.so.0.0.0
libgnomenu.so.0.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
so that's no 64bit.
joninkrakow
May 31st, 2008, 03:47 PM
Don't hold your breath just yet. The mere fact of having gotten as far as actually getting a functional mac menubar in gnome is too much asking knowing how much resistance the gtk/gnome devs opposed against this. Asking to get this into gnome directly is just wasting time. They DON'T want this done, period.
As frustrating and irritating as it is to use GIMP with its in-window menus, I find it hard to believe that they could be so opposed to this! I mean, it's not just about not imitating the Mac (esp. because they do so in other ways), but about practicality. There are so many benefits over a unified menubar, that it's hard to imagine that the devs would be ideologically opposed to it!
-Jon
LavianoTS386
June 5th, 2008, 03:58 PM
It seems that after he installation of the globalmenu, hardinfo doews not want to load this is what I get in the terminal:
hardinfo
Gtk-Message: Failed to load module "libgnomenu": (null)
(hardinfo:5935): GLib-GObject-WARNING **: cannot register existing type `GnomenuQuirkMask'
(hardinfo:5935): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>'
(hardinfo:5935): GLib-GObject-CRITICAL **: g_flags_get_value_by_nick: assertion `G_IS_FLAGS_CLASS (flags_class)' failed
lloeki
June 6th, 2008, 05:18 AM
do you have GTK_MODULE_SOMETHING set to libgnomenu? if so, try to unset it. it is useless since a given rev I can't recall.
ayoli
June 6th, 2008, 05:56 AM
It seems that after he installation of the globalmenu, hardinfo doews not want to load this is what I get in the terminal:
If you use a recent svn revision (>900) this line in ~/.gnomerc :
export GTK_MODULES=libgnomenu
isn't required anymore.
Also, you can deal with compatibility issues using the file ~/.libgnomenu.conf (create it if it doesn't exist)
and put in it something like :
#appname (or reg exp) : quirk (ignore, class)
hardinfo : ignore
LavianoTS386
June 6th, 2008, 12:07 PM
thanks :)
marktechey
June 11th, 2008, 10:26 PM
I'm running ubuntulite, but installed xfce4-panel so I could try this. However, I keep on getting the following error.
** (xfce4-panel:5692): CRITICAL **: Could not run plugin: Permission denied
What do the permissions have to be? (and of what files?)
ayoli
June 12th, 2008, 07:09 AM
I'm running ubuntulite, but installed xfce4-panel so I could try this. However, I keep on getting the following error.
** (xfce4-panel:5692): CRITICAL **: Could not run plugin: Permission denied
What do the permissions have to be? (and of what files?)
Have compiled this (I mean globalmenu) yourself ?
If yes and, if you did this with checkinstall at the end, then it would be a checkinstall bug.
you may try to run checkinstall again like this :
sudo checkinstall –fstrans=no
Let me know if this solves your issue.
marktechey
June 13th, 2008, 08:48 AM
No, I didn't install it myself. I installed it from .debs. Anyways, I figured that out, although I'm not sure how I did it. But I have one more question, is there anyway to get globalmenu to work on lxpanel?
Fatec
June 15th, 2008, 05:42 PM
Does this work with 64bit yet?
lloeki
June 18th, 2008, 08:27 AM
Does this work with 64bit yet?
from my experience, no.
latest working rev seems to be around 819 (according to last official x64 package and svn history), but I fail to make it work by building it myself. and even if it did work, it seems to be crashy.
recent revs do load but menu does not move up to applet/menu server and stays in window.
DraQla
June 21st, 2008, 07:23 AM
from my experience, no.
latest working rev seems to be around 819 (according to last official x64 package and svn history), but I fail to make it work by building it myself. and even if it did work, it seems to be crashy.
recent revs do load but menu does not move up to applet/menu server and stays in window.
Mh, that might explain why I installed it and nothing happened (=I still have the boring looks). Very sad thing.
shadowh511
June 22nd, 2008, 10:39 PM
sorry for the necro, but this is borked on hardy
gsiliceo
June 23rd, 2008, 01:58 AM
No is not ,you need the right debs. They are in this thread somewhere lol
ayoli
June 23rd, 2008, 04:11 AM
the debs and instructions to fellow are here : http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu
Dojan5
June 23rd, 2008, 07:19 AM
Hmm.
Is this safe to do on Hardy?
Anyone tried it i mean?
Since last time i used this one, the patched GTK i had to runsudo apt-get install -f
Which basically removed everything that had to do with GNOME...
Soo, does it work?
ayoli
June 23rd, 2008, 08:24 AM
Hmm.
Is this safe to do on Hardy?
Anyone tried it i mean?
Since last time i used this one, the patched GTK i had to runsudo apt-get install -f
Which basically removed everything that had to do with GNOME...
Soo, does it work?
The debs linked in the page I mentioned in my previous post above work for hardy 32bits.
Dojan5
June 23rd, 2008, 03:18 PM
It wont work for me...
The package gnome-menu something is broken upon install.
I used sudo dpkg -i *.deb
ayoli
June 23rd, 2008, 07:18 PM
It wont work for me...
The package gnome-menu something is broken upon install.
I used sudo dpkg -i *.deb
what is broken, you may want to post the error output here.
Frak
June 24th, 2008, 01:17 PM
It wont work for me...
The package gnome-menu something is broken upon install.
I used sudo dpkg -i *.deb
What is the output.
gaspar
June 26th, 2008, 09:00 PM
ayoli, I installed it using the link you provided. Is there any way to choose an aplication to not use globalmenu? It doesn't show emesene menus...
gsiliceo
June 27th, 2008, 12:40 AM
I have the same problem gaspar, emesene menu won't show.
Or it will show randomnly.
ayoli
June 27th, 2008, 03:48 AM
ayoli, I installed it using the link you provided. Is there any way to choose an aplication to not use globalmenu? It doesn't show emesene menus...
yes there is a way to exclude some applications using a file called .libgnomenu.conf in your home dir.
edit or create this file :
gedit ~/.libgnomenu.conf
put a line like this in it :
emesene : ignore
save and exit gedit, then logout/in gnome. It should do the trick.
gsiliceo
June 28th, 2008, 04:17 AM
It did, thanks ayoli.
kortez
June 28th, 2008, 01:46 PM
Hello,
I made a package of applet and patched gtk for gutsy. Works for me.
HOWTO INSTALL:
1. Install macmenu-applet_0.1-2_i386.deb
2. Download libgtk2.0-part1.tar.bz2, libgtk2.0-part2.tar.bz2 and install.sh
3. Go to this directory in terminal
4. Run sudo sh install.sh
5. Add macmenu applet to a gnome-panel
6. Log off/Log on
HOWTO UNINSTALL:
1. run 'sudo apt-get install --reinstall libgtk2.0-0'
Attached Files
File Type: gz 099_mac_menubar.patch.gz (2.1 KB, 991 views)
File Type: sh install.sh (217 Bytes, 1211 views)
File Type: bz2 libgtk2.0-part1.tar.bz2 (800.0 KB, 1296 views)
File Type: bz2 libgtk2.0-part2.tar.bz2 (512.0 KB, 1247 views)
File Type: deb macmenu-applet_0.1-2_i386.deb (9.9 KB, 2148 views)
Last edited by avb; October 26th, 2007 at 11:53 AM.
I cannot seem to open "install.sh". When I put sudo sh install.sh into the terminal I get "sh: Can't open install.sh". Why is this happening? I opened the terminal in the same place as the files.
http://ubuntuforums.org/showthread.php?p=3637111
ayoli
June 28th, 2008, 04:29 PM
I cannot seem to open "install.sh". When I put sudo sh install.sh into the terminal I get "sh: Can't open install.sh". Why is this happening? I opened the terminal in the same place as the files.
http://ubuntuforums.org/showthread.php?p=3637111
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu official howto and link to packages from the global menu dev team.
note you'll find links to packages and instructions for both gutsy and hardy on this page.
D--
June 30th, 2008, 10:22 AM
That's nice and all, but none of their pages have any information at all about the Xfce panel applet or a debian package for it. In fact the package of Hardy deb files at http://code.google.com/p/gnome2-globalmenu/downloads/list is missing it as well with svn964. Has anyone made a package for Xfce? I spent several hours trying to get the SVN to compile today, but autoconf constantly reports missing stuff even after I disable gtk-doc and install every single gtk-doc related package in Synaptic.
ayoli
June 30th, 2008, 11:57 AM
That's nice and all, but none of their pages have any information at all about the Xfce panel applet or a debian package for it. In fact the package of Hardy deb files at http://code.google.com/p/gnome2-globalmenu/downloads/list is missing it as well with svn964. Has anyone made a package for Xfce? I spent several hours trying to get the SVN to compile today, but autoconf constantly reports missing stuff even after I disable gtk-doc and install every single gtk-doc related package in Synaptic.
Actually, I think nobody have made a deb for xfce applet.
But, IMO, you can safely ignore autoconf messages and then run configure with the option that make the xfce applet.
Let us know if you manage to compile and if it works, or if you didn't try to post as much infos (debug output, errors) as you can here.
rainwoodman
July 3rd, 2008, 11:42 PM
Greetings.
I am on trip, spending most of my time with my girlfriend.
The developing is almost halted.
Nevertheless I got some new ideas and I plan to finish them in the 0.5-devel branch later this month.
launchpad is kind of slow to access in china, comparing with googlecode.
ayoli
July 4th, 2008, 05:56 AM
Greetings.
I am on trip, spending most of my time with my girlfriend.
The developing is almost halted.
Nevertheless I got some new ideas and I plan to finish them in the 0.5-devel branch later this month.
launchpad is kind of slow to access in china, comparing with googlecode.
Nice to see you alive ;) have a nice trip mate :)
davbren
July 6th, 2008, 08:20 AM
prolem spotted. I dunno whether its bin said before but wen my wallpaper changes. the background of the glbal menu doesn't change (I have a transparent panel)
Helix.
July 13th, 2008, 12:52 PM
Wonderful addon! Great job.
Don't know if anyone has noticed, but banshee-1 shows up as "Nereid" for the app name, and if the notification icon is enabled a white spot appears on the panel.
Any fixes?
teolemon
July 14th, 2008, 08:20 AM
Just a bit off-topic:
I wanted to highlight this project which is doing the same efforts for a document-centric Gnome as Gnomenu.
http://ubuntuforums.org/showthread.php?p=5017478#post5017478
It's about bringing coverflow and quicklook to Nautilus. It's called Gloobus , and if any of you wish to help, it's welcome.
rainwoodman
July 15th, 2008, 01:21 AM
prolem spotted. I dunno whether its bin said before but wen my wallpaper changes. the background of the glbal menu doesn't change (I have a transparent panel)
This issue will be solved in 0.5 (next version)
rainwoodman
July 15th, 2008, 01:24 AM
I need some help. If anyone know how to grab(and ungrab) Alt-<> keystrokes on a certain screen or display in X?
I tried to figure it out from gnome-settings-daemon but the code seems to be deprecated and didn't work for me.
This issue will be the final obstacle for the 0.5 to release.
rainwoodman
July 16th, 2008, 04:12 PM
Dear Friends,
I am glad to notify you that the branches/0.5-devel
can be tested.
0.5-devel can work with the 0.4 branch gtk-aqd.
Suppose a 0.4 version is installed:
svn co http://gnome2-globalmenu.googlecode.com/svn/branches/0.5-devel
./autogen.sh
make
cd libgnomenu
env LD_LIBRARY_PATH=`pwd` gedit
cd ../servers
./gnome-globalmenu-applet
find and add the Global Menu Applet to the panel.
Several issues:
- No application title shown; applet preferences are lacking.
- Sometimes, the global menu is created before the menu introspection data is created;(especially when the window is presented to the user for the first time) needs some underline changes. ## Fixed, a message to request the application update the introspection data is issued when the application receives the focus.
- Alt-x keys aren't working
- Theming issue; how to change the style of a gtkmenubar widget?
- TransientFor is ignored.
spupy
July 16th, 2008, 05:08 PM
Hi guys. :) Just want to ask the developer a quick question. I use Fluxbox, so no panel applet for me. In this case, is it possible to have a key binding (for example F9) used to toggle the visibility of the gtk menu widget? So the apps start with menubar hidden; if I want to access something in the menu I would press F9 to toggle it.
kinap
July 16th, 2008, 05:52 PM
i tried to compile this 0.5
but after the first try i got test/testgrab.o no rule to make
and after removing that from the Makefile
i get:
(lt-gnome-globalmenu-applet:11727): libglade-WARNING **: could not find glade file 'GnomenuServerApplet.glade'
so i looked at the server dir, and saw application.glade.
used that one, but still the same and don't know what to do now
(lt-gnome-globalmenu-applet:12967): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed
(lt-gnome-globalmenu-applet:11727): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
** Message: <GnomenuGlobalMenu>::switch: key = 0x1001dba
Segmentation fault
this is on ubuntu hardy 64bit
Felix
andrek
July 17th, 2008, 08:39 AM
Hey, I'm not kinda up to date with this project. Is custom font setting ( just for menu bar ) already available?
rainwoodman
July 17th, 2008, 09:03 AM
Thanks for the feedback!
i tried to compile this 0.5
but after the first try i got test/testgrab.o no rule to make
test/testgrab.c is not added to the svn.
and after removing that from the Makefile
i get:
(lt-gnome-globalmenu-applet:11727): libglade-WARNING **: could not find glade file 'GnomenuServerApplet.glade'
I forgot to add the file, also.
so i looked at the server dir, and saw application.glade.
used that one, but still the same and don't know what to do now
(lt-gnome-globalmenu-applet:12967): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed
(lt-gnome-globalmenu-applet:11727): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
** Message: <GnomenuGlobalMenu>::switch: key = 0x1001dba
Segmentation fault
this is on ubuntu hardy 64bit
Felix
Would you try to check out and have a test again?
If you don't have a 0.4 gtk-aqd installed, please use test/testmenubar as the testing application.
rainwoodman
July 17th, 2008, 09:18 AM
Hi guys. :) Just want to ask the developer a quick question. I use Fluxbox, so no panel applet for me. In this case, is it possible to have a key binding (for example F9) used to toggle the visibility of the gtk menu widget? So the apps start with menubar hidden; if I want to access something in the menu I would press F9 to toggle it.
Hi spupy, this will be a nice feature, except I don't know how to grab the key. I'll prefer F10 because F10 is the default to activate a menubar in GTK.
spupy
July 17th, 2008, 09:43 AM
Hi spupy, this will be a nice feature, except I don't know how to grab the key. I'll prefer F10 because F10 is the default to activate a menubar in GTK.
Well, F10 is fine too. :) I got the idea from XChat - F9 (or Ctrl F9) toggles the menubar visibility.
half-bite
July 18th, 2008, 03:19 PM
Hi,
I was hoping someone may be able to help...when I add globalmenu to the gnome panel it works/shows up fine, but when restarting the computer it disappears (but I can see where it should be by right clicking the panel). Has anyone had any experience with this?
Thanks!
kinap
July 18th, 2008, 04:46 PM
Thanks for the feedback!
test/testgrab.c is not added to the svn.
I forgot to add the file, also.
Would you try to check out and have a test again?
If you don't have a 0.4 gtk-aqd installed, please use test/testmenubar as the testing application.
done it, and it won't crash anymore
felix@mam:~/install/0.5-devel/servers$ ./gnome-globalmenu-applet
** Message: <GnomenuGlobalMenu>::switch: key = 0xe02f5c
** Message: 17
** Message: <GnomenuTools>::sending sms:3, 2F FFFFFFE0 00 00 00 00 00 30 21 37 FFFFFFE2 FFFFFFFF 7F 00 00 FFFFFFB0 FFFFFFAE
** Message: <GnomenuGlobalMenu>::switch: key = 0x5600020
** Message: 17
** Message: <GnomenuTools>::sending sms:3, 00 00 00 00 00 00 00 FFFFFF95 1F 00 FFFFFFD5 FFFFFF8F 7F 00 00 FFFFFFA0 78
** Message: <GnomenuGlobalMenu>::switch: key = 0xe02f5c
** Message: 17
** Message: <GnomenuTools>::sending sms:3, 00 00 00 00 00 00 00 FFFFFF95 1F 00 FFFFFFD5 FFFFFF8F 7F 00 00 FFFFFFA0 79
but i only see the text 'label' on my bar?
but it's good to see progress :)
Felix
hmm after testing the test/testmenu, i get a menu bar :)
so it looks even better.
so how can i get this to work for ather applications?
some more testing:
i noticed i needed qtk-aqd, found that earlier in this forum, but the path won't work, i guess the version is differen, 2.0.2.12.9 instead if 2.0-2.12.0
could that be the problem?
Applying patch gtkmenubar.patch
patching file gtk/gtkmenubar.c
Hunk #4 succeeded at 263 (offset 127 lines).
Hunk #5 FAILED at 302.
1 out of 12 hunks FAILED -- rejects in file gtk/gtkmenubar.c
cawill
July 19th, 2008, 03:01 AM
What happened to that widget that always had a menu? (so if an application didnt have a menu, the menu widget displayed a 'default' one)
rainwoodman
July 19th, 2008, 09:34 AM
done it, and it won't crash anymore
i noticed i needed qtk-aqd, found that earlier in this forum, but the path won't work, i guess the version is differen, 2.0.2.12.9 instead if 2.0-2.12.0
could that be the problem?
Applying patch gtkmenubar.patch
patching file gtk/gtkmenubar.c
Hunk #4 succeeded at 263 (offset 127 lines).
Hunk #5 FAILED at 302.
1 out of 12 hunks FAILED -- rejects in file gtk/gtkmenubar.c
I am glad to hear that it get some kind of working on a 64bit machine!
About the failure patch:
I have no idea if it is a version problem, but would you try to apply the patch by hand?
rainwoodman
July 19th, 2008, 09:36 AM
Hey, I'm not kinda up to date with this project. Is custom font setting ( just for menu bar ) already available?
No. But I think it will be in the new 0.5 release.
dark_harmonics
July 19th, 2008, 11:26 AM
No 64 bit versions working? Are we living in 2003? Awesome projects like this need to consider 32 and 64 bit platforms.
lloeki
July 19th, 2008, 01:45 PM
tested 0.5, works on 64-bit. though this branch is of course still buggy.
dark_harmonics
July 19th, 2008, 01:48 PM
Compiled it according to instructions and i get the app but it doesnt have the features described in it. It just had a blank bar.
kinap
July 19th, 2008, 07:26 PM
I am glad to hear that it get some kind of working on a 64bit machine!
About the failure patch:
I have no idea if it is a version problem, but would you try to apply the patch by hand?
hmm,
i tried to make sense of all those lines lol.
but i will try again, no idee how such a patch file works tho.
i will do my best.
Felix
rainwoodman
July 20th, 2008, 01:21 AM
hmm,
i tried to make sense of all those lines lol.
but i will try again, no idee how such a patch file works tho.
i will do my best.
Felix
What it does: forward _class_init and _init to libgnomenu if founded.
rainwoodman
July 20th, 2008, 01:23 AM
No 64 bit versions working? Are we living in 2003? Awesome projects like this need to consider 32 and 64 bit platforms.
I hope I had always been living in 2003 and had never got into this over-compilicated, 64-bit, grown-up situation.
rainwoodman
July 20th, 2008, 01:34 AM
Well, F10 is fine too. :) I got the idea from XChat - F9 (or Ctrl F9) toggles the menubar visibility.
F10 is set in the gtk-settings.
You can change it to anything by set the gtk-settings key:
gtk-menu-bar-accel
I don't know where to set it though. Perhaps adding a new gtk-settings for
'gtk-menu-bar-switch-global'
is better. I'll try to figure it out later with the 0.5 life span.
Anyhow, showing the local menu bar is added to 0.5.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.