maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Photo Frame (https://talk.maemo.org/showthread.php?t=74731)

Atarii 2011-07-11 16:16

Re: [Announce] Photo Frame
 
Quote:

Originally Posted by skykooler (Post 1048971)
Autolaunch when plugging into a wall charger: I am not quite sure how one would do that. But I will look into it.

You can do this with dbus-scripts. The battery charger event, for example is:
* * com.nokia.bme.signal charger_charging_on

skykooler 2011-07-11 17:56

Re: [Announce] Photo Frame
 
1 Attachment(s)
I added a new transition, which I like a lot (it is a 3D flip animation). To see it, run
Code:

python slideshow-clutter.py 10 /home/user/MyDocs/.images spin

SHARP66 2011-07-11 18:17

Re: [Announce] Photo Frame
 
Quote:

Originally Posted by skykooler (Post 1048943)
I am not quite sure where you get the idea that the camera app is written in Python. It isn't, as far as I can see. I may try writing an app like you describe though, using the fcam drivers. I probably won't get that done until next weekend though.

I wait for that aps...u make my day man

the code I find-it here
https://vcs.maemo.org/svn/maemoexamp...thon/camera.py

it is simple but too dark.

skykooler 2011-07-11 18:45

Re: [Announce] Photo Frame
 
1 Attachment(s)
Thank you. I will look at that this afternoon.
Meanwhile, I have added some more transitions, and I think I have about enough. I added a "shift" animation (think of Cover Flow in Mac OS X), and a "cube" animation where the images are on the edges of a cube. I also finally fixed the flashing bug in the "fade" animation!

So here is the full list of options you can run it with as the third argument:
  • fade
  • black
  • spin
  • shift
  • cube

What do you think?

SHARP66 2011-07-11 19:57

Re: [Announce] Photo Frame
 
forgive me man...for nubs like me
where should I put this slideshow-clutter.py
or what should I download because if I run from pygtkeditor it says line1 no module named clutter

skykooler 2011-07-11 20:05

Re: [Announce] Photo Frame
 
Quote:

Originally Posted by SHARP66 (Post 1049100)
forgive me man...for nubs like me
where should I put this slideshow-clutter.py
or what should I download because if I run from pygtkeditor it says line1 no module named clutter

You need to install python-clutter. Open up xterm and type
Code:

root
apt-get install python-clutter

If you haven't installed rootsh already, you will need to install that first to be able to run the "root" command.

SHARP66 2011-07-11 20:56

Re: [Announce] Photo Frame
 
running nice from pygtkeditor
but with that xterm command-line option...you said I can put anywhere
Quote: To run, extract to somewhere where you know where it is, and in a terminal run:
xterm said no such file or directory slideshow-clutter.py
something missing? ...making executable or what?

anyway from pygtkeditor is more customizable.
Sory for lot of nub questions

skykooler 2011-07-11 21:17

Re: [Announce] Photo Frame
 
Quote:

Originally Posted by SHARP66 (Post 1049130)
running nice from pygtkeditor
but with that xterm command-line option...you said I can put anywhere
Quote: To run, extract to somewhere where you know where it is, and in a terminal run:
xterm said no such file or directory slideshow-clutter.py
something missing? ...making executable or what?

anyway from pygtkeditor is more customizable.
Sory for lot of nub questions

You are probably in the wrong directory. If you downloaded it to "Nokia N900", it is actually in a folder called "MyDocs". Open xterm and type
Code:

cd MyDocs
python slideshow-clutter.py 10 /home/user/MyDocs/DCIM cube


JohnLF 2011-07-11 21:48

Re: [Announce] Photo Frame
 
Brilliant. Finally a way for me to show different photography portfolios, without the risk of random pictures popping up in the show. One folder per portfolio, job done.

Time to create a "portfolio view" screen with customised icons for each one... :D

Even better, no auto-rotation, so both portrait and landscape pictures fill the screen.

thankyou thankyou thankyou...

SHARP66 2011-07-11 22:06

Re: [Announce] Photo Frame
 
Quote:

Originally Posted by JohnLF (Post 1049156)
without the risk of random pictures popping up in the show.

eeee...what kind of pictures do you own that could not been shown...thinking...thinking...where is the democracy


All times are GMT. The time now is 07:15.

vBulletin® Version 3.8.8