I am trying to make a mimetype icon theme for gnome.
I have created text-x-generic.svg
for all unthemed filetype.
But what I am looking for is different icons for unthemed source code (say, R, vala,awk etc) and plain-generic text file.
Is this possible?
N.B. I have tried text-x-generic.svg
and text-generic.svg
to differentiate the source code and plain text, but that is not what linux(gnome) understands.
reply for don_crissti's Comment Say, I have icons for ruby
, and js
, but not for C
and R
. So, file.c
and file.r
should show the icons for text-x-generic-unthemed-sourcecode
icon.
And file.dat
and filename_without_extensions
should show a different icons (text-generic-plaintext
).
File-wise, they are different, as
$ file i.c
i.c: C source, ASCII text
$ file dos.dat
dos.dat: ASCII text
So, there should be some way.
file(1)
.