How to select display to record in RecordMyDesktop

You have no need to set the display to 1 since probably you are running a multi- screen setup on the same X server.

The correct command would be:

recordmydesktop --display=0 --width=1920 --height=1080 --fps=15 --no-sound --delay=10

Reduce the width and the height parameters if that is including your 2nd screen.


Display parameter is irrelevant. The trick is setting coordinates correctly.

All screens are considered as whole.

Say you have two screens,

  • primary has 1680x1050
  • secondary has 1024x768

Your coordinate space is : 2704x1050 (sum of both screens' widths and the height of the biggest one)

To capture second screen

-x=1680    # width of primary screen
-y=0       # default
--width=1024
--height=768
--display=$DISPLAY # in my ubuntu 13.10 

The command would be (tested on Ubuntu 13.10):

recordmydesktop --display=$DISPLAY --width=1024 height=768 -x=1680 -y=0 --fps=15 --no-sound --delay=10