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

Wikiwide 2013-07-15 02:46

Re: Command line for Images app
 
sensible-browser is included in Debianutils.
xprop is part of X11-utils in Extras-devel.
Best wishes.
_________________
Per aspera ad astra...

Addison 2013-07-15 03:27

Re: Command line for Images app
 
Hmm.

The only thing showing that's available to install from the app manager is X11vnc 0.9.3-maemo4 and nothing about debianutils either.

Here is my extra devel repo that is enabled.

Extras Devel
http://repository.maemo.org/extras-devel/

free non-free

Wikiwide 2013-07-15 15:11

Re: Command line for Images app
 
X11-utils is here: extras-devel fremantle free. Since you have extras-devel, free, the only difference there could be is fremantle vs. fremantle-1.3
Debianutils are in extras fremantle free.

Debianutils for Diablo, in extras-devel
X11-utils for Diablo, in extras-devel
X11vnc 0.9.3-maemo4 is from Diablo Extras; in Diablo Extras-devel, there is X11vnc 0.9.3-maemo1
Best wishes.

Addison 2013-07-15 15:50

Re: Command line for Images app
 
Thank you for the generous help Wiki.

Almost there. :)


dpkg -i x11-utils_0.1-1_armel.deb
Selecting previously deselected package x11-utils.
(Reading database ... 22567 files and directories currently installed.)
Unpacking x11-utils (from x11-utils_0.1-1_armel.deb) ...
Setting up x11-utils (0.1-1) ...

dpkg -i debianutils_2.17maemo2_armel.deb
Selecting previously deselected package debianutils.
dpkg: regarding debianutils_2.17maemo2_armel.deb containing debianutils, pre-dependency problem:
debianutils pre-depends on coreutils (>= 4.5.8-1)
dpkg: error processing debianutils_2.17maemo2_armel.deb (--install):
pre-dependency problem - not installing debianutils
Errors were encountered while processing:
debianutils_2.17maemo2_armel.deb

Wikiwide 2013-07-15 22:49

Re: Command line for Images app
 
Coreutils for maemo 4.1.2, free
Best wishes.

Addison 2013-07-15 22:57

Re: Command line for Images app
 
I really hate dependencies, especially when I would only like to do one simple thing.


dpkg -i coreutils_5.2.1-2osso2_armel.deb
Selecting previously deselected package coreutils.
dpkg: regarding coreutils_5.2.1-2osso2_armel.deb containing coreutils, pre-dependency problem:
coreutils pre-depends on libacl1 (>= 2.2.11-1)
dpkg: error processing coreutils_5.2.1-2osso2_armel.deb (--install):
pre-dependency problem - not installing coreutils
Errors were encountered while processing:
coreutils_5.2.1-2osso2_armel.deb

Wikiwide 2013-07-15 23:28

Re: Command line for Images app
 
libacl1 for Diablo in free
Just in case. libattr1 for Diablo in free
Best wishes.


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

vBulletin® Version 3.8.8