The same text file is opened with my default text editor or Firefox depending upon the content of the file.
For example, let's say I have a file "textfile.txt"
- If I add 878 lines of text, the file will be opened with Firefox
- If I add 72 lines of text, the file will be opened with my default text editor (leafpad).
I want to open all of them with my default text editor.
Note 1: If I remove Firefox, nothing is opened (a terminal is opened and closed quickly. I don't have time to read its content).
Note 2: The default file browser (PCManFM) always opens the text file with the default text editor no matter its size (Leafpad).
Note 3: I firstly thought it was a bug of Launchy, so I posted it here. After installing GNOME-Do, I realized it was a general issue.
UPDATE 1: full content of ~/.local/share/applications/mimeapps.list
[Added Associations]
inode/symlink=pcmanfm.desktop;
application/pdf=mupdf.desktop;
application/x-bzip-compressed-tar=synaptic.desktop;
inode/blockdevice=pcmanfm.desktop;
image/jpeg=XnView.desktop;
[Default Applications]
inode/symlink=pcmanfm.desktop
application/pdf=mupdf.desktop
image/jpeg=XnView.desktop