All files of a code language, particularly python, do not display the proper file icons but instead look like text files - this only happens when the file contains some text.
As you can see the file with no code saved to it ex18.py
has the proper icon but ex1.py
has code written to it and the icon looks like a .txt
file.
How can I fix this?
mimetype ext18.py; mimetype ex1.py
ls -la /usr/share/thumbnailers