Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-10-16 05:01:55

AnonymousUser
Member
Registered: 2019-10-07
Posts: 5

Set window size in Xfce beyond 32,000 pixel height?

I have a reason to want to manually set a window size to 1366px wide and <extremely long px height>, so I can then take a gigantic long virtual screenshot of it.

I've tried both xdotool:

xdotool windowsize 56623120 1366 32000 && xdotool windowmove 56623120 0 0

and wmctrol:

xdowmctrl -r Title -e 0,0,0,1366,32000

There seems to be a maximum of 32,000 pixels height with both these tools. If I try more, the window fails to resize and it minimizes itself / doesn't work.

Is this a limit set by Xfce, and there is nothing I can do? Or can I hack a conf file to do this function?

Or is the limitation broader and something to do with X11 etc?

Thanks

Offline

#2 2019-10-16 11:58:19

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

Re: Set window size in Xfce beyond 32,000 pixel height?

It's a limitation in X11.
Window size is defined as a short integer, which means it has a range from -32,768 to 32,767.

If you're using Firefox you can use the dev console to capture a screeshot of an entire web page, use Shift+F2 to open the dev console.
Then type in the command for capturing an entire webpage:

screenshot fileName --fullpage

Which will save a screenshot of the entire webpage as fileName.png in your Downloads folder. This will be huge and some photo viewers can't handle it, but it has good quality. If you'd rather copy the screenshot to your clipboard you can use this command:

screenshot --clipboard --fullpage

You can also set a delay (in seconds):

screenshot fileName --delay seconds --fullpage

There are also some addons for browsers that can take screenshots of the entire web page.


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

#3 2019-10-16 23:49:39

AnonymousUser
Member
Registered: 2019-10-07
Posts: 5

Re: Set window size in Xfce beyond 32,000 pixel height?

Misko_2083, Thanks for your very kind tips (and confirmation that it is X11 limitation). I'll remember that Shift-F2 commands thing.

However, my webpage for some reason can't be auto scrolled / detected by browser screenshot takers, including Firefox developer console. It only ever takes the visible portion up the top. I have tried more than 20 screenshot add-ons in both Firefox and webkit browsers. It's a problem with the webpage I'm trying to capture. sad Its CSS is somehow problematic with scrolling, I can just manually scroll through in Firefox.

I wonder if there's a Linux distro that uses non-X11! Does Wayland have the same limitation anyway?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 523.43 KiB (Peak: 529.2 KiB) ]