Do

Incorrect default paths when XDG_xxx is not defined

Bug #344727 reported by Eric Work
4
Affects Status Importance Assigned to Milestone
Do
Fix Released
Low
Unassigned

Bug Description

The ApplicationItemSource has incorrect default paths when XDG_xxx has not been defined. XDG_DATA_DIRS is effectively being set as /usr/share/applications:/usr/local/share, when it should be /usr/share:/usr/local/share. The attached patch fixes this minor 1 line problem (plus minor cleanup).

Revision history for this message
Eric Work (ework) wrote :
Revision history for this message
Eric Work (ework) wrote :

I should mention that this is likely the problem most people are having when they say their applications don't show up in gnome-do searches (from the gnome menu). This is most definitely a problem in Fedora 10 (with 0.8.x) where XDG_DATA_DIRS doesn't seem to be defined.

As a workaround you can put this line near the top of /usr/bin/gnome-do.

export XDG_DATA_DIRS=/usr/share:/usr/local/share

Revision history for this message
Alex Launi (alexlauni) wrote : Re: [Bug 344727] Re: Incorrect default paths when XDG_xxx is not defined

On Wed, Mar 18, 2009 at 5:19 AM, Eric Work <email address hidden> wrote:

> I should mention that this is likely the problem most people are having
> when they say their applications don't show up in gnome-do searches
> (from the gnome menu). This is most definitely a problem in Fedora 10
> (with 0.8.x) where XDG_DATA_DIRS doesn't seem to be defined.
>

Good guess, but I guarantee this isn't the problem with that bug report.
This was added about a week ago, and that bug report is much older. Thanks
for your patch.

--
--Alex Launi

Robert Dyer (psybers)
Changed in do:
importance: Undecided → Low
Robert Dyer (psybers)
Changed in do:
status: New → Fix Committed
Changed in do:
status: Fix Committed → Fix Released
milestone: none → 0.8.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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