[maemo-developers] Dbus call to launch Image-Viewer?

From: Marius Gedminas marius at pov.lt
Date: Sat Dec 29 23:50:22 EET 2007
On Fri, Dec 28, 2007 at 04:52:14PM +0200, Tuomas Kulve wrote:
> Denis DeLaRoca wrote:
> > Hi,
> > 
> > Is there a Dbus call to launch the Image-Viewer app with a parameter image 
> > file?
> 
> Not sure about dbus call, but check hildon_mime_open_file() in
> /usr/include/hildon-mime.h.
> 
> At least it's trivial to make a simple executable opening a file with that.
> 
> I think that basically just sends a dbus call, so using dbus directly
> should be possible too.

I would be nice if future version of the OS came with a small hildon-open
program, similar to gnome-open on desktop systems.

  $ hildon-open /path/to/file
  $ hildon-open http://some/url

Marius Gedminas
-- 
Prediction is very difficult, especially of the future.
                -- Niels Bohr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20071229/a43d3c7f/attachment.pgp 
More information about the maemo-developers mailing list