[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Screenshots, frame shots straight from Emacs
From: |
Tomas Hlavaty |
Subject: |
Re: Screenshots, frame shots straight from Emacs |
Date: |
Tue, 20 Jul 2021 13:36:10 +0200 |
On Sat 26 Jun 2021 at 00:04, Emanuel Berg via Users list for the GNU Emacs text
editor <help-gnu-emacs@gnu.org> wrote:
> Jean Louis wrote:
>> As you like screenshots, here is one way to generate Emacs
>> frame shots straight from Emacs without using external
>> programs
that one requires GUI emacs
> (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)) ))
the above one requires external programs
this one works with plain console emacs:
https://logand.com/sw/emacs-framebuffer/file/emacs-framebuffer.el.html#l755
- Re: Screenshots, frame shots straight from Emacs, Emanuel Berg, 2021/07/01
- Re: Screenshots, frame shots straight from Emacs,
Tomas Hlavaty <=
- Re: Screenshots, frame shots straight from Emacs, Leo Butler, 2021/07/20
- Re: Screenshots, frame shots straight from Emacs, Tomas Hlavaty, 2021/07/20
- Re: Screenshots, frame shots straight from Emacs, Leo Butler, 2021/07/20
- Re: Screenshots, frame shots straight from Emacs, Tomas Hlavaty, 2021/07/20
- Re: Screenshots, frame shots straight from Emacs, Tomas Hlavaty, 2021/07/31
- Re: Screenshots, frame shots straight from Emacs, Emanuel Berg, 2021/07/31
- Re: Screenshots, frame shots straight from Emacs, Eduardo Ochs, 2021/07/31
- Re: Screenshots, frame shots straight from Emacs, Stefan Monnier, 2021/07/20
- Re: Screenshots, frame shots straight from Emacs, Stefan Monnier, 2021/07/20
- Re: Screenshots, frame shots straight from Emacs, Leo Butler, 2021/07/21