#go #baduk #sgf #screensaver #game #xscreensaver

app goban-screenhack

XScreensaver hack that displays go games

5 releases

0.1.4 Jul 27, 2021
0.1.3 Jul 3, 2021
0.1.2 Jan 16, 2021
0.1.1 Aug 13, 2020
0.1.0 Aug 8, 2020

#322 in Games

MIT license

120KB
850 lines

Goban Screenhack

Goban hack for xscreensaver.

Goban Screenhack Demo

Installation

Debian/Ubuntu

Look for the .deb package here. For Ubuntu 21.04 or older you should be able to use the 'buster' package. For 22.10 or later you will want the 'bullseye' package.

Other x84_64 Linux

There's a binary on the releases page.

Put the goban executable in the same place as your other hacks. Depending on your distribution this will likely be either /usr/lib/xscreensaver or /usr/libexec/xscreensaver.

For a better experience when configuring put config/goban.xml from the source package with your other xscreensaver config files (probably/usr/share/xscreensaver/config). Configure by running xscreensaver-demo or by editing ~/.xscreensaver directly.

SGF file locations

By default, Goban Screenhack looks for SGF files in goban-screenhack under your XDG data directories. For most users putting SGFs under ~/.local/share/goban-screenhack should work. You can override this behavior by passing one or more -sgf-dir flags to the goban binary (configured either by editing ~/.xscreensaver or under the advanced tab in xscreensaver-demo).

Supported Platforms

Currently goban-screenhack only works on Linux under XWindows. Most of the code is platform agnostic though, so porting to other platforms may be an option. If you know how to write an OpenGL screensaver in Rust on MacOS or Windows (or are willing to figure it out), get in touch with me! I will gladly provide guidance and review PRs!

Dependencies

~10MB
~113K SLoC