Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291965 - Empty gnome menus in openbox-gnome-session with >=gnome-menus-2.26
Summary: Empty gnome menus in openbox-gnome-session with >=gnome-menus-2.26
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: David Shakaryan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-05 11:50 UTC by Marek 'saji' Augustynowicz
Modified: 2010-01-02 20:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
10-xdg-menu-gnome (10-xdg-menu-gnome,123 bytes, text/plain)
2009-11-05 11:52 UTC, Marek 'saji' Augustynowicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek 'saji' Augustynowicz 2009-11-05 11:50:21 UTC
>=gnome-memu-2.26 is using /etc/xdg/gnome-applications.menu instead of /etc/xdg/gnome-applications.menu and required $XDG_MENU_PREFIX to be set to "gnome-", which is done in /etc/X11/xinit/xinitrc.d/10-xdg-menu-gnome, but $DESKTOP_SESSION is compared there to "gnome" and fails on "openbox-session".

Reproducible: Always

Steps to Reproduce:
Comment 1 Marek 'saji' Augustynowicz 2009-11-05 11:52:25 UTC
Created attachment 209316 [details]
10-xdg-menu-gnome

matching $DESKTOP_SESSION to /gnome$/
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-05 13:20:38 UTC
It's actually up to openbox to export proper variable in its session (XDG_MENU_PREFIX) if it wants to access gnome menus.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-12 11:04:01 UTC
please CC us back if you need anything from gnome.
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2009-12-27 02:05:46 UTC
Fixed with patch from bug 298042.
Comment 5 danakj 2010-01-02 20:50:46 UTC
on ubuntu 8.04 and 9.10, gnome-menus installs the gnome menu as /etc/xdg/menus/applications.menu.  It seems gentoo is not the norm to have it installed as gnome-applications.menu.  So gentoo should do something specific for Openbox too.  I am unable to address this upstream.