Record your Linux desktop from the command line
If you do not wish to install a dedicated application for recording your desktop, you can do it with this one-liner: ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /home/user/out.mpg All you need is have ffmpeg already installed (and most systems do). Navigate to /home/user and you’ll find you MPEG video file there.