![]() The screensaver should kick in after your specified idle time and if you have set it to lock after a time period in xscreensaver properties that should work too. If all has gone well your menu lock screen shortcut and Ctrl-Alt-L keyboard shortcut should lock the screen with the xscreensaver lock-screen. Blank time is the idle time before the screensaver kicks in. Most of the settings are self-explanatory. Alternatively you can launch it from the terminal with the command xscreensaver-demo. ![]() In the menu xscreensaver properties can be found in the preferences category as a 2nd Screensaver entry with the description Change screensaver properties. Step 7 - Set up your xscreensaver preferences Open Startup Applications and add a custom startup entry with no delay to run the command xscreensaver if you have multiple users you will need to do this for each user account. Step 5 - Set xscreensaver to start at user logon Simply rerun this command after any update to cinnamon-screensaver, Please note this link will be overwritten by any future updates to the cinnamon-screensaver package. More info: How do I configure xscreensaver to use the GNOME lockscreen on Ubuntu 14.Code: Select all sudo ln -sf /usr/bin/xscreensaver-command /usr/bin/cinnamon-screensaver-command Or in shortcuts keyboard add the next command: xscreensaver-command -lock Then still under Brightness & Lock, set "Lock screen after:" to "Screen turns off". Set "Turn screen off when inactive for x minutes" to the same value as you set xscreensavers "Blank after x minutes" setting (e.g. Ensure "Lock screen after" is UNCHECKED.ģ)Finally, go to System Settings / Brightness & Lock. Set the "Blank after x minutes" to your desired amount (e.g. Add a new entry to launch the xscreensaver daemon on startup as xscreensaver -no-splash.Ģ)You need to bring up the xscreensaver config app. Follow the next steps:ġ) xscreensaver needs to be launched at startup via "Startup Applications" (hit Super and type "Startup"). Open your browser to get the path.Įxtra note: Try to use simple name of the videos without special characters.įinally to start with xscreensaver as default. Note: is the url of local file of the index.html. Webscreensaver -url "file:///usr/lib/xscreensaver/webnuxsaver/index.html" Open xscreensaver and search for webscreensaver then click in settings then advanced> Close xscreensaver and open ~/.xscreensaver file then edit ~/.xscreensaver: 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. |