![]() ![]() Instead of uploading a video though, we are going to click on the Create button under Create Slideshow on the right side. In these directions I’m assuming you’ve already created a Youtube account and are currently logged in to Youtube. Don’t worry about the order, you’ll be able to re-arrange them in the Slideshow editor. Your first step to creating your slideshow is to put all of the photos you want in your slideshow in an album in Google Photos. Google doesn’t offer a way to do this in Google Photos, they instead rely on the slideshow feature in Youtube. Your photos can be used in Google Drive documents, but a lot of teachers like to create slideshows of their photos. Image = Photos is a great place to store your school photos, especially if you are a Google Apps for Education school since you will have unlimited space for those photos. Print("Retrieved (",values,") at index:",index) Print("Adding file:", fn, "for", duration, "seconds")įor (index, values) in enumerate(slides): LIST = open(os.environ+"/data_dir/slide_order.txt","r") Screen = _mode(size, flags=pygame.HWSURFACE|pygame.DOUBLEBUF) Print("Obtained screen dimensions (", size, ")") If you just replace the existing slide files, the changes will be picked up at the next slide change. ![]() If you change the slide list and/or timing in the configuration file, you'll need to restart the script for changes to take effect. ![]() (This is added safety on a system that has no keyboard). As an added advantage, this code appears to be impossible to break out of into a shell and appears to be safe to run from. Nonetheless, it is running (tested, deployed) code. This may not be clean, ideal, or optimal, but it does the job, it provides quick changes between slides without a long dark space between (fbi does this if you needed it to exit and restart to vary the timing between slide changes as is my case). I looked at many different solutions to this problem, including fbi, feh, and more. When you are ready to stop the slideshow, you can press Ctrl-C in the terminal window. The echo $i is in there just so you can see what picture it just copied into place each time. It won't actually update until its finished going through the whole directory each time, but it will update. Try adding and removing pictures from the picture directory. You can make gthumb full screen now if you need to. Open gthumb and view the image in your home directory called slideshow.jpg, it should rotate the picture. while true do for i in * do cp "$i" ~/slideshow.jpg echo $i sleep 5 done done Run this command, substituting 5 with however many seconds you want to wait in between updates. open a terminal window and change to the directory made in the previous step.Make a directory with only your pictures in them.gthumb even can handle the image being updated every second and both supported the name of the file type being different from the actual file type (jpg, png, gif, etc). I tested this with Geeqie and gthumb and it actually works pretty well. The idea is to make your viewing program look at a single file and then have a command line process that copies each of your files in your directory to that file you view. This is going to sound crazy, but it works (better than I expected even) and is not that hard to setup. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |