|
From: | Emanuel Berg |
Subject: | Re: Screenshots, frame shots straight from Emacs |
Date: | Sat, 26 Jun 2021 01:55:42 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis wrote: >> (defun dump (desc) >> (interactive "sdescription: ") >> (message nil) >> (let ((file (format "~/%s.png" desc))) >> (shell-command (format "sudo fbgrab %s" file)) >> (shell-command (format "sudo chown %s %s" user-login-name file)) >> (shell-command (format "sudo chgrp %s %s" user-login-name file)) )) > > Sudo for screenshot? Leftovers, alright then - (defun dump (name) (interactive "sname: ") (message nil) (let ((file (format "~/%s.png" name))) (shell-command (format "fbgrab %s" file)) )) -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |