Category: Linux Terminal

Added: 15th of November 2020

Viewed: 556 times

Capture screenshots of websites using cutycapt in different formats using the terminal in Ubuntu and Ubuntu based distributions

To capture screenshots of a website we would need to use the screenshot applications provided in Linux, or alternatively download one of the many web browser extensions available.

One package that I stumbled across called cutycapt allows you to grab screenshots of websites using the terminal, not only that but it captures the whole website from top to bottom, which is pretty neat.

To install cutycapt open your terminal and enter the following command

sudo apt-get install cutycapt


Once installed let's grab our first screenshot of mycomputertips in .jpg format, and save this to our Pictures folder using the following command. Replace username with your own username

cutycapt --url=http://www.mycomputertips.co.uk --out=/home/username/Pictures/mct_screenshot.jpg


Cutycapt can output in many different formats too
svg, ps, pdf, itext, html, rtree, png, jpeg, mng, tiff, gif, bmp, ppm, xbm, xpm

For further information of the options available, just enter the following in your terminal
cutycapt -h


You can also visit the main site by visiting
http://cutycapt.sourceforge.net/

Other Tips & Tutorials

Linux Terminal

Kill multiple processes using the pkill command in Linux

Posted: 5th of January 2021

Views: 400

Linux Terminal

Display free memory using the terminal in Linux

Posted: 17th of December 2020

Views: 500

Linux Terminal

Using mlocate to find files by name, extension using the terminal in Linux

Posted: 27th of November 2020

Views: 422

Linux Terminal

Capture screenshots of websites using cutycapt in different formats using the terminal in Ubuntu and Ubuntu based distributions

Posted: 15th of November 2020

Views: 556

Linux Terminal

Display a calendar in the terminal

Posted: 6th of November 2020

Views: 505

Linux Terminal

Create a simple cronjob in Linux

Posted: 20th of October 2020

Views: 633

Linux Terminal

Create a new folder and file using the mkdir and touch commands using the terminal in Linux

Posted: 16th of August 2020

Views: 577

Linux Terminal

Convert a PDF document to text or html using pdftotext, pdftohtml in Linux using the terminal

Posted: 3rd of August 2020

Views: 877

Linux Terminal

List files in a directory using the ls command

Posted: 22nd of July 2020

Views: 611

Linux Terminal

How to access HP Linux Imaging and Printing System set up on Ubuntu using the terminal

Posted: 13th of November 2019

Views: 1307