I enjoy recording screencasts in my spare time, and was hoping to get going recording some Ubuntu stuff.
I have a machine running Ubuntu Server.
Is there any easy way to record the screen?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
If you don't have any GUI you might want to use this script (it's part of the
user@srv % script logfile Script started, file is logfile user@srv % echo test test user@srv % exit Script done, file is logfile
You'll find a recording of this session in logfile.
To track a SSH session in the same fashion you can use tee:
user@srv % ssh host | tee -a sshlog
However, both ways just dump commands and outputs, without any time assignments. So it's not applicable to record videos.
I recommend to use something like VirtualBox or VMware and record the windows with virtual machines inside...
ttyrec allows you to record your terminal sessions easily. However, they are recorded in a special format (not video), but the resulting files are smaller, and as such easily transferable.
I use playterm.org as a hosting for my ttyrec files. It allows you to view your terminal recordings over a browser (as if it were a video).
sudo apt-get install ttyrec ttyrec #Type your commands git init #Example command exit
A ttyrec session is similar to a screen session, except that it is recorded. After your recording is complete, a file with
.tty extension will be present in your directory. You can upload that file to playterm, or pass people a download link.
To play the file, they'd need to use the
ttyplay command. Just use
ttyplay file.tty and it should play your terminal.
Since you are comfortable with adding audio later, I'd recommend copying the ttyrec file to a normal ubuntu desktop, and playing the recording (using
ttyplay) while recording it using a screencasting session. You can record your voiceovers at the same time.
asciinema [as-kee-nuh-muh] is a free and open source solution for recording terminal sessions and sharing them on the web.
It is fully open-source platform with aim of being a "go to" place for terminal users wanting to share their hackery. Web based player is an implementation of VT100/VT102 ANSI terminal, supporting most ANSI sequences, all text attributes and 256 colors.
sudo apt-add-repository ppa:zanchey/ sudo apt-get sudo apt-get install asciinema
It also supports other distros and even BSD/Mac systems. Installation Instructions
Start recording with
asciinema rec. If you want to upload recordings from command line, run
asciinema upload to upload your recording.
More instructions on the help page (