Capturing screen regions from midtwist

by Andrei Gaponenko and Rob MacDonald

A window or arbitrary rectangular region of the midtwist display can be captured to a PostScript file by doing the following steps:

  1. Press the KDE panel button in the lower left part of the (left) monitor. A window appears asking for a filename, and showing the directory where it will put the file (/home/twist/PS). Give it a filename, ending in ".ps". Mouse pointer changes its appearance and becomes a cross.
  2. Either
    • click in the window you want to capture, to grab the whole window at once,
    • or click and hold at the upper left corner of the region of the screen you want to print, drag mouse to the lower right corner, then release.
    The computer will beep at you to tell you it's taken the "snapshot".
  3. The window with instructions then displays where it put the captured picture. This file can be included in midas elogs, or printed with the command "lpr -Plas75" (no quotes). It would be nice of you to gzip the .ps file before posting it to elog, but not necessary.
  4. Please delete the snapshot file when you're finished with it (it's posted and/or printed), so we reduce the clutter in the PS directory at least a bit...

If you want to do the same thing but save your picture to a file (jpeg or png or whatever), you can use the "import" command from the command line. For example, type
import picture.png
and click a window or drag out a region as above. The file "picture.png" will appear in your current directory. Type "man import" for more info... (This should work from any Linux machine.) (You might be able to do the same by giving a filename ending in ".jpg" or whatever following the above instructions, but I (Rob) am not sure. Worth a try.)


Back to the run page.