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

From: Marius Gedminas marius at pov.lt
Date: Mon Jan 7 13:45:33 EET 2008
On Wed, Jan 02, 2008 at 12:49:02PM +0200, Eero Tamminen wrote:
> Hi,
> 
> ext Marius Gedminas wrote:
> >On Fri, Dec 28, 2007 at 04:52:14PM +0200, Tuomas Kulve wrote:
> >>>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
> 
> Even better would be to provide the standard xdg-utils package:
> 	http://portland.freedesktop.org/wiki/
> 
> The binary could be named as hildon-open, but it should be at least
> symlinked to xdg-open, and the package containing this should state
> that it "Provides" xdg-utils.
> 
> Could you make a bug about this and put me on CC?

Sure: https://bugs.maemo.org/show_bug.cgi?id=2724

Marius Gedminas
-- 
Key emulation:
[ ] Intuitive
[*] Emacs        (Seen in an MCEdit dialog) 
-------------- 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/20080107/072a64b9/attachment.pgp 
More information about the maemo-developers mailing list