View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
Originally Posted by lma View Post
.
Does anyone have any tips for an appropriate .mailcap? It seems that most of the built-in apps (eg osso_pdfviewer) don't accept command-line arguments. Is there a gnome-open equivalent that I haven't discovered yet perhaps?
dbus-send --type=method_call --dest=com.nokia.osso_pdfviewer /usr/bin/osso_pdfviewer com.nokia.osso_pdfviewer.mime_open string:file://<path to file>

mime_open is always the same and if you need to do it for another app, I run dbus-monitor & open a file with the file manager to see the right osso_*.

That said, https://bugs.maemo.org/show_bug.cgi?id=2521 may be more useful.

Last edited by qwerty12; 2009-04-14 at 22:07.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post: