From cd6644ea4ddc78597934ab0ef5ba50e3c3daa927 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Jul 2023 23:25:41 +0200 Subject: Moved to a simpler SSG --- public/plan9-screenshot.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 public/plan9-screenshot.html (limited to 'public/plan9-screenshot.html') diff --git a/public/plan9-screenshot.html b/public/plan9-screenshot.html new file mode 100755 index 0000000..395c4d1 --- /dev/null +++ b/public/plan9-screenshot.html @@ -0,0 +1,19 @@ +Take a screenshot in Plan9

Take a screenshot in Plan9

May 10, 2023

Take a screenshot in Plan9. This applies to Plan9 and +9front. This will take a screenshot of the screen and +output it to /dev/screen. You can then use topng to convert it to a png +image.

# Instant screenshot.
+cat /dev/screen | topng > screen.png
+
+# Delayed screenshot (5 seconds).
+sleep 5; cat /dev/screen | topng > screen.png
+
\ No newline at end of file -- cgit v1.2.3