0

Over nautilus I have a .blend file and whilst I double click it I want to be opened with blender. I have installed the blender via snap instead of apt derived one.

The problem is that when I double click it to open it prompts me to a window in order to search for a program instead of opening it.

0

Run the following command over the terminal

gedit ~/.local/share/applications/mimeapps.list

Or:

nano ~/.local/share/applications/mimeapps.list

Then append the following entry to the end of it:

application/x-blender=blender.desktop

Also this can be done via the following command:

echo "application/x-blender=blender.desktop" >> ~/.local/share/applications/mimeapps.list
  • 1
    Also of note is that the apt installed blender should put the blender.desktop file into position so that it becomes part of the mime database. The missed step with using snap would be either installing blender.desktop or updating the mime database after install. – sambler Nov 12 '18 at 7:53

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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