Notices


Reply
Thread Tools
Posts: 31 | Thanked: 15 times | Joined on Oct 2007
#11
Originally Posted by skykooler View Post
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
 

The Following 2 Users Say Thank You to Atarii For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#12
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
Attached Files
File Type: zip slideshow-clutter.py.zip (1.9 KB, 75 views)
 

The Following 3 Users Say Thank You to skykooler For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#13
Originally Posted by skykooler View Post
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.
 

The Following 3 Users Say Thank You to SHARP66 For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#14
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?
Attached Files
File Type: zip slideshow-clutter.py.zip (2.1 KB, 182 views)

Last edited by skykooler; 2011-07-11 at 18:45. Reason: forgot attachment
 

The Following 8 Users Say Thank You to skykooler For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#15
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
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#16
Originally Posted by SHARP66 View Post
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.
 

The Following 2 Users Say Thank You to skykooler For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#17
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
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#18
Originally Posted by SHARP66 View Post
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's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#19
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...

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

thankyou thankyou thankyou...
__________________
My websites: -
http://www.lefebvre.org.uk
http://www.lefebvre.ltd.uk
 

The Following 3 Users Say Thank You to JohnLF For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#20
Originally Posted by JohnLF View Post
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:47.