error: XSCREENSAVER_WINDOW is not set
- Made nightcap:
winegcc -O2 nightcap.c -o nightcap.exe -lX11 - Moved nightcap.exe to /usr/local/bin/, automatically on
$PATH. - Moved Flying Windows.scr to /usr/local/bin/
- Appended the following to ~/.xscreensaver:
"Flying Windows" nightcap.exe "Flying Windows.scr" \n\ - Running
wine /usr/local/bin/Flying\ Windows.scrdisplays the screensaver settings. - Running
xscreensaver-settingsshows the added screensaver available in the list, but the preview only displays a blank screen. - The screensaver does not initiate at the specified time, only the blank screen.
- Running
wine /usr/local/bin/nightcap.exereturns the error,error: XSCREENSAVER_WINDOW is not set.
From the README, it's not clear how to run the screensaver successfully. The How section of the readme is not understandable or easy to follow.
Hi mate, I'm sorry it's giving you trouble. I wrote this for myself & released it in the hope that others would get some enjoyment from it.
What happens if you run wine "Flying Windows.scr"?
Sorry, I meant to write wine "Flying Windows.scr" /s to start the actual screensaver.
Notably, Flying Windows requires that you have Wingdings font installed. I dropped wingding.ttf in my ~/.fonts/.
Hi,
Yes, installing the wingding.ttf font, and running wine "Flying Windows.scr" /s does run the screensaver, albeit in WINE.
I don't see how the nightcap project helps with that though.
When I run xscreensaver-settings, I can see that the screensaver is listed, but there is no preview. It presents a blank screen. Okay, if that's just for the preview, but unfortunately, after waiting the minutes for the screensaver to start, it too is a blank screen.
Hey there, I am basically having the same issue. I can initialize the screen saver with wine "factory.scr" /s but in xscreensaver it just launches a black screen
I did also try to launch it straight through wine using xscreensaver but that also gave me a black screen. it did however have sound
"Factory" /home/pixelwolfog/nightcap/nightcap.exe "factory.scr" \n\
"Factory T2" wine "/home/pixelwolfog/nightcap/factory.scr" /s \n\
Any suggestions would be great but otherwise still a cool project!