Is there a way to associate a program to a Dash filter?

Colin Law clanlaw at googlemail.com
Tue May 8 08:44:33 UTC 2012


On 8 May 2012 09:28, Jkhatri <khatri.jatin at gmail.com> wrote:
> On 05/08/2012 01:40 PM, Colin Law wrote:
>
> On 7 May 2012 23:42, Avi Schwartz <ubuntu-users352 at cfftechnologies.com>
> wrote:
>
> I think this is controlled by the Categories entry in the desktop
> file.  Try putting Development in there.  I have not tried it but
> looking at some of the desktop files in /usr/share/applications
> suggests this might work.
>
> Colin
>
> <<--snip-->>
>
> I'm doing this
>
> cd to /usr/share/applicaions
>
> copy any .desktop file ( as template )
> edit it as per your need .....
>
> or
>
> create a launcher with the following in it ( I've created forĀ  irfan-view (
> windows software) )
>
> less :/usr/share/applications/irfanview.desktop
>
> [Desktop Entry]
> Name=IrfanView
> Comment=Image viewer and editor
> Exec=wine /home/user1/windows-exe/IrfanView/i_view32.exe
> Terminal=false
> Type=Application
> Encoding=UTF-8
> Icon=/home/user1/windows-exe/IrfanView/IrfanView_Logo.png
> Categories=;
> X-Desktop-File-Install-Version=0.18
> Name[en_US]=irfanview

How does that address the OP's question, which was how to get it in
the Developer category of the dash?

Colin




More information about the ubuntu-users mailing list