Browser embedded xscreensaver module for web based screensavers.
Two proof-of-concept tasks failed before this project:
- Native GTK implementation
Result: This could manipulates windows properly, but could't creates GPU accelerated WebView.
- Native QT implementation
Result: This could create GPU accelerated WebView, but could't re-parents QtMainWindow into the xscreensaver window (foreign window related bugs)
Now, this project combines advantages of the two POCs, so I use PyQt for create GPU accelerated WebView and PyGTK for window manipulation.
sudo ./setup.sh
- Screensaver to
~/.xscreensaver
config: ... programs: \ /full/path/of/xscreensaver-web-lullaby/bin/web-lullaby \n\ ...
- Screensaver to
- Open the XScreenSaver Preferences and select the WebLullaby.py
You can specify the desired URL by command line argument.
- Open the XScreenSaver Preferences and select the WebLullaby.py
- Click on Settings... and after that Advanced >>
- You can extend the command in Command Line: field with the URL, e.g.:
/full/path/of/xscreensaver-web-lullaby/WebLullaby/WebLullaby.py \ 'https://web-animations.github.io/web-animations-demos/#galaxy/'
Bugs or suggestions? Visit the issue tracker.