1

I use XScreensaver to lock my screen with all screensavers enabled in a random rotation. I often come back to my laptop and wonder which screensaver I was just looking at (to configure the options for it, or just to run it again and get a better look)

How can I figure out which one was most recently run?

Bonus points: I have 2 monitors, and xscreensaver plays a different screen saver on each (still random). Is there a way to determine both?

ComputerDruid
  • 213
  • 1
  • 6

2 Answers2

1

I'm optimistic that xscreensaver will record its screen saver choices into a log file if the right logging/debugging options are enabled. I haven't had a chance to try this yet, but will update if/when I do. https://wiki.archlinux.org/index.php/XScreenSaver#Debugging

Nick Russo
  • 1,169
  • 7
  • 11
  • This works; I see the screensavers being spawned in the log. Unfortunately it also prints the log on the screensaver, which is a bit unsightly. – ComputerDruid Aug 15 '14 at 18:49
  • Did you use both these settings? I'd like to try reproducing what you saw. xscreensaver.logFile:/var/log/xscreensaver.log xscreensaver.verbose:true – Nick Russo Aug 15 '14 at 19:43
  • This was with xscreensaver -verbose (I haven't used the logfile yet, but I doubt that would affect it). I haven't got a chance to restart X to test out the X resource changes – ComputerDruid Aug 15 '14 at 20:19
0

A partial answer is that running xscreensaver-demo immediately will highlight the screensaver last used on one of the monitors.

John Lawrence Aspden
  • 972
  • 2
  • 13
  • 21