How can I take browser screenshots at a higher resolution than my browser supports? [duplicate]
Solution 1:
Use Xephyr to create a nested X session:
Xephyr :1 -screen 10000x10000
DISPLAY=:1 some-browser
DISPLAY=:1 screenshot-program
Most browsers tend to create new windows with an existing session even if you change the display, so you might have to close existing browser windows or use some notoriously underdocumented command-line option.
Solution 2:
If your machine has a decent graphics card by ATI or Nvidia, it should support panning. Meaning to say, your desktop display remains at the same resolution but it creates a custom sized virtual desktop (larger than your resolution) that you can scroll around (sort of like using your monitor as a magnifying glass).
From there, just maximise your firefox browser and it will fill up the virtual desktop space, and then you can use screenshot functions that print anything within a window.
I've tried this on Ubuntu using a laptop with Nvidia GTS 360M and the scrot function and it works perfectly.
Alternatively, if you are trying to have enough desktop real estate to print something like Google Maps map tiles, you can always save the html and make adjustments to the tags and reload the html. That has worked for me too.