maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Command line for Images app (https://talk.maemo.org/showthread.php?t=90667)

Addison 2013-07-06 18:33

Command line for Images app
 
Hey guys.

I would like to write a very small script, when executed, will open up a selected image, full screen, and then launch Xmms to run on top of this.

Could I get some help just on how to load up a full screen image by command line?

Cheers.

thedead1440 2013-07-06 18:39

Re: Command line for Images app
 
"xdg-open /path/to/image" does the job on n900/n9 not sure if it works the same way on the n800.

Addison 2013-07-06 18:44

Re: Command line for Images app
 
xdg-open /media/mmc1/desktop.png
-bash: xdg-open: command not found

It's not in /usr/bin/

Could xdg-open be somewhere else?

peterleinchen 2013-07-06 18:55

Re: Command line for Images app
 
On N9 it is in /usr/bin..
Package xdg-utils

Addison 2013-07-06 18:59

Re: Command line for Images app
 
Mine goes from xbindkeys to xkbcomp to xml2gbs.

Wikiwide 2013-07-07 05:31

Re: Command line for Images app
 
Install Diablo's xdg-utils. It should include xdg-open, according to the description.
Best wishes.

Addison 2013-07-07 05:33

Re: Command line for Images app
 
Thank you Wikiwide.

I'll definitely look into this.

Thanks for the great find. :)

Addison 2013-07-07 17:21

Re: Command line for Images app
 
So I gave it a try.....

xdg-open /media/mmc1/desktop.png
/usr/bin/xdg-open: line 412: xprop: not found
/usr/bin/xdg-open: line 438: sensible-browser: not found

It wouldn't install from the app manager but dpkg -i gave no complaints.

On that Maemo site, I didn't notice any dependencies for this so I'm not sure what might be wrong.

thedead1440 2013-07-07 17:32

Re: Command line for Images app
 
install xprop and sensible browser?

Addison 2013-07-08 01:50

Re: Command line for Images app
 
Hmmm....

Nothing was found for "sensible-browser" in the database.

And xprop (v. 1:1.0.2-0ubuntu1) was only found in http://austinche.name/maemo for Bora.

Source:
http://www.gronmayer.com/it/index.php


All times are GMT. The time now is 17:13.

vBulletin® Version 3.8.8