How can I get the value of Window ID?
Solution 1:
Open a terminal and type:
xwininfo -display :0
Solution 2:
As an alternative, you can use this one-liner:
recordmydesktop --windowid `xwininfo -display :0 | grep 'id: 0x' | grep -Eo '0x[a-z0-9]+'`
Solution 3:
xwininfo -name "recordmydesktop"