Slide Show

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

#This is my first attempt at a theme and python! comments welcomed|

#This SuperKaramba theme searches recursively your home directory or a specified directory for JPEG or PNG image files and displays them randomly them on the desktop

#It also checks correct aspect ratio files (4:3) and adequate size (width > 200)

#Change the PATH variable in the python script file to point to your photo directory

#Change the update interval to suit your need, this is delay between image change, default 30 sec

#This themes uses either convert (faster and less CPU) or the built in function to resize the pictures (script checks for convert)

#You can change the width and height (keeping correct aspect ratio) and background image but have to tweak variables in py script

#I'm currently working on the next version wich includes animations (i.e. zoom in zoom out, slide in and out ...) But I can't get it to work with the background image. Suggestions on this problem, I need a way to mask the borders of the backgound image!
Last changelog:

15 years ago

First version 1.0, 12-02-2005

#18-02-2005 Version 1.1
#Modified directory walker not to walk hidden directories and not to include hidden files so now your .PORN collection will not be shown
#Added opening image shown in kuickshow when clicking image
#Added check to see if current random file stills exits before loading th eimage file
#Other varios vixes (div/0 in ratio calculation)

simeli

14 years ago

very nive theme this, thanks! I enjoy it, as does my family :-)
I was wondering whether I could enter more than one directory as picture source?
Tried out a lot, it seems that not...?
Could you maybe add this possibility?
(mostly used, I guess, to add the cdrom drive)

Thanks again, Simon

Report

blackhawkckc

15 years ago

I really like this theme. wish it were a bit bigger by default. Is there any way the pics could be displayed in a non-random manner? Just displays them in order?

Report

hds

15 years ago

if you like the pic to be biger, have a look at:

http://www.kde-look.org/content/show.php?content=20847

i am using a desktop resolution of 1600x1200, so it was to small for me as well. its pretty easy to resize the pics.

screenshot:
http://dieter-soltau.info/Downloads/kubicaramba20050617.png

Report

C

pcharest

15 years ago

I'll look into modifying the loading image function, it should be quite easy to load the in order found in the directory tree.

Regards

Phil

Report

bsander

15 years ago

When I point this theme to a directory that only contains pictures with a width < 200, superkaramba hangs because the theme will infinitely loop through that directory in search of a "valid" picture.

Other than that, great theme!

Report

C

pcharest

15 years ago

You can change the minimum width of the directory in the python script. Change the im_min_width variable to suit your need.

I need t figure a way around this problem. This is not trivial. Because I cant load before hand the whole possible images to verify if a valid on exits depending on this criteria.

Thanks for bringing the problem.

Phil

Report

hds

15 years ago

just a sitenote.. you forgot the "locked=false" (or true, doesnt matter) in your .theme file.

if this statement is missing, the user will unfortunately not be able to lock the applet at all.

Report

trinket

15 years ago

Good work!

when add some pictures to "work dir" i need to reload theme... why?

is possible to add a doubleclick event for open an image viewer? (gwenview, kuickshow or other)

sorry for my poor english...

Report

C

pcharest

15 years ago

Thank you

Directory loading is done when the theme is loaded, so any additionnel images added to the path will not be present in the image file list. Monitoring a whole directory might be CPU intensive (in python), maybe just an excuse (because I don't know hoe to do it) but I will look into it.

Right now i'm working on version that will not search thru the hidden folders and directpories. So thaht you can hide your .POXN directory.

Adding action on double click is trivail I should can it in the next version. Exmeple double clicking brings up kuickshow or Gimp and loads the image

Report

trinket

15 years ago

Well, i attend the new version, look this,

http://www.kde-look.org/content/show.php?content=5692

it can be useful for you...

i think you can rescan the dir at moment of update or every 60=120 sec.

IMHO, for a more cpu-less mode, is better a dedicated dir&subdir for slide show, usually some user have a photo&graphic collection in a separate dir.

For my convenience i have created an appropriate dir with link at favorite photo scattered in the home dir! :-)

Report

trinket

15 years ago

Well, i attend the new version, look this,

http://www.kde-look.org/content/show.php?content=5692

it can be useful for you...

i think you can rescan the dir at moment of update or every 60=120 sec.

IMHO, for a more cpu-less mode, is better a dedicated dir&subdir for slide show, usually some user have a photo&graphic collection in a separate dir.

For my convenience i have created an appropriate dir with link at favorite photo scattered in the home dir! :-)

Report

hds

15 years ago

please dont rescan the directory. or make it optinal at least.
i have about 4GB of fotos in there, and would not like to have them rescaned every 120 seconds ;)

Report

hds

15 years ago

no comments to this one?
doode, this is eally excellent! i am stealing it right now and include it here:
http://www.kde-look.org/content/show.php?content=20847

however, sometimes it stops updateing pictures, hmm..
simply clicking in the window, and it will go on.

btw.. couldnt we use this to display webcam pics? i never got karamba to work to update a jpg constantly changeing. to me it seems it keeps the jpg in cache, and is always displaying this one.
do you have any hints perhaps?

all about, thx for the nice slideshow, really apreciated!

Report

C

pcharest

15 years ago

I neleive that if you are using the .theme to load your webcam image than the image in the url does not get reloaded. YOu have to python to accomlisg this. Give me a link to your web cam and i'll try to modify this theme to do it.

Report

hds

15 years ago

well, i do not have an own webcam, but thisone perhaps (or maybe even randomly changeing a few?) would be nice:

http://wetter-breckerfeld.de/cam1/cam.jpg

Report

15 years ago

First version 1.0, 12-02-2005

#18-02-2005 Version 1.1
#Modified directory walker not to walk hidden directories and not to include hidden files so now your .PORN collection will not be shown
#Added opening image shown in kuickshow when clicking image
#Added check to see if current random file stills exits before loading th eimage file
#Other varios vixes (div/0 in ratio calculation)

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Feb 19 2005
added Feb 12 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0