Книга: Fedora™ Unleashed, 2008 edition
Capturing Screen Images
Capturing Screen Images
Although you're working at the command line rather than a swish GUI, you can still grab images from your graphical desktop through the import
command, and that's exactly what we did to capture the images for this book.
First, we ran xhost +
on the remote computer to allow another computer access to the X server on the remote machine; the command to take the screenshot is run on our local machine like this:
$ import -window root -display 192.168.2.4:0 12fig07.jpg
This utility made a difficult task easy because the publisher required the screenshots be done from an 800?600 screen (too small to comfortably work in) to accommodate its printing and production equipment.
We could also have used the classic UNIX tool xwd
to take screenshots. The command would have looked similar to that of import
:
$ xwd -root -display 192.168.2.4:0 -out 12fig07.jpg
- DirectX Tutorial 4: Full Screen and Depth Buffers
- 5.3.1 mikroC IDE Screen
- PROJECT 7.1 — Read CID Register and Display on a PC Screen
- 2.4 Mapping Executable Images into Target Embedded Systems
- 2.4.2 Mapping Executable Images
- Building the Directory Tree and Displaying Images
- On Screen Display
- Пример № 44 Tony Stone Images
- 14.4.2. Объект Screen
- Screen
- Building Run-Time Images in Visual Studio
- Building Run-Time Images from the Command Line