Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Somehow, on my computer at work the default application for JPG files is ... wine ! Wine is not even installed anymore.

I can "open with" other applications. But no matter what i've tried "wine" still remains the default.

I want to completely delete the "wine" from the list of applications that can open JPG.

Is there any application that would allow me full access (see, edit, delete) to all the file associations for ALL the file types ?

share|improve this question

marked as duplicate by Rinzwind, Mitch, Basharat Sialvi, user68186, Raja May 1 '13 at 16:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1… ;) – Rinzwind May 1 '13 at 8:44

To change the default program to open images

  • Open System Settings by typing it in the dash.
  • Go to "Details" in the bottom row.
  • Click "Default Applications"
  • The last option is called 'Photos'. I suggest using Image Viewer (it should be this by default)

To remove wine program associations according to Wine FAQ

  • Open Terminal (CTRL+ALT+T)
  • Paste these commands in, one after the other:

    rm -f ~/.local/share/mime/packages/x-wine*
    rm -f ~/.local/share/applications/wine-extension*
    rm -f ~/.local/share/icons/hicolor/*/*/application-x-wine-extension*
    rm -f ~/.local/share/mime/application/x-wine-extension* 
share|improve this answer

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