Text files open with pdf reader instead of Sublime
0
votes
0
answers
63
views
I have Ubuntu 16.04. For some reason, the way text files were opened changed a few days ago. Before, all of them opened with Sublime. Now, they open with a pdf reader. Text files have "Python File (no console)" as Type. What's the problem? I can't really remember which was the extension of the text files before, as I never paid attention to this. So can't tell if the change is due to the new file type or the application linked to such file type.
I had a look at
~/.local/share/applications/mimeapps.list
but it's almost empty. The file defaults.list
has:
[Default Applications]
text/plain=sublime_text.desktop
which suggests to me the problem is the Python File extension. I haven't tried to change the extension of the files, as I don't know that's the problem (nor how to do it).
Any ideas?
Asked by luchonacho
(863 rep)
Oct 3, 2019, 06:13 PM
Last activity: Oct 4, 2019, 03:48 PM
Last activity: Oct 4, 2019, 03:48 PM