There is a tool called DBus-switchboard that takes care of the open of mimetypes, so it is in the system already
I remeber a program for win3.11 where you got a grid of large pixels where you could paint your own icons ...