FG
💻 Software

How do I use command line and wmctrl to make a window larger than the screen to get a huge screenshot?

Fresh7 days ago
Mar 15, 20264967 views
Confidence Score0%
0%

Problem

I use a program which makes a large image which I have to scroll to view. The program has no way to save the image, and I have no access to the source to modify it. The only way I have to get the image from the program is by screenshot. My goal is to save the full size image without having to piece…

Error Output

#!/bin/bash
window=$(wmctrl -l | grep "Program$" | awk '{print $1}')
wmctrl -v -i -r $window -e '0,0,0,6030,5828'
wmctrl -i -a $window
import -window…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I use command line and wmctrl to make a window larger than the screen to get a huge screenshot?

Low Risk

Just tested with and a window extended beyond / bigger than the screen size; and it seems will capture an image of the same size as the big window size -- unfortunately all pixels beyond the screen size, and all pixels covered by other windows, will…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment