Difference between revisions of "Take a screenshot"

From Linuxintro
imported>ThorstenStaerk
m (ThorstenStaerk moved page Graphic commands to Take a screenshot without leaving a redirect)
imported>ThorstenStaerk
Line 1: Line 1:
import -window root desktop.jpg  
+
To take a screenshot via command line and save it as desktop.jpg:
: make a screenshot from the current window and save it as desktop.jpg
+
* install imagemagick, e.g. for Ubuntu Linux:
 +
apt-get install imagemagick
 +
* use the command import to take the screenshot:
 +
import -window root desktop.jpg
  
 
  xprop
 
  xprop
 
: find out the ID of the window you click on. Needed e.g. for the import tool.
 
: find out the ID of the window you click on. Needed e.g. for the import tool.

Revision as of 09:03, 20 December 2013

To take a screenshot via command line and save it as desktop.jpg:

  • install imagemagick, e.g. for Ubuntu Linux:
apt-get install imagemagick
  • use the command import to take the screenshot:
import -window root desktop.jpg
xprop
find out the ID of the window you click on. Needed e.g. for the import tool.