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

From: Eero Tamminen eero.tamminen at nokia.com
Date: Wed Jan 2 12:49:02 EET 2008
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?


	- Eero

More information about the maemo-developers mailing list