Is there a way to record my screen, as well as the internal audio? Like, if I were recording a game, it would record the screen, and the sounds from the game.

  • For games specifically, you could try glc: see my answer for this question. – user76204 Jan 6 '13 at 19:52

Maybe RecordMyDesktop could work for you? It has the ability to record your screen and audio, but I'm not sure if it supports games.

You can install it with

sudo apt-get install recordmydesktop

If you want a GUI, you need to also install one of the packages gtk-recordmydesktop (GTK) or recorditnow (Qt)

It is discontinued but it does work as expected.

  • It's quite hard to use it with Games unfortunately, I found the OpenGL recorder quite bad last time I tried it – MrVaykadji Mar 17 '14 at 16:41
  • This worked otherwise, but I did not get internal audio straight or not with Jack. The UI is quite unintuitive also – the first time I had five recordings going on before I realised the big squares on the panel are meant to represent stop symbols! And I am a graphic designer in addition to being a programmer... – peterhil Sep 2 '17 at 1:03
  • It's using microphone, not the internal audio. – Hi-Angel Jan 5 at 0:34

SimpleScreenRecorder did the trick for me when recording online playing videos. It has an (experimental) OpenGL feature. In Ubuntu:

sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
sudo apt-get update
sudo apt-get install simplescreenrecorder

With the OpenGL feature you can select to record an specific application window. So you can even keep working while recording in the background. Don´t play any music though, because the audios will mix together (unless, of course, U R a DJ ;) )

  • Works exceptionally well! Nice internal audio recording, awesome that encoding speed can be changed to get fluent higher framerate! – Rasmus May 31 '17 at 20:37
  • I can not recommend this enough. It works and it is intuitive – give it a shot! – peterhil Sep 2 '17 at 1:13
  • As of 17.04 it is in the official repositories and you don't need to add the PPA. – Scimonster Dec 26 '17 at 12:18
  • 2
    does it record the voice/audio you speak into the microphone? – MycrofD Jan 10 '18 at 10:45

I am using recordscreen.py Python script. It launches ffmpeg or avconv behind the scenes, so make sure you have them installed.

Record entire desktop to output.mkv at 15 FPS:

recordscreen.py output.mkv

Record at 30 FPS with different audio and video codec:

recordscreen.py -r 30 --vcodec=vp8 --acodec=pcm output.mkv

Or record into .webm:

recordscreen.py output.webm

I haven't tried recording games with it, so I will be interested to hear how it goes.

And just for historical perspective here's one of the earliest blog posts about it.

  1. Install OBS as in: https://github.com/jp9000/obs-studio/wiki/Install-Instructions#linux
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt-get update && sudo apt-get install obs-studio
  1. Open OBS; in the Mixer panel, click the settings-icon of "Desktop Audio", Click Properties and Select "Built-In Audio Analog Stereo"

  2. Again in the Mixer panel, silence the microphone/Aux clicking on its volume icon

  3. In the "Sources" panel, click the "+" and Select "Screen Capture XSHM"

[Previously, VLC could be the source, in this way: Install VLC, as in: https://www.videolan.org/vlc/download-ubuntu.html; Click on the "+" sign, and select "Add Path/URL", then write screen://; but it is not working now]

  1. Click "Transition" button in the center of the screen, you have to see your screen in the right window now.

  2. At the "Controls" panel (right-side), click Settings, then click "Output" in the left menu, and change the output folder if desired.

  3. Finally, click "Start Recording" button in "Controls"

protected by Community Feb 5 '18 at 18:07

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.