Author Topic: Setting up registered filetypes  (Read 1854 times)

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
Setting up registered filetypes
« 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.
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

clofland

  • Full Member
  • ***
  • Posts: 247
    • View Profile
    • http://www.lofland.net/
Setting up registered filetypes
« Reply #1 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.
C-760 Last Running pdaXrom 1.1.0beta3
- Sandisk UltraII 1GB SD card - Socket LP CF LAN card - Socket LP CF WLAN card - Socket CF Bluetooth Card Rev H -