Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using Lubuntu 11.10. When I call the context menu (right click) many programs appear to open some file.

For example, for .tex files, besides TeXstudio and Leafpad, Gnumeric (what a strange option!) and text editor also appear.

So, I'd like to remove those bad options. For some extensions (.txt for example) I could remove the wrong programs by deleting the .desktop files somewhere in .config subfolders.

How should I do this?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Simple, copy files like /usr/share/applications/XX.desktop, to ~/.local/share/applications,

And remove the unnecessary mimetypes, from the Mimetype= line

(You might need to re-login, not sure if LXDE reloades them automatically)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.