![]() ![]() |
Feb 9 2005, 10:29 AM
Post
#1
|
|
|
Group: Members Posts: 5 Joined: 27-January 05 Member No.: 6,331 |
Hi,
I seem to have lost all file types / programs associations on my C860 with its original Sharp ROM. It doesn't know anymore how to open a .txt file for instance. Is there a file somewhere that maps mime/types to given applications ? Thanks! |
|
|
|
Feb 9 2005, 06:16 PM
Post
#2
|
|
|
Group: Members Posts: 219 Joined: 10-February 04 Member No.: 1,807 |
Do you have a file named:
/home/QtPalmtop/etc/mime.types What does it contain? I have attached my copy.
Attached File(s)
|
|
|
|
Feb 11 2005, 09:39 AM
Post
#3
|
|
|
Group: Members Posts: 657 Joined: 29-September 04 Member No.: 4,809 |
Do you know what file actually associates the registered mime types (the mime.types file) with applications? I can't find any way of picking a specific app for a file extension...
|
|
|
|
Feb 11 2005, 06:14 PM
Post
#4
|
|
|
Group: Members Posts: 219 Joined: 10-February 04 Member No.: 1,807 |
/home/QtPalmtop/etc/mime.types is the file that you need to modify if you want to associate a different application with a particular file extension in the file browser. You must then reboot. I tested this by commenting out the:
application/x-troff-me me line in the mime.types file and adding the me extension to: text/plain asc me txt c cc h hh cpp hpp Sometimes I see files named, "read.me", which should be opened as a plain text file. I found that I had to reboot to make this change active. Perhaps there is some way to do this without rebooting, but I do not know what that is. |
|
|
|
Feb 11 2005, 06:33 PM
Post
#5
|
|
![]() Group: Members Posts: 1,164 Joined: 17-December 03 From: Melbourne, AUSTRALIA Member No.: 1,219 |
The .desktop file has the association between mime type and apps.
If you want an app to open a specific fiel extension you will need to create/edit the MimeType= (and probably the MimeTypeIcon=) line in the app's .desktop file Stu |
|
|
|
Feb 17 2005, 03:08 PM
Post
#6
|
|
|
Group: Members Posts: 657 Joined: 29-September 04 Member No.: 4,809 |
QUOTE(Stubear @ Feb 12 2005, 02:33 AM) The .desktop file has the association between mime type and apps. If you want an app to open a specific fiel extension you will need to create/edit the MimeType= (and probably the MimeTypeIcon=) line in the app's .desktop file Stu Perfect! The version of Opera in the Cacko feed associates itself with PDFs, which seems to block qpdf2. I can't just click on a PDF file - I have to open qpdf2, then find the file. Hopefully removing the PDF association in Opera will fix it... |
|
|
|
Feb 18 2005, 06:19 AM
Post
#7
|
|
![]() Group: Members Posts: 1,164 Joined: 17-December 03 From: Melbourne, AUSTRALIA Member No.: 1,219 |
You may need to add the PDF association to the qdf2 .desktop file (if its not already there)
|
|
|
|
Feb 18 2005, 12:28 PM
Post
#8
|
|
|
Group: Members Posts: 657 Joined: 29-September 04 Member No.: 4,809 |
QUOTE(Stubear @ Feb 18 2005, 02:19 PM) The problem seems to stem from the fact that it is listed in both the Opera desktop file, and the qpdf2 desktop file. In both cases that I tried (Cacko 1.22, and 1.22 lite) Opera was installed first. What I wonder about is why Opera has it associated at all - all it seems to be able to do with PDFs is download them. Opera also has things like Shockware associated with it, and we can't view those at ALL on the Z. (Sadly.) Removing the PDF entry from the Opera desktop file did fix the issue. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 11:37 AM |