Using the HUD DBus service under Gnome

Jason Heeris jason.heeris at gmail.com
Tue Feb 26 21:54:46 UTC 2013


On 27 February 2013 07:43, Ted Gould <ted at ubuntu.com> wrote:
> For GTK+ applications to export their menu items they need to load the
> appmenu-gtk module.  That's done by the environment variable
> UBUNTU_MENUPROXY which is set to libappmenu.so.  That should have the
> various applications export their menus.

I think there's more needed. Under Unity, running the attached Python
script from a terminal gives me some results:

--
$ ./hud.py
File > <b>Open</b> Tab
File > <b>Open</b> Terminal
dropbox > <b>Open</b> Dropbox Folder
View > Zoom <b>Out</b>
Terminal > Set Character Encoding > Add <b>or</b> Remove…
--

Under Gnome, I get nothing back, even though:

--
$ echo $UBUNTU_MENUPROXY
libappmenu.so
--

I'm interested in the libhud-client library though. Is it able to be
used via GObject introspection? And is there any documentation
available?

Cheers,
Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hud.py
Type: application/octet-stream
Size: 365 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20130227/a864f82b/attachment-0001.obj>


More information about the ubuntu-devel mailing list