NymphCast icon indicating copy to clipboard operation
NymphCast copied to clipboard

Better/custom screen saver

Open cafehaine opened this issue 4 years ago • 4 comments

Hi! When trying out nymphcast, I realised that the screensaver window "froze" for quite a long time, since sdl events aren't polled in a regular interval (only when redrawing). A small fix for now would be to add a regural polling of events through your timer system. However, I wanted to know if you would accept PRs for a "better" screen saver with a clock for exemple. If a more complex screen saver isn't the path you want to take, would you mind allowing the use of a nymphcast app as the screen saver ? this way one could create it's own screen saver for it's own needs without needing to recompile the server. Thanks for reading!

Not related to this, but I packaged nymphcast for Arch Linux on the AUR (the unoficial user repository), do you want to add links for the existing packages in the readme ?

cafehaine avatar Mar 07 '20 08:03 cafehaine

The concept behind the screensaver was to have a basic (low-power) screensaver module that would periodically update the displayed image. That said, optionally displaying a clock, text (instance name?) and such is something that I had planned to add at some point in the future.

Having a way to have more wallpapers and a way to add/customise them via a client is also planned. Currently there are just the two hard-coded & included wallpapers, which was 'good enough' for testing :)

I think it'd make the most sense to keep the ScreenSaver module as a native C++ class. I'd gladly accept PRs for this, though preferably after syncing up on the requirements for the change :)

As for packages on AUR and such repositories, please do let me know about where/how to get them so that I can add these details to the README.

MayaPosch avatar Mar 07 '20 09:03 MayaPosch

Generally for Arch Linux packages, only the name of the aur package is given, as there are a lot of ways to install those unofficial packages. You could include in the README something like this:

For pacman based distros, some packages exist for:

cafehaine avatar Mar 07 '20 14:03 cafehaine

Thank you, I have updated the README :)

MayaPosch avatar Mar 07 '20 19:03 MayaPosch

I believe the Chromecast allows controlling the screensaver look (or at least the pictures displayed) from the client app. Something equivalent would be nice, maybe it could offer integration with a service like Unsplash for daily changing images in various categories?

PureTryOut avatar Aug 01 '21 10:08 PureTryOut