Sample Header Ad - 728x90

Trying to capture one monitor with maim

1 vote
0 answers
396 views
I have two monitors and I would like to only screenshot the main one, maim by default screenshots both monitors as one big monitor, and doing
-x :0.0
doesn't work. I'm trying to figure this out so I searched and found the commands
/tmp/.X11-unix
which returns
and
/tmp/.X11-unix | tr 'X' ':'
which return
:0
. It looks like it's detecting both monitors as one or am I wrong? I did
| grep ' connected'
and it shows
HDMI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
DP-5 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
Please keep in mind I have no idea what I'm doing I'm very new to linux and I'm trying to learn it so I switched to it as my daily driver to learn. What can I do to be able to screenshot one monitor?
Asked by Yousef (111 rep)
Sep 30, 2022, 05:15 PM
Last activity: Sep 30, 2022, 05:31 PM