![]() ![]() ![]() Then need to open xscreenserver to generate a ~/.xscreensaver file. Open index.html in browser to view everything is working fine and copy de path.Įxample path in browser: file:///usr/lib/xscreensaver/webnuxsaver/index.html cd videos python getArrayVideos.pyĮxample output: Ĭopy the output and add in index.html the array of videos in videosStorage variable. run getArrayVideos.py inside of the videos folder to get all the array of videos. Install xscreensaver sudo apt-get install xscreensaverĬlone webnuxsaver project wherever you want and add mp4/webm format in folder videos. Too old question but here is another way to play a list of videos as screensaver: Once this code has been put in, use Ctrl+ S to save, and then change your screensaver to your new one. (ex: *.mp4) The -shuffle tag can also be applied to make the videos play in a random order. If you want to play all the videos in a folder, put something like $HOME/Videos/* You can also limit it to a specific file format by putting that format after the asterisk. "fileDirectory" can be made a single file, or a folder. On the top of the list, put in code similar to this: "Screensaver Name" mpv -really-quiet -no-audio -no-stop-screensaver -loop=inf -fs -wid=$XSCREENSAVER_WINDOW $HOME/fileDirectory Scroll down to the part of the code that says "programs". Go into Terminal, and type gedit ~/.xscreensaver. ![]() Mpv can be installed by typing sudo apt-get install mpv. Xscreensaver can be installed by typing sudo apt-get install xscreensaver. There are some really complicated suggestions on here, but making a video your screensaver is really easy when using xscreensaver and mpv. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |