Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using gtk-recordmydesktop to record the video output to my desktop. However, the videos have no sound. All the tutorials I found regarding this involved getting sound recorded from a microphone, while I am interested in getting the sound output recorded. How can I do this? The official FAQ says "The solution is in your mixer's settings. Keep playing with it ;)." which doesn't clarify anything.

How can I get the sound output recorded, while being able to hear it myself also?

share|improve this question
I have created a video tutorial that covers the steps on 2014 Debian Linux. – Martin Vahi Dec 15 '14 at 10:52
up vote 30 down vote accepted

I managed to get it going with the steps on the Ubuntu Forums, for clarity here is what I did:

  1. sudo apt-get install gtk-recordmydesktop pavucontrol
  2. Opened the Pulse Audio Volume Control dialog: Applications > Sound & Video > PulseAudio Volume Control
  3. Opened gtk-recordmydesktop
  4. In gtk-rmd start a recording
  5. In Volume Control goto the Recording tab and change the recordmydesktop entry to 'Monitor of '

This is what seems to have worked for me.

share|improve this answer
Note: with the 'Monitor of' setting, it should be a carbon copy and you will be able to hear the same audio through headphones etc. – N J Nov 12 '10 at 11:09
This worked. FWIW, I had to change the Sound > Device option from DEFAULT to pulse in gtk-recordmydesktop, though that could just be the way Arch was set up beforehand to have a different default. – Macha Nov 13 '10 at 14:18
@Macha on the command line, this corresponds to passing "--device pulse" – g33kz0r Mar 20 '12 at 21:03
Thanks for pointing out pavucontrol; the recording was initially muted for some reason. Another FWIW, I had to change the profile (configuration tab of pavucontrol) from Duplex to Output, and that finally did it. – falstro Apr 28 '14 at 8:08
is there any way to get both the input mic AND the monitor of the audio output? – georgebrindeiro Aug 15 '14 at 20:31

All I had to do was change DEFAULT to pulse in by: Advanced button > Sound tab > Device:.

share|improve this answer
I confirm that does the trick! – Capy May 27 '13 at 14:46

If you use Pulseaudio, there is a howto in the Ubuntu Wiki. It basically boils down to using the pulse audio mixer, to re-route the sound from its source to audacity where it is saved instead of the default output (which would be you speakers).

share|improve this answer
Sadly, this sounds like it means I can't hear the sound myself, which isn't good enough. – Macha Oct 25 '10 at 17:55
@Macha: In principle, I think Pulseaudio is capable of replicating output on several ports. Did you find no way of doing this? Otherwise, a workaround that may or may not be acceptable is to play the sound file as it gets recorded (this may introduce unacceptable latency, and you'll probably have to record to a raw (uncompressed) format). – Gilles Nov 8 '10 at 21:24
@Gilles: Ok, thanks. My bad. The tutorial actually said that, but the way the answer was worded implied otherwise. There is one last problem: This way requires me to manually sync the sound as gtk-recordmydesktop and audacity are started seperately. – Macha Nov 9 '10 at 19:20

I had to use these settings in pavucontrol:

Configuration > Built-in Audio > Profile > Digital Stereo (HDMI) Output + Analog Stereo Input

Then it recorded the sound that was playing

share|improve this answer

This is an old question, but here it is for Mint 17.2:

  1. Open "Sound Preferences" -> "Input"
  2. Choose "Monitor of $YOUR_USUAL_OUTPUT_DEVICE"
  3. Record normally in gtk-rmd

This way you can avoid having the input switch recorded in the video.

Just remember to switch it back when you're done!

share|improve this answer

This setting works for me. Choose Monitors in the Show: in Input Devices

This setting works for me. Choose Monitors in the Show: in Input Devices

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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