This is a discussion on How can I take a screenshot from an X TERMINAL? within the Shell scripting forums, part of the Development/Scripting category; I wrote shell script for help desk application; in this script I need to take a screen shot from script ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
| Sponsored Links | ||
|
|
|
||||
|
Use the command called import which is use to capture some or all of an X server screen and save the image to a file.
import abc.jpg import -window abc.jpg Read the man page of import to get more infomration. Also see ImageMagick home site : http://www.imagemagick.org/script/index.php It has many cool features... since you are playing with images ... |
|
||||
|
You can also use (only for command vc
:Code:
cat /dev/vcs4 > myscreen |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to open an pdf file(.pdf) in terminal | chandrasekar | Getting started tutorials | 1 | 03-27-2008 01:41 AM |
| How to save history of a hung terminal | ricc | Linux software | 2 | 06-20-2006 01:21 AM |