take XDG_CONFIG_DIRS into account

Bug #598373 reported by Didier Roche-Tolomelli
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mikkel Kamstrup Erlandsen
unity-lens-applications
Fix Released
High
Mikkel Kamstrup Erlandsen
unity (Ubuntu)
Fix Released
High
Canonical Desktop Experience Team
Maverick
Fix Released
High
Canonical Desktop Experience Team
unity-place-applications (Ubuntu)
Fix Released
High
Canonical Desktop Experience Team
Maverick
Fix Released
High
Canonical Desktop Experience Team

Bug Description

Binary package hint: unity-place-applications

For instance, in UNE, we are setting it to:
XDG_CONFIG_DIRS=/etc/xdg/xdg-une:/etc/xdg

and have in menus/ subfolder the attached file applications.menu and settings.menu too hide some tools like "search for files" and "brasero" which doesn't make sense on a netbook.
The applications place seems to not take it into account.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
description: updated
Changed in unity-place-applications (Ubuntu):
status: New → Triaged
Changed in unity-place-applications:
status: New → Confirmed
Changed in unity-place-applications (Ubuntu):
importance: Undecided → Low
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I am thinking that this can probably be solved be adding some appropriate stanzas to the menu file data/unity-place-applications.menu I am installing in /usr/share/unity/menus... How do you do this elsewhere?

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

I just think we should achieve it the same way as gnome-menu does :)
Not sure if we can add environment variables to .menu files (think that some user wants to override that too)

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

My thought was that libgnome-menu already toXDG_CONFIG_DIRS into account, and I just needed to add some XML declaration to the .menu file in order for libgnome-menu to scan the default dirs (which I think I already am).

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Looking at the UNE .menu file it seems to me that it would be quite tricky to create the Unity .menu file via simple Merge directives based on the standard Gnome one. It rather redefines some of the groupings making this quite tricky. So instead I tried porting the UNE .menu override by hardwiring it into unity-place-applications.menu

Changed in unity-place-applications:
status: Confirmed → Fix Committed
Changed in unity-place-applications:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
status: Fix Committed → Confirmed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

I'm raising the priority right now because we are close to beta and people still doesn't use what they will use in UNE because of this bug (evolution express for instance). We have to get that working ASAP to get beta user testing what we will ship in UNE.

Changed in unity-place-applications (Ubuntu):
importance: Low → High
Changed in unity-place-applications:
importance: Undecided → High
Changed in unity (Ubuntu):
status: New → Triaged
Changed in unity:
status: New → Triaged
Changed in unity (Ubuntu):
importance: Undecided → High
Changed in unity:
importance: Undecided → High
milestone: none → 2010-09-09
David Barth (dbarth)
Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
Changed in unity (Ubuntu):
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
milestone: none → ubuntu-10.10
Changed in unity-place-applications (Ubuntu):
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
milestone: none → ubuntu-10.10
Changed in unity:
status: Triaged → Fix Committed
Changed in unity-place-applications:
status: Confirmed → Fix Committed
Changed in unity (Ubuntu Maverick):
status: Triaged → Fix Released
Changed in unity-place-applications (Ubuntu Maverick):
status: Triaged → Fix Released
David Barth (dbarth)
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity-place-applications:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.