Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-09-02 07:25:39

gnome_refugee
Member
Registered: 2010-01-15
Posts: 169

[Solved] Where does Thunar get its list for 'Open With Other Application'?

The list has something like 150-200 entries, most with icons and very few with an associated .desktop file. I've been through usr/local/share and .local/share and can't find any such list of applications.

What I want to do is remove items from the list, and alphabetise the ones that remain. As it is, if I want to associate a particular mime type with a particular application using 'Open With Other Application', I have to scroll through ca 100 non-alphabetised entries to find the one I want.

Any thoughts?

Offline

#2 2013-09-02 12:14:32

PaperNick
Member
Registered: 2013-05-26
Posts: 106

Re: [Solved] Where does Thunar get its list for 'Open With Other Application'?

I've experienced the same problem months ago. I found the solution here (bottom answer).

Hope this helps smile

Last edited by PaperNick (2013-09-02 13:10:45)

Offline

#3 2013-09-02 12:25:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] Where does Thunar get its list for 'Open With Other Application'?

and alphabetise the ones that remain

Which version of thunar are you running? I recall this being an issue with older versions, but in 1.6x the list is now alphabetized.

What I want to do is remove items from the list

Here is a link to a mailing list entry describing how to do that:

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).

If you want the app to not show in the menu too just add 'Hidden=true'
to its desktop file (then you don't even need to edit the MimeType key
as it will be just as if it didn't exist).

EDIT: Ninja'd by PaperNick.

Last edited by ToZ (2013-09-02 12:28:44)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2013-09-02 20:09:03

demosthenese
Member
From: Liverpool, UK
Registered: 2009-05-04
Posts: 71

Re: [Solved] Where does Thunar get its list for 'Open With Other Application'?

You can speed up the scrolling by typing the first letter of the application you want, and the list selector will jump down the list.

Offline

#5 2013-09-02 22:20:26

gnome_refugee
Member
Registered: 2010-01-15
Posts: 169

Re: [Solved] Where does Thunar get its list for 'Open With Other Application'?

Many thanks for the suggestions. demosthene, I didn't know that 'type a letter' trick with the search box appearing only *after* you type. That's my answer!

Sorry, I should have mentioned it's Thunar 1.2 (Debian Wheezy Xfce 4.8). But as I mentioned, most of the listed apps are not in the share directories, and the list includes things like utilities (htop), Xfce utilities and even the X screensavers. It looks like a 'grab everything from a bunch of directories' list of apps.

The 'Open with' option in pcmanfm is more sensible - it reproduces the apps menu (Accessories, Development, etc).

Offline

Board footer

Powered by FluxBB