applications.menu file has been renamed to gnome-applications.menu but XDG_MENU_PREFIX is not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-session (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
Firstly, thank you for maintaining all these gnome packages!
The latest version of gnome-menus has renamed applications.menu file: https:/
gnome-
- Clean up after rename from /etc/xdg/
to /etc/xdg/
But this environment variable is not set: XDG_MENU_PREFIX:
$ test -z "$XDG_MENU_PREFIX" && echo null || echo $XDG_MENU_PREFIX
null
$ echo $XDG_CURRENT_
GNOME
$ echo $DESKTOP_SESSION
cairo-dock
Here is the standards: https:/
______
Here are the files defined by this specification:
$XDG_CONFIG_
This file contains the XML definition of the main application menu layout. The first file found in the search path should be used; other files are ignored. This implies that if the user has their own ${XDG_MENU_
Systems that offer multiple desktop environments and that want to use distinct menu layouts in the different environments can use differently prefixed .menu files. In this case the $XDG_MENU_PREFIX environment variable must be set by the system to reflect the .menu file that is being used.
For example if a system contains both the GNOME and the KDE desktop environments it can decide to use gnome-applicati
Implementations may chose to use .menu files with other names for tasks or menus other than the main application menu. Such usage is not covered by this specification.
______
According to this document, the $XDG_MENU_PREFIX environment variable should contain "gnome-"
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: gnome-menus 3.8.0-1ubuntu3
ProcVersionSign
Uname: Linux 3.9.0-6-generic x86_64
ApportVersion: 2.10.2-0ubuntu1
Architecture: amd64
Date: Sat Jun 15 15:06:24 2013
InstallationDate: Installed on 2011-08-10 (674 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
MarkForUpload: True
SourcePackage: gnome-menus
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Jeremy Bícha: Abstain
-
Diff: 496 lines (+449/-0)6 files modified.pc/107_add_xdg_menu_prefix.patch/gnome-session/main.c (+413/-0)
.pc/applied-patches (+1/-0)
debian/changelog (+8/-0)
debian/patches/107_add_xdg_menu_prefix.patch (+21/-0)
debian/patches/series (+1/-0)
gnome-session/main.c (+5/-0)
(I just subscribe Jeremy to this bug report because the latest version of gnome-menus was modified by him. I hope it's not a problem for him!)