Are you trying to capture a screenshot of a web page? You could screen capture the web page manually after loading it on a web browser. However, if the layout of the web page does not fit into the screen of your computer, the screenshot wouldn't cover the whole page, but only part of it.
In Linux, there is a GNOME application called gnome-web-photo that can generate a full-size screenshot or thumbnail of a website or any URL.
In this tutorial, I will describe how to take a full-length screenshot of a web page by using gnome-web-photo.
Since gnome-web-photo is a GNOME application, you need to use a desktop environment in Linux.
To install gnome-web-photo on Ubuntu or Debian:
To install gnome-web-photo on Fedora:
If you are a CentOS or RedHat user, be aware that gnome-web-photo depends on GTK+ 3.0. This means that gnome-web-photo is not compatible with GNOME 2, which is shipped with CentOS/RHEL 6.*.
To take a screenshot of a web page:
The "-t" option specifies the timeout value (in seconds) for screenshot generation. "-t 0" means that timeout is disabled.
Using gnome-web-photo, you can also generate a small thumbnail of a webpage as follows. Optionally, you can specify thumbnail size by using "-s" option. The default thumbnail size is 256x256.
If you want to save a screenshot of a website as a multi-page PDF, so that you can print it out later, you can use the following command.
Subscribe to Xmodulo
Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!
Latest posts by Dan Nanni (see all)
- How to install Suricata intrusion detection system on Linux - September 3, 2015
- How to switch from NetworkManager to systemd-networkd on Linux - August 31, 2015
- How to set up a system status page of your infrastructure - August 25, 2015