This bug has also been reported in launchpad for PBM images by Tom Womack: https://bugs.edge.launchpad.net/ubuntu/+source/shared-mime-info/+bug/99736
He said:
"I have a text file which begins 'P13438 = 2 * 3 * 7 * 1047137401 * 8868717860281682366053088136263931781236052676953 * 37740643638981149828904962487908210028313437770048087043525652181' - it's a list of factorizations of partition numbers.
For some reason nautilus thinks this is a PBM image, and won't by default open it with gedit.
I think that files which claim to be text files should be opened with the text editor whether or not nautilus thinks they are text files."
This bug has also been reported in launchpad for PBM images by Tom Womack: https:/ /bugs.edge. launchpad. net/ubuntu/ +source/ shared- mime-info/ +bug/99736 236605308813626 393178123605267 6953 * 377406436389811 498289049624879 082100283134377 700480870435256 52181' - it's a list of factorizations of partition numbers.
He said:
"I have a text file which begins 'P13438 = 2 * 3 * 7 * 1047137401 * 886871786028168
For some reason nautilus thinks this is a PBM image, and won't by default open it with gedit.
I think that files which claim to be text files should be opened with the text editor whether or not nautilus thinks they are text files."