OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: omega on June 09, 2004, 06:53:13 am

Title: Setting up registered filetypes
Post by: omega on June 09, 2004, 06:53:13 am
Hi,

If i have a file extension, how do i modify/create a mime type for this so that filemanager will open the correct program. E.g. editing certain types of files with the text editor.
Title: Setting up registered filetypes
Post by: clofland on June 09, 2004, 07:54:17 am
I think what you need is MIME types. Look at /opt/QtPalmtop/etc/mime.types

Also, then, if you open up the .desktop file for the app that is supposed to run the file, you\'ll find the association of the app to the mime type, as well as a reference to the icon to use for the file.
The .desktop files are in /home/QtPalmtop/apps/FOLDERNAME/ where FOLDERNAME is the tab in Qt that the application is in.

Hope this points you in the right direction. I\'ve done it before, but I just stumbled through it until it worked.  Someone else may have more complete instructions.