Difference between pages "Take a screenshot" and "Take a video of your Linux desktop"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
 
imported>ThorstenStaerk
 
Line 1: Line 1:
To take a screenshot via command line and save it as desktop.jpg:
+
#REDIRECT [[take a video from your Linux Desktop]]
* install imagemagick, e.g. for Ubuntu Linux:
 
apt-get install imagemagick
 
* use the command import to take the screenshot:
 
import -window root desktop.jpg
 
* to find out the ID of a window, call
 
xprop
 
: and click on the window
 
 
 
= One-key-screenshot =
 
import -window root snapshot-$(date +%Y-%m-%d_%H-%M-%S).jpg
 

Latest revision as of 09:16, 1 March 2020