A-foto (afoto)

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

1
5.0
Description:

A-foto (afoto) is a theme (desktop widget) that shows slide-shows of framed miniatures of your favorite pictures on your desktop.

=======

- Drag files, folders, WebCam or internet image URLs directly into the A-foto window.
- Choose one of 15+ beautiful frame styles.
- Control picture size and slideshow frequency.
- See A-foto in your language. (English, Spanish, French and Russian)
- Contribute your own frame styles.
- Extend functionality with your own plug-ins.

=======

Visit http://code.google.com/p/a-foto/wiki/Welcome

Talk to us at #superkaramba channel on IRC.

Search for a-foto on kde-look.org - Get more frames.
Last changelog:

13 years ago

Minimum Requirements:
http://code.google.com/p/a-foto/wiki/Requirements
- Python version 2.3.5
- SuperKaramba 0.41 (KDE 3.5.5)


Known Remaining Issues:
http://code.google.com/p/a-foto/wiki/GettingHelp
- Flickr plugin is NOT STABLE. It may delete all your files and burn the computer down. Make sure you have backups before dropping Flickr links onto A-Foto.

Thank you for helping improve a-foto by running afoto in console ('superkaramba afoto-1.6.skz') and sending ALL output to one of the authors.

1.6 (June, 2007)
- Fixed minor issues for users using file-based locking and signalling.
- Gave up trying to make DCOP-based locking and signalling work for everyone. Created LITE version that does checks on simple level, with hope of avoiding "Trying DCOP" hangs. If main package does not work for you, try LITE version.

1.6RC versions (February - April, 2007)
- added status message to startup procedure for easier bug-tracking.
- changed the "status" and "error" images to be more appealing.
- new feature: Edge-guard. Keeps photos from sliding beyond the edges of the screen.
- allow to use fractions of minutes.
- Plug-in support
- Internet (http-based) image and WebCam file plugin.
- Now, no "already running" message under Beryl/Compiz.
- Improved ordering mechanism. No more broken disorder when SK.quit()

1.5 (January 20, 2007)
- Added support for Unicode paths.
- bumped the required SK version to 0.41

1.5.rc (December 17, 2006)
- Starting a second instance of A-foto from SuperKaramba interface no longer breaks afoto. (As an unfortunate side effect, starting additional afoto instances by other means is not safe, hence the warning message inclusion.)
- A-foto settings now try to keep "historical priority." The last afoto closed will the the first opened.
- Introduced optimizations to skip unneeded image rotation / manipulation when not needed.
- Fixed problem with occasional improper EXIF-based orientation.
- Prepared the ground for enabling plug-in support for Flickr, webcam and other photo source variations.

1.5 beta versions (May - Jul 06)
- Enabled EXIF-based auto-rotation
- Added "Pile" frame style
- Enabled Unicode, Gettext-based translations
- Added Spanish and Russian translations.
- "recursive" scanning of dropped folders for images.
- Implemented centering of photos relative to the applet origin.
- This is an extensive rewrite with the goals of: simplification of photo sources management, and removal of visual and procedural imperfections.
- Now, there are 2 viewing modes: single photo (One photo stays forever.) and slide show (Shows photos from the dropped folder.)
- Picture frames now live in ~/.superkaramba/afoto/temas. Put YOUR custom themes there.
- Three new themes by Christian Kreibich

(list shortend for presentation purposes)

v1 (December 4, 2004)

cypherpunk

14 years ago

sure, it's very easy :)

create in ~/.kde/Autostar the file fixafotobug.sh

put this in your fixafoto.sh:

#!/bin/sh
rm ~/.superkaramba/afoto/running

then set +x on the file:
$chmod +x fixafoto.sh

enjoy :)

Report

Dareus

14 years ago

Is it possible to add the possibilty to allign the theme with the desktop borderds?
I've placed an a-foto frame top-right and quite often photos go out of desktop borders. (more often when photos changes from orizontal to vertical and vice-versa)

Report

Dareus

14 years ago

maybe to avoid this problem it could be useful to set both orizontal and vertical maximum resolution. this way we could have an idea about how bigger the photos could be and place the applet in a way to avoid it to exit from the screen.

Report

suslik

14 years ago

Good question. I was responsible for this part during the 1.5 dev cycle. The problem with edge detection is - I cannot figure out how to find out what the current screen resolution is with python or DCOP.

If anyone knows the DCOP call for current desktop size, let us know, and we will gladly implement edge detection.

Report

PaT

14 years ago

Just a quick note to tell you I love this little applet!

Keep up the great work!

PaT

Report

cypherpunk

14 years ago

I've fixed it adding a bash script in my ~/.kde/Autostart to delete the ~/.superkaramba/afoto/running file at startup.
It seems work fine. :)

Report

davepb

14 years ago

Cheers cypherpunk

Your tip fixed mine. I was using the recommended SK ver 0.41 and was still getting the problem with Beryl.

Thanks again

Dave

Report

davepb

14 years ago

I really like this theme. However, If I log out of kde and log back in again (without restarting my computer), the them fails to load. It thinks there is already an instance running (which there isn't).

If I do a complete reboot then it's fine again.

Any help would be appreciated.

I'm using SabayonLinux 3.26 64-bit, KDE 3.5.5, Superaramba 0.41 and Python 2.4.3

Thanks

Report

suslik

14 years ago

Are you using Beryl or Compiz as window manager? If yes - that's the side effect. If not we will try to figure this out...

You can sometimes catch at least one of people working on this theme on @superkaramba channel on IRC. Ask for suslik

Report

davepb

14 years ago

spot on. I'm using the latest beryl.
Why would this be a problem though?

Thanks

Dave

Report

suslik

14 years ago

To support multiple A-foto applets a "afoto is already running" flag (in a form of a file) is left on the harddrive.

When last a-foto is asked to quit, it removes the file.

Compiz / Beryl don't ask, they "kill" superkaramba when "log off" is chosen.

On next start 1st afoto you run sees the file on the harddrive and complains.

It is save to "Continue" loading afoto in that case.

Will need a better way to implement the "i am already running" thing, but I just dont have time. I tried DCOP - no worky in this particular case.

Report

davepb

14 years ago

Sorry to ask but do you know of any beryl tweaks that will ask superkaramba to close instead of kill. I will look also and if I find a fix I will post back.

Thanks

Dave

Report

suslik

14 years ago

I think forcing the KDE to "Save Session" forces Beryl to wait till all applications close properly and a-foto is suddenly ok.

Write to trebola (afoto project owner). He also runs Beryl and already hates my for making him endure that popup. :)

I think he found some some way to bypass the problem with "save session"

I'll try to fix this some time in mid February.

Report

ivanoff

14 years ago

I'd like to report a bug (as it appears to me). Is this page the good one or is there a more appropriate home page? I would not pollute this page. Thank you

Report

suslik

14 years ago

Email to either or (better) both people listed in the "About A-foto" dialog box.
(info@trebol-a.com AND dd@accentsolution.com)

There is also a bug reporting facility on the project's Google page
http://code.google.com/p/a-foto/issues/list

Thx for caring about this and reporting bugs.

Report

gillianseed

14 years ago

Congratulations! I love your applet, it really brings my kde desktop to life. You may improve the settings window, but works great anyway.

Report

suslik

14 years ago

What kind of improvements would you recommend to be done for settings?

Email dd @ accentsolution . com
and info @ trebol-a . com

Report

LocoMojo

14 years ago

I'm currently using Slackware -current and for some reason or other I can't get afoto to work as intended. After much collaboration with Suslik, the co-author of afoto, we've come to the conclusion that either the libs on my machine are borked or there's something wrong with Pat's python-2.4.3 package.

With a little work I got afoto working with some dirty workarounds. If you are using Slackware -current and you are having trouble getting afoto to work, you may want to try what I've done. Do these steps at your own risk, I won't be held responsible for any problems that arise.

1. Open superkaramba and uninstall afoto then close superkaramba.

2. Remove all instances of afoto in ~/.superkaramba by doing "rm -rf afoto*" (without the quotes).

3. If you don't already have it, download the latest afoto-"version".skz.

4. cd ~/.superkaramba, mkdir afoto-"version" (substitute "version" with the correct version number).

5. cd afoto-"version".

6. unzip /path/to/afoto-"version".skz

7. Use your favorite editor to open afoto.py

8. Go to the line that says "dropText = dropText.replace('file://','')" (line number 633 in version 1.5b7)

9. Add a new line after the abovementioned line and type dropText = "/home/user/pictures/afoto" (substitute "user" with your username)and then save the file.

10. cd

11. mkdir ~/pictures/

12. cd ~/pictures

13. mkdir afoto

14. Now to conserve space, rather than make copies of the pictures you want to use for afoto we'll simply create links to individual pictures. I wrote a simple little bash script to simplify the process:

#!/bin/bash

echo -n "Which directory are we going to use as the source? > "
read src
N=1
List=$(ls $src/*.jpg)
for i in $List; do
ln -s $i $PWD/$N.jpg;
let N+=+1;
done;

Just copy and paste the script and save it as links.sh in the ~/pictures/afoto directory. When you're finished with it move it elsewhere as to not confuse afoto later.

Using this script I quickly wound up with a bunch of links to pictures in a specified directory. I then repeated the process with other directories, but I first had to change the "N=1" line to "N=(number of current links in afoto directory + 1). In other words, the first time I ran the script I created 24 links so the next time I ran the script I put in "N = 25".

15. Once you've finished preparing your ~/pictures/afoto directory with the pictures you want to use, open superkaramba and select "open local theme" and then navigate to afoto.theme in ~/.superkaramba/afoto-"version" and select it.

16. At this point afoto still isn't working properly.

17. Right-click on the afoto widget on the desktop and select "reload theme".

18. Open up konqueror and navigate to ~/pictures/afoto then drag and drop one picture to the afoto widget.

19. Right-click the afoto widget and select "reload theme" again.

20. If all went well, it should be working correctly now. At least it did for me at this point.

Any time I want to change out the pictures I simply close superkaramba, navigate to the ~/pictures/afoto directory and rm -rf * and then run the little bash script above with new directories of pictures. Then I start up superkaramba, right-click and select "reload theme" and the new pictures will appear.

Hope this helps some fellow slackers out there :)

Good luck!

LocoMojo

Report

dsangui

14 years ago

Hi! Excellent piece of work you've got here!

It's very useful indeed... Especially for the ones that, like me, spend a lot of time in front of the computer.

Now, for the 'not-so-good' part:
- Even if I set the slideshow interval, it will always change from image to image in about 10s.
- I think it would be a great idea if one could just put there a pictures folder, a change it whenever he wants, choosing from individual or slideshow feat; somehow like Webshots for Win.

Cheers,

David Sanguinetti

Report

dsangui

14 years ago

Well, I've just noticed that I was using Superkaramba 3.7...

I'm sorry; now everything works just fine!

Keep up the great work.

Best wishes,

David Sanguinetti

Report

arsenic

14 years ago

It's probably some terribly stupid thing on my part but for some reason your widget isn't working for me. I can load it and I see the splash screen with the example picture in it.. but dragging and dropping files or folders appears to have no effect at all. I tried manually putting the images into what I assume is the dir that it chooses them from (the folder that contains the splash screen) and still nothing happened.

Python, SuperKaramba and A-foto are all most recent versions.

Am I missing something obvious here?

Report

C

trebol-a

14 years ago

Can you delete all afoto* files & folders in your ~/.superkaramba folder and launch a-foto widget?

After drag&drop one image.

It going now?¿

Report

LocoMojo

14 years ago

I have the exact same problem as arsenic up above.

I did everything he did and I experienced the exact same things he did.

I tried what you suggested to him, but I still can't get it to work.

If I remove the inicio.png file and put one of my pictures in the directory and rename it to inicio.png then it works, but only that one picture.

When I installed afoto I only got the temas directory, locale directory, and afoto.png file installed. The theme file and the *.py files don't install so I manually unzipped the .skz files into my ~/.superkaramba/a-foto directory, but it still doesn't work.

Any suggestions?

LocoMojo

Report

suslik

14 years ago

Could you run afoto in the console like this:
"superkaramba /path/to/afoto.skz"

Try dropping the files onto the applet. If there's any output / errors showing up in the console while you are doing whatever you are trying to do.

Send the output to
software @ accentsoluion.com or
the main author of a-foto

Report

ubunjusty

14 years ago

I can confirm that I'm having this problem as well.

My output is...
sys.path.insert(0, '/home/justyb/Desktop/32185-afoto-1.5rc1.skz')
Call to initWidget failed
Traceback (most recent call last):
File "/home/justyb/Desktop/32185-afoto-1.5rc1.skz/afoto.py", line 1050, in initWidget
File "/home/justyb/Desktop/32185-afoto-1.5rc1.skz/afoto.py", line 336, in commonConfig

I'll forward it on to the main guy.

Report

13 years ago

Minimum Requirements:
http://code.google.com/p/a-foto/wiki/Requirements
- Python version 2.3.5
- SuperKaramba 0.41 (KDE 3.5.5)


Known Remaining Issues:
http://code.google.com/p/a-foto/wiki/GettingHelp
- Flickr plugin is NOT STABLE. It may delete all your files and burn the computer down. Make sure you have backups before dropping Flickr links onto A-Foto.

Thank you for helping improve a-foto by running afoto in console ('superkaramba afoto-1.6.skz') and sending ALL output to one of the authors.

1.6 (June, 2007)
- Fixed minor issues for users using file-based locking and signalling.
- Gave up trying to make DCOP-based locking and signalling work for everyone. Created LITE version that does checks on simple level, with hope of avoiding "Trying DCOP" hangs. If main package does not work for you, try LITE version.

1.6RC versions (February - April, 2007)
- added status message to startup procedure for easier bug-tracking.
- changed the "status" and "error" images to be more appealing.
- new feature: Edge-guard. Keeps photos from sliding beyond the edges of the screen.
- allow to use fractions of minutes.
- Plug-in support
- Internet (http-based) image and WebCam file plugin.
- Now, no "already running" message under Beryl/Compiz.
- Improved ordering mechanism. No more broken disorder when SK.quit()

1.5 (January 20, 2007)
- Added support for Unicode paths.
- bumped the required SK version to 0.41

1.5.rc (December 17, 2006)
- Starting a second instance of A-foto from SuperKaramba interface no longer breaks afoto. (As an unfortunate side effect, starting additional afoto instances by other means is not safe, hence the warning message inclusion.)
- A-foto settings now try to keep "historical priority." The last afoto closed will the the first opened.
- Introduced optimizations to skip unneeded image rotation / manipulation when not needed.
- Fixed problem with occasional improper EXIF-based orientation.
- Prepared the ground for enabling plug-in support for Flickr, webcam and other photo source variations.

1.5 beta versions (May - Jul 06)
- Enabled EXIF-based auto-rotation
- Added "Pile" frame style
- Enabled Unicode, Gettext-based translations
- Added Spanish and Russian translations.
- "recursive" scanning of dropped folders for images.
- Implemented centering of photos relative to the applet origin.
- This is an extensive rewrite with the goals of: simplification of photo sources management, and removal of visual and procedural imperfections.
- Now, there are 2 viewing modes: single photo (One photo stays forever.) and slide show (Shows photos from the dropped folder.)
- Picture frames now live in ~/.superkaramba/afoto/temas. Put YOUR custom themes there.
- Three new themes by Christian Kreibich

(list shortend for presentation purposes)

v1 (December 4, 2004)

12345678910
Be the first to comment
enzuru
Mar 14 2009
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
1.6
updated Jun 06 2007
added Dec 04 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 6