maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   How to start image-viewer from command line (https://talk.maemo.org/showthread.php?t=57825)

qiet72 2010-07-05 13:25

How to start image-viewer from command line
 
Hi,

I am currently writing a shell script to view a picture in an encrypted file (truecrypt). In order for this to work, I would like to start the image viewer application with a specified picture file. Unfortunately, even though you can start it via the gui, it does not want to start via the command line. If I just type "image-viewer" from the command line using the normal user account, nothing happens. It starts fine if I use the "Photo" hildon desktop shortcut.

There is also a image-viewer.launch file but it segfaults if I try to run that.

What am I doing wrong?

qiet72

No!No!No!Yes! 2010-07-05 16:37

Re: How to start image-viewer from command line
 
Quote:

Originally Posted by qiet72 (Post 741230)
Hi,

I am currently writing a shell script to view a picture in an encrypted file (truecrypt). In order for this to work, I would like to start the image viewer application with a specified picture file. Unfortunately, even though you can start it via the gui, it does not want to start via the command line. If I just type "image-viewer" from the command line using the normal user account, nothing happens. It starts fine if I use the "Photo" hildon desktop shortcut.

There is also a image-viewer.launch file but it segfaults if I try to run that.

What am I doing wrong?

qiet72

Ciao, see HERE

qiet72 2010-07-06 07:15

Re: How to start image-viewer from command line
 
Hi,

I found an alternate solution, use ImageMagick. It's in the maemo repository - also for the N900 and you can view a picture by doing a "display <picture.jpg>".

Thanks for your help though.

qiet72


All times are GMT. The time now is 19:56.

vBulletin® Version 3.8.8