Thanks a lot for the turorial, it is awesome! :) It, and also, you can change the first line to: And don't get confused with the apple2 screensaver which isn't related :)įirst, put his bash script in ~/screensavers, Best: "Apple Aerial" mpv -really-quiet -shuffle -no-audio \Īlso, make sure the ~/.xscreensaver file already exists - run the Screensaver control panel at least once. xscreensaver, make sure you edit it from something like: With \n\) Best: "Apple Aerial" mpv -really-quiet -shuffle -no-audio \Īnd selected "Only One Screen Saver", "Apple Aerial" and to Cycle After 0 Screensaver options (at the end of the big list of names with lines that end xscreensaver (which by default is in your homeĭirectory - if it is not there start xscreensaver), after all of the other You will want to replace where you saved the script and the folder where youįinally, I added this to my. (run crontab -e): 16 02 * * * /home/dhertz/screensavers/get_screensavers.py /home/dhertz/screensavers iter_content( chunk_size = 1024):Īnd then I set it to be run every day at 2:16am by adding this to my crontab Print( "Writing %s to %s" % ( asset, filename))įor chunk in film. Print( "Downloading %s" % ( asset,))įilm = requests. text)įilename = downloadDir + asset + ".mov" if not os. get( "" + "Features/atv/AutumnResources/videos/entries.json") argv) != 2:ĭownloadDir += '/' response = requests. #!/usr/bin/python import json import os import requests import sys if len( sys.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |