Web lists-archives.com

Re: long page screenshots (was: Why choose Debian on server)




Curt composed on 2019-01-06 18:53 (UTC):

> Brian wrote:

>> What is your version of FF? (Help/About Firefox).

> I found it. Tools --> Web Developer --> Toggle Tools (checked)

> In the console

>  :screenshot foo --fullpage

> https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Helpers

> saves foo.png in the default download location.

> On the stackexchange thread in question this process seems to "get it all."

Another way to get much larger images is to use the panning facilities provided
by Xorg if you're not subject to the misfortune of broken Xorg. Wheezy could be
among those. On Stretch and Buster the xorg.conf method is broken (the mouse is
constrained to CRTC size). Panning size is completely arbitrary, subject to the
limits of the gfxchip and video RAM.

Examples:

1-put xrandr in a startup script for a(n 8000px tall) virtual desktop:

# cat <mystartupscript>
# inxi -GxxS
System:    Host: fi965 Kernel: 4.18.0-3-amd64 x86_64 bits: 64 compiler: gcc v: 7.3.0 Desktop: Trinity R14.0.6 tk: Qt 3.5.0
           wm: Twin dm: startx Distro: Debian GNU/Linux buster/sid
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] vendor: PC Partner Limited
           driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:68f9
           Display: server: X.Org 1.20.3 driver: modesetting unloaded: fbdev,vesa alternate: ati resolution: 1920x1080~60Hz
           OpenGL: renderer: AMD CEDAR (DRM 2.50.0 / 4.18.0-3-amd64 LLVM 7.0.1) v: 3.3 Mesa 18.2.6 compat-v: 3.1
           direct render: Yes
# xrandr | head ...
Screen 0: minimum 320 x 200, current 1920 x 8000, maximum 8192 x 8192
DVI-I-1 connected 1920x8000+0+0 (normal left inverted right x axis y axis) 673mm x 284mm panning 1920x8000+0+0
   1920x1080     59.96*   60.00    59.93

2-use /etc/X11/xorg.con* to provide a (3600px tall) virtual desktop (openSUSE Tumbleweed):

# cat /etc/X11/xorg.conf
Section "Device"
    Identifier "Default Device"
	Option "monitor-DVI-I-1" "Default Monitor"
EndSection

Section "Monitor"
    Identifier	"Default Monitor"
	Option "PreferredMode" "1920x1080"
	Option "Panning" "1920x3600"
EndSection

Section "Screen"
    Identifier	"Default Screen"
	Device	"Default Device"
	Monitor	"Default Monitor"
EndSection

# inxi -Gxx
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] RV610 [Radeon HD 2400 PRO] vendor: Dell driver: radeon v: kernel
           bus ID: 04:00.0 chip ID: 1002:94c3
           Display: server: X.Org 1.20.3 driver: modesetting unloaded: fbdev,vesa alternate: ati compositor: kwin_x11
           resolution: 1920x1080~60Hz
           OpenGL: renderer: AMD RV610 (DRM 2.50.0 / 4.19.2-1-default LLVM 6.0.1) v: 3.3 Mesa 18.1.7 compat-v: 3.0
           direct render: Yes

# xrandr # head...
Screen 0: minimum 320 x 200, current 1920 x 3600, maximum 8192 x 8192
DVI-I-1 connected 1920x3600+0+0 (normal left inverted right x axis y axis) 673mm x 284mm panning 1920x3600+0+0
   1920x1080     59.96*+  60.00    59.93
   1680x1050     59.95    59.88
   1400x1050     74.76    59.98
   1600x900      59.94    59.95    59.82
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/