As the title says, I have an application that I need to run in a TTY. I also need to take a screenshot of it while it's running. How can I take a screenshot of an application running in a TTY without framebuffering enabled?
Asked
Active
Viewed 606 times
1
-
possible duplicate of [Can I take a screenshot of a virtual console?](http://askubuntu.com/questions/12208/can-i-take-a-screenshot-of-a-virtual-console) – muru Apr 21 '15 at 17:16
-
@muru I don't have framebuffering enabled, and I'm also having a hard time enabling it, actually I'm trying to do this in order to debug a problem that might even relate to framebuffering itself – kos Apr 21 '15 at 17:32
-
I suppose taking a photo is not an option? – muru Apr 21 '15 at 17:38
-
And what about http://askubuntu.com/questions/194291/how-to-take-screenshot-in-a-tty-terminal ? – muru Apr 21 '15 at 17:39
-
you can enable framebuffer like so: `echo "FRAMEBUFFER=y" | sudo tee /etc/initramfs-tools/conf.d/splash; sudo update-initramfs -u` reboot. – mchid Apr 21 '15 at 17:43
-
@muru Nope, `./configure`, `make install`, it compiles but doesn't add a `man` page, nor there are usage indications on the answer you linked or on the site, I have no idea of how to use it – kos Apr 21 '15 at 17:50
-
@mchid Thanks, at this point I'll give it a try after having answered this – kos Apr 21 '15 at 17:51
1 Answers
3
You can use ttyrec
sudo apt-get update
sudo apt-get install ttyrec
http://0xcc.net/ttyrec/index.html.en
There are a a few options, look for
ttyrec -u
Which allows you to record to a zip file you can later unzip and should be able to play in a regular terminal later that you can easily take a screenshot of.
mchid
- 42,315
- 7
- 94
- 147