How to make a screenshot under Debian ?

?Anchor(gnome)

Using Gnome

Gnome has built-in capability to make a screenshot (package gnome-utils). Simply press:

More options are available in "Gnome Application Menu/Acessories/Take Screenshot" (like delayed screen shot).

?Anchor(kde)

Using KDE

KDE has the capability to make a screenshot (using package ksnapshot). Simply press:

Read ksnapshot handbook for more information.

Using command line

Just open a graphical terminal and type:

The command xwd is a standard xorg tool, which creates a [wiki:Netpbm_format pnm] file. you can then use imagemagick 's convert, or netpbm 's xwdtopnm tool)

A powerful alternative tool is scrot, which can directly save files as png (and other formats), and generate a filename. see [http://manpages.debian.net/man/1/scrot scrot(1)].

Console / Xterm

Rather that making a graphical snapshot of the console/command line or X-window terminal, it's usually better to copy the actual text content (select the region with a mouse).

?Anchor(console)

Console

To you use the mouse on the Console screen, you need to install gpm (run apt-get install gpm).

advanced tip: if you don't want to use a text editor, you can run cat > /tmp/outfile.txt, then paste the content using right-button, then press Ctrl-D (once).

Other Tools

Debian provides some other (advanced) tools to make screenshot, including gimp .

?Anchor(debian-installer-gui)

Debian Installer GUI screenshots

DebianInstaller's [:DebianInstaller/GUI:GUI] has a take "Screenshot" button.

To fetch the captured screen :

If you complete the installation, the screenshots can also be found in the directory /var/log/installer/ (after the reboot into the installed system).

License of screenshots

Screenshots are considered as derivative works (according to SPI legal counsel), see [http://lists.debian.org/debian-legal/2008/08/msg00016.html].

See Also