← Back to team overview

unity-design team mailing list archive

Re: Which folders does home lens search for applications

 

Den 07. april 2012 13:12, skrev Colin Law:
On 7 April 2012 12:03, Pedro Bessa<pedbessa@xxxxxxxxx>  wrote:
On 07-04-2012 06:02, Colin Law wrote:
Does the Home Lens use the presence of .desktop files to show
applications?  If so which folders does it search?  I notice that it
does not find .desktop files on the Desktop.  Should it?

Colin

As far as I know: yes, /usr/share/applications, no. The .desktop file will
have to be written like an existing .desktop file, owned by root:root,
readable and writable by the owner, readable by the group, readable by
others and not executable.
Should it not also at least look in ~/.local/share/applications?
Arguably also in ~/Desktop.

Colin

It does search applications in ~/.local/share/applications. I don't, however, think it should search ~/Desktop. We should encourage the use of well-known locations for such things. Everything becomes much more difficult when you can't rely on locations. Homeless dotfiles too, annoys me to no end.

--
Jo-Erlend Schinstad



Follow ups

References