How to Take Full Length Screenshots of Websites from Linux Terminal

Taking screenshots is something that we do often, and one of the limitations we always face is the ability to take a full length image of a website. This feature is not included in most screen capture tools, and you often need a separate software for that. For Linux users who love the command line, here is a quick and easy way you can use to take full length screenshots of websites directly from the terminal.

Gnome-web-photo is a Gnome application that you can use to capture screenshots of websites. As a Gnome application, it is not limited to any distro. You can install it on your Linux system as long as it supports GTK+ 3.0.

In a Ubuntu-based distro, you can install it with the command:

For Fedora, or yum-based distro, use the command:

To get started, you just need to type the command:

Replace “URL” with the url of the website and change “output.png” to the name you want to save the file as.

This will produce an image like this:

gnome-web-photo-mte-screenshot

Gnome-web-photo doesn’t work with jpg format, so you have to use png for the image.

There are other modes that you can use as well. For example, if you want to capture a thumbnail image (256x256px) instead of the full-length sreenshot, add “--mode=thumbnail” to the command:

To capture the image as a PDF, use the “--mode=print” argument:

To add a timeout, just in case the website cannot be retrieved, you can add the argument “--timeout=T” to the command:

Alternatively, you might also want to add a delay before it takes the screenshot. Add the argument “–delay=D” to the command:

By default, gnome-web-photo will only take a screenshot with a width of 1024px. You can change the width by adding the “--width=W” arugment.

Gnome-web-photo is a simple, yet useful, tool to take screenshots of websites. And being a command line tool, it is good for server use where most GUI applications are useless. Try it out and let us know if it works for you.

Image credit: Is this article useful?

4 comments

  1. $ sudo apt-get install gnome-web-photo
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package gnome-web-photo is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘gnome-web-photo’ has no installation candidate

Comments are closed.

Sponsored Stories

Related Posts

How to Use FSearch to Quickly Search Files in Linux
How to Remote Control Ubuntu from an Android Phone
How to Connect Your Android Phone to Gnome Desktop with GSConnect
17 Fun Linux Commands to Run in the Terminal
How to Mount Google Drive in Ubuntu
How to Sync Microsoft OneDrive with Linux
How to Update and Upgrade Ubuntu Offline
Linux vs. Windows: An Objective Look at Both Operating Systems