View Single Post
Posts: 146 | Thanked: 15 times | Joined on Oct 2008
#1
Hi,
I am trying to open a list of images using the image-viewer. I have tried this:

/usr/bin/dbus-send --print-reply --dest=com.nokia.image_viewer /com/nokia/image_viewer com.nokia.image_viewer.mime_open string:file://{file1,file2,file3}

this:

/usr/bin/dbus-send --print-reply --dest=com.nokia.image_viewer /com/nokia/image_viewer com.nokia.image_viewer.mime_open string:file://{file1,file2,file3}

this:

/usr/bin/dbus-send --print-reply --dest=com.nokia.image_viewer /com/nokia/image_viewer com.nokia.image_viewer.mime_open string:file:///dir/{file1,file2,file3}

without success. The third form works for the mediaplayer application... I even tried this:

/usr/bin/dbus-send --print-reply --dest=com.nokia.image_viewer /com/nokia/image_viewer com.nokia.image_viewer.mime_open string:file:///dir/{file1}

without success either. The only thing that works is:

/usr/bin/dbus-send --print-reply --dest=com.nokia.image_viewer /com/nokia/image_viewer com.nokia.image_viewer.mime_open string:file:///file1

that is, with 1 file. But this is not useful to me, I need to open a list of files. How to do it?

Thanks!!!

Cheers,
L.
 

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