![]() ![]() imageDirectory: When loading images from disk, this is the directory to search. I'm running elementary OS, and the result looks something like this (moving. xscreensaver-getimage reads the /.xscreensaver file for configuration. Within xwinwrap, mplayer is taking care of the playback.Īnd as a last step, I added the above script to my crontab so that it starts when I log in (I'm not sure whether it's the best way, but it does the job well): ~/hatter/go.sh It just kills any instance of xwinwrap running if there's any, or starts an instance when none is running, which can be customized with these flags. Xwinwrap -ni -o 1.0 -fs -s -st -sp -b -nf -g 1920x1080 0 0 - mplayer -wid WID -nosound -shuffle *.mov then Instead of xscreensaver I downloaded xwinwrap, which is for snapping anything to your desktop as wallpaper, and then made this script in the folder of the downloaded videos: !#/bin/bash I wanted to use the videos as wallpaper instead of screensavers, so I tweaked it a little bit. Thanks a lot for the turorial, it is awesome! :) xscreensaver in the Location: field, and click open. 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, xscreensaver file in your home directory or in the X resource database. 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. Options to xscreensaver are stored in one of two places: in a. 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. This suggests the problem is "Executable path is not absolute", so I opened the file /usr/lib/systemd/user/xscreensaver.#!/usr/bin/python import json import os import requests import sys if len( sys. Апр 03 18:07:22 nestor-Eve-V systemd: rvice: Cannot add dependency job, ignoring: Unit rvice is not loaded properly: Exec format error. Апр 03 18:07:22 nestor-Eve-V systemd: /usr/lib/systemd/user/rvice:5: Executable path is not absolute: xscreensaver Loaded: error (Reason: Exec format error) See user logs and 'systemctl -user status rvice' for details. Systemctl -user start rviceĪfter the last command I got the message: Failed to start rvice: Unit rvice is not loaded properly: Exec format error. Sudo apt-get purge -auto-remove gnome-screensaver Then I followed the instructions here and I did: sudo apt-get remove -auto-remove gnome-screensaver I guess, this is good and excludes the possibility that screensaver just doesn't get automatically started on start-up. If after a restart I type xscreensaver -nosplash I get: xscreensaver: 18:39:29: already running on display :0 (window 0x1a000de) I was afraid to delete the sktop file, so I out commented everything in it. Curiously, when I type locate sktop I get: /etc/xdg/autostart/sktop But If I wait for the screen to time out, it just goes blank black like the gnome-screensaver does, despite that I have gnome-screensaver installed. If I lock the screen with Cntrl Alt L then the xscreensaver starts. ![]() I don't understand Linux and sys-admin stuff, but I have installed recently xscreensaver Ubuntu 18.04.4 LTS as described here and I have followed all the steps. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |