How to remove items from the "Open With" menu in thunar?
Chris Green
cl at isbd.net
Fri Dec 7 17:05:20 CET 2012
On Fri, Dec 07, 2012 at 01:16:44PM -0200, Sergio wrote:
> On 12/07/2012 12:35 PM, Chris Green wrote:
> >As per the subject, how do you *remove* entries from the list of
> >applications that you get to see when you right click on a file in
> >thunar?
> >
> >I know how to set the preferred application that the file is opened with
> >if you activate the file but I can't see how to get rid of entries in
> >the sub-menu that opens if you click on "Open With".
> >
>
> You have to edit its desktop file and remove the appropriate MimeType value.
>
> Copy the app's desktop file from /usr/share/applications to
> /usr/local/share/applications (for system-wide changes) or
> ~/.local/share/applications (only for you) and remove the MIME type
> you don't want to use. Then run 'update-desktop-database' as root
> (system-wide) or 'update-desktop-database
> ~/.local/share/applications' as yourself (for local).
>
Thanks, how messy! :-)
However, more to the point it shows me how to get rid of ones I have
added by mistake as they have created entries in ~/.local/share/applications.
So thanks some more.
--
Chris Green
More information about the Xfce
mailing list