I have solved my problem. I made a bash script that when given the file name, greps the mime.types file for the mime type. Then the mimetype is formatted in the icon format, and is found with the find command. This works with DE's that are compliant with that mime standard.
|