LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   converting screensaver output to gif possible yes/no? (https://www.linuxquestions.org/questions/linux-desktop-74/converting-screensaver-output-to-gif-possible-yes-no-4175644852/)

linuxlicious 12-23-2018 06:28 PM

converting screensaver output to gif possible yes/no?
 
In relation to another thread I posted, is there a relatively easy way to capture the output of an Xscreensaver file and convert it to a .gif file? Or does such a program exist that does something like this: gifconverter -duration 20(seconds) -input /usr/lib/xscreensaver/screensaverfile -output screensaver.gif?

frankbell 12-23-2018 08:45 PM

I just tested this with Ksnapshot on Slackware 14.2 with the Fluxbox window manager.

1. Start Ksnapshot (it will automatically take a screenshot on start up).

2. Tell Ksnapshot to "Take a new snapshot."

3. When the snapshot dialog box opens, set a delay (I set it for about 120 seconds for testing purposes).

4. Click to "Take snapshot."

5. Click to open xscreensaver-demo (that's the name of the configuration dialog for xscreensaver, the only legitimate Linux screensaver--all others are derivatives).

6. Pick a screensaver and click "Preview."

7. Wait long enough. (On my system, there was a ding when the screenshot was captured.)

8. Save screenshot.

I know you can't do this with the GIMP because, when you tell GIMP to capture a screenshot, after a delay, if one is set, elapses, the GIMP still wants a mouse-click to trigger the capture. Whether you can do it with other capture routines I don't have any way of testing right now (by the way, in Plasma, Ksnapshot has been renamed "Spectacle" but it seems to work pretty much the same).


All times are GMT -5. The time now is 05:43 AM.