Re: [Tracker] [PATCH] Application Indexing

On Sat, 2007-03-03 at 16:49 +0100, Michael Biebl wrote:

1) we need to watch the dirs for desktop files (use
tracker_add_service_path to watch /usr/share/applications)

2) we use (1) above to work out its a desktop file (im not sure about
checking the extension is .desktop - Im only really interested in apps
in /usr/share/applications)

/usr/share/applications is a good default, but you should also check
the environment variable XDG_DATA_DIRS. This contains a list of paths
[2]. You should also check these paths (you have to append
"applications" to each element in XDG_DATA_DIRS).


[2] eg. on Gentoo:

yeah thats a good idea - we should check for an "applications" folder in
all those...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]