When recording a specific window by recordmydesktop, what should I do for investigating "windowid" specified as a "windowid" option?
Asked
Active
Viewed 2.7k times
3 Answers
33
Open a terminal and type:
xwininfo -display :0
Eliah Kagan
- 116,445
- 54
- 318
- 493
jasmines
- 10,643
- 16
- 84
- 108
-
My display was :1. `xwininfo` by itself worked – Michael Cole Feb 08 '17 at 18:11
-
Probably because it defaults to -display :0. – Elijah Lynn May 03 '17 at 18:38
-
@ElijahLynn Nope. It defaults to `$DISPLAY` like every other X client. – Braden Best May 13 '18 at 23:43
-
[Check out also `wmctrl`](https://stackoverflow.com/a/12469119/4970442) – Pablo Bianchi Mar 15 '19 at 05:00
14
As an alternative, you can use this one-liner:
recordmydesktop --windowid `xwininfo -display :0 | grep 'id: 0x' | grep -Eo '0x[a-z0-9]+'`
s3v3n
- 657
- 2
- 10
- 18