Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergei-mironov/xscreensaver-run
Run the screensaver from XScreenSaver collection synchronousely in the fullscreen
https://github.com/sergei-mironov/xscreensaver-run
c linux make nixos x11 xscreensaver
Last synced: 5 days ago
JSON representation
Run the screensaver from XScreenSaver collection synchronousely in the fullscreen
- Host: GitHub
- URL: https://github.com/sergei-mironov/xscreensaver-run
- Owner: sergei-mironov
- Created: 2019-07-05T20:27:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-26T14:29:23.000Z (over 1 year ago)
- Last Synced: 2024-07-07T11:29:04.192Z (4 months ago)
- Topics: c, linux, make, nixos, x11, xscreensaver
- Language: C
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Xscreensaver-run
================This tiny program may be used to run screensavers from
[XScreenSaver](https://www.jwz.org/xscreensaver/) collection synchronously,
in fullscreen and without additional effects like screen locks or timers.See also
Build
-----Just make install
$ make install
NixOS users may use the following commands to install the application in the
current user's profile:$ nix-build
$ nix-env -i ./resultUsage
-----Run any screensaver from Xscreensaver collection by typing `xscreensaver-run
SCREENSAVER_APP_ARGS`. For example:$ ./xscreensaver-run /usr/libexec/xscreensaver/apple2 -text -program 'uname -a'
Enjoy!
Development notes
-----------------### Environment
To test the application in Nix:
1. `$ nix-shell`
2. `(shell) $ nix-build '' -A pkgs.xscreensaver`
3. `(shell) $ make`
4. `(shell) $ ./xscreensaver-run ./result/libexec/xscreensaver/apple2 -text`### Hints
* To reset root window's cursor (just in case): `xsetroot -cursor_name left_ptr`
### References
* [X Event definitions](https://fossies.org/dox/tightvnc-1.3.10_unixsrc/X_8h.html)
* [X Event documentation](https://tronche.com/gui/x/xlib/events/processing-overview.html)
* https://linux.die.net/man/3/xwindowevent
* https://linux.die.net/man/3/xgrabkeyboardBugs?
-----Yes! Check FIXMEs in the source code. Feel free to fix them and file PRs!