View Single Post
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#31
I have updated dbus-switchboard to version 1.1.0 which you can download here :
http://wardenclyffetower.com/MaemoFi...-1.1.3.all.deb

This release :
Adds two new cfg files in /home/user
Adds qole's custom asx handler
Adds evince and comix (neither tested)

New config files :
/home/user/.dbus-switch-apps.cfg : this contains registry of all dbus-switchboard apps

Code:
MPlayer,cli,/usr/bin/mplayer %params%
Transmission,cli,/usr/lib/transmission/transmission %params%
Evince,cli,evince %params%
Comix,cli,comix %params%
/home/user/.dbus-switch-xref.cfg : this contains crossref matching file extension to app

Code:
.torrent,Transmission
.avi,MPlayer
.wmv,MPlayer
.mp4,MPlayer
.mpeg,MPlayer
.pdf,Evince
.cbr,Comix
You still need to register the mime-types in defaults.list. Find the mime type in defaults.list and set it to = hildon-dbus-switchboard.desktop

If you try to associate a mime type with no previous entry in defaults.list and you want to use that association from file manager (and not web browser) then there might be another master-list mime config file it needs to be added to. Transmission (application/x-bittorrent) works because the web server tells browser what the mime type is... but that info is lost if you save the torrent and open from file manager... so probably another config file for those cases.

The .dbus-switch-apps.cfg file will be the 'master list' with any possible apps we might want to associate. Experiment with these files and then let me know of any new apps or 'profiles' you want added... so for like mplayer maybe you want multiple profiles with different launch settings.... mplayerStreaming, mplayerMADaudio, etc

The .dbus-switch-xref.cfg will be custom per user and used in future by a UI application to choose which app (if multiple choices) the file should be sent to.

Last edited by pipeline; 2008-05-15 at 02:01.
 

The Following 3 Users Say Thank You to pipeline For This Useful Post: