OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Changing Preferences
xotica
post Aug 12 2005, 08:57 PM
Post #1





Group: Members
Posts: 14
Joined: 30-March 05
Member No.: 6,738



Hi everyone,

I have a c3000 running the cacko 3k beta (great job btw,) and was wondering if there was a way that I could tell the zaurus to open .png files using opera instead of image viewer. Using tree explorer I can do this manually, but I want to change the preferences so that it does this automatically. Is this possible?

Thanks, Allen
Go to the top of the page
 
+Quote Post
scheck.r
post Aug 13 2005, 01:14 PM
Post #2





Group: Members
Posts: 320
Joined: 5-December 04
From: Paris, France
Member No.: 5,776



Quoted from Meanie's great website

File Associations

The file association information is derived from two places. The file /home/QtPalmtop/etc/mime.types stores the mime types that is used to derive the association information which is then combined with the desktop files stored under /home/QtPalmtop/apps

The information inside mime.types specifies what file extensions are associated with each file type. The desktop file for each application then specifies which file type the application should handle. If you have more than one application associated with a certain file type, then only one of them will be associated, however, the logic that the Z uses to determine which one to use is unknown to me. Therefore, make sure that only one of them is associated to a file type and you will get the expected file association.

As an example, to associate Opera to .htm and .html files, you would have the following in mime.types

text/html html htm

And opera.desktop would have the following:

MimeType=text/html
MimeTypeIcons=opera


You can also associate an icon to the file association as well which is shown in the above sample. Multiple associates can be delimited with a semi colon (wink.gif.
Go to the top of the page
 
+Quote Post
xotica
post Aug 27 2005, 10:14 PM
Post #3





Group: Members
Posts: 14
Joined: 30-March 05
Member No.: 6,738



Hey scheck, thanks for the response. I think this might be beyond my capabilities =). I tried following meanie's instructions and deleted what I thought were the file associations to image viewer, etc. But it didn't work. This is not surprising to me however, because I am still learning the linux system and probably missed something obvious. I'll probably go back at this sometime next week.

Thanks, Allen
Go to the top of the page
 
+Quote Post
Cresho
post Aug 28 2005, 08:38 AM
Post #4





Group: Moderators
Posts: 1,619
Joined: 29-October 03
From: Los Angeles
Member No.: 809



you should of reboot after your changes.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd November 2014 - 01:08 PM