Active Topics

 


Reply
Thread Tools
Posts: 80 | Thanked: 1 time | Joined on Mar 2010
#1
Is it possible to associate file extensions
to a software ?

many deffoults are wrong...
for exm:

1. in many video site when i click on video they open .asx file . by defult my n900 run the mediaplayer but he cant play (some not support error) . so i want to set .asx to play with kmplayer . (he can play great)

2. i want to set some txt formats files to open with notes app

there is a regstry file in maemo to set this??

thank you

Last edited by pmedia; 2010-05-20 at 02:21.
 
xomm's Avatar
Posts: 609 | Thanked: 243 times | Joined on Jan 2010 @ Eastern USA
#2
Originally Posted by pmedia View Post
Is it possible to associate file extensions
to a software ?

many deffoults are wrong...
for exm:

1. in many video site when i click on video they open .asx file . by defult my n900 run the mediaplayer but he cant play (some not support error) . so i want to set .asx to play with kmplayer . (he can play great)

2. i want to set .txt files to open with notes app

there is a regstry file in maemo to set this??

thank you
.txt files already open with Notes, as far as I know.

Although the rest, I would like to know as well.
__________________
==In school once again. Free time limited to night, holidays and weekends.==
Hi! I'm Andy, a Maemo Greeter! I'm also a moderator of the Applications, Nokia N900, and Maemo 5/Fremantle forums.
Useful Links: Maemo Wiki Main Page, New users start here, Beginners' wiki page, Maemo5 101, Frequently Asked Questions (FAQ)
Also, pin yourself in the map! Maemo Map. Send me a PM (Private Message) if I leave you hanging on a problem (or if you need more help).
Owner of both a N800 and N900; Active community member since Jan 2010. You've been xommified! - My blog.
 
Siggen's Avatar
Posts: 204 | Thanked: 75 times | Joined on Jan 2010 @ Norway
#3
To answer OP's question,

Yes, this is called mime types, I dont know by heart where the mime type configuration is, but It should be in an arbitrary linux location, search google for mime types in linux or something, or search the forums because i know it has been answered here countless times.
 
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#4
Well, there's an executable /usr/bin/update-mime-database and another one called /usr/bin/tracker-register-mimetype which is meant to add and delete associations and there's /usr/share/mime directory. I think it's there.

Couldn't find the traditional /etc/mailcap though.
__________________
My nickname on freenode is ptl, that is, the consonants of my nickname here. Kind of a long story.
 

The Following User Says Thank You to Patola For This Useful Post:
Posts: 80 | Thanked: 1 time | Joined on Mar 2010
#5
Originally Posted by Patola View Post
Well, there's an executable /usr/bin/update-mime-database and another one called /usr/bin/tracker-register-mimetype which is meant to add and delete associations and there's /usr/share/mime directory. I think it's there.

Couldn't find the traditional /etc/mailcap though.
i traid to open tose 2 database files with notesl to edit them but it cant open corently...

how can i set asx files to kmplayer??
 
Posts: 263 | Thanked: 108 times | Joined on May 2008
#6
Originally Posted by pmedia View Post
i traid to open tose 2 database files with notesl to edit them but it cant open corently...

how can i set asx files to kmplayer??
Edit "/usr/share/applications/defaults.list" file.
 

The Following 3 Users Say Thank You to ivnvir For This Useful Post:
Posts: 80 | Thanked: 1 time | Joined on Mar 2010
#7
Originally Posted by ivnvir View Post
Edit "/usr/share/applications/defaults.list" file.
thanks, i found this line
"application/x-ms-asx=hildon-mediaplayer.desktop"

what the corent line for kmplayer

application/x-ms-asx=hildon-kmplayer.desktop

this ok??
 
Posts: 80 | Thanked: 1 time | Joined on Mar 2010
#8
Originally Posted by ivnvir View Post
Edit "/usr/share/applications/defaults.list" file.
after i edit this line

"application/x-ms-asx=hildon-mediaplayer.desktop"

to


"application/x-ms-asx=hildon-kmplayer.desktop"

now he ask me "select app to run x.asx...."
even when i undo the changes steel "select app" show up

i also traid mp3,avi - same resols

help plz!!
 
Posts: 346 | Thanked: 271 times | Joined on Jan 2010
#9
Try: "application/x-ms-asx=kmplayer.desktop"
 
Posts: 80 | Thanked: 1 time | Joined on Mar 2010
#10
Originally Posted by Megaltariak View Post
Try: "application/x-ms-asx=kmplayer.desktop"
steel not work. any idea?
maybe its cant possble to set 3part software but the beild in apps ?
or maybe i need to edit onther files?

plz help, i realy will happy to make this work.
 
Reply

Tags
default


 
Forum Jump


All times are GMT. The time now is 21:45.