Ubuntu: how to get background sound work in recordmydesktop


I cannot get any sound Recordmydesktop

by sound I mean the background song or video volumes which are ongoing in my desktop

I have a video of what I am doing to get sound but eventually not getting it its over here

enter image description here


  • Install Pulse Audio Control

    sudo apt-get install pavucontrol  
  • Open terminal & run: pavucontrol

  • This is to record Playback Only (no microphone): Number are same on screenshot.

    1. Goto Input Devices tab
    2. Show: All input devices
    3. Use Green Button to the right to Select "Monitor: Audio Analog Stereo"

    There are different channel names but You can run some player and see which has signal.

    When Gnome Volume Control is opened, It overrides it back to Microphone. I have noticed that in the late releases 13.04, 13.10, 14.04. It cannot be changed back using Gnome Volume Control. (Avoid using it on recording)

Pulse Audio Control : Input Devices


I have a one liner script to capture screen. It can capture both mike and desktop voice.

It's not very good, but I hope it serves the purpose.

 avconv -f   pulse -i default -f x11grab -r 15 -s $(xdpyinfo  | grep dimensions | awk -F ' ' ' { print $2 } ' ) -i :0.0+0,0 -acodec libmp3lame -vcodec libx264  $(date +"%m%d%Y_%H%M%S_$HOSTNAME")_screencast.mp4  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »