← Back to team overview

unity-design team mailing list archive

Re: Which folders does home lens search for applications

 

On 7 April 2012 13:28, Jeremy Bicha <jbicha@xxxxxxxxxx> wrote:
> On 7 April 2012 07:27, Jo-Erlend Schinstad <joerlend.schinstad@xxxxxxxxx> wrote:
>> 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.
>
> Did you run sudo update-desktop-database?

I was not saying that I have a problem, just asking what it /should/
do before I do some testing.

Thanks for pointing out that command however.  Is the cache built by
that command used by the Dash to show installed apps?

Colin


References