Re: image dump of hidden X session

From: Kasper Dupont (kasperd_at_daimi.au.dk)
Date: 08/12/03


Date: Tue, 12 Aug 2003 10:00:48 +0200

Kasper Dupont wrote:
>
> If that is not what is happening to
> you my next guess would be, that the reason is, that something goes
> wrong when attempting to take a shot of a display while X is not on
> the active VC.

That is in fact the reason. I tried this command while X was on
the active VC, and while it was not:
   xwd -display :0 -root >/tmp/xwd.$(date +%s)

I tried on three different computers. In all three cases, the
result when X was not active was that the last few rows of pixels
on the screen was repeated over and over again each time seperated
by one row of junk.

I found that when X was not the active VC, grabing the screenshot
took less time (easy to hear the beeps were faster). And in one of
the cases I tried counting the rows of pixels. Instead of the
correct 1024x768 pixels screen, I got the last 15 rows of pixels
followed by one row of junk, all of which was repeated 48 times.

I have tried with XFree86-4.0.1 and XFree86-4.3.0. I don't know if
earlier versions also suffer from this problem.

-- 
Kasper Dupont -- der bruger for meget tid paa usenet.
For sending spam use mailto:aaarep@daimi.au.dk
Their business was zero and it was shrinking.


Relevant Pages

  • Re: image dump of hidden X session
    ... That is in fact the reason. ... I found that when X was not the active VC, grabing the screenshot ... the cases I tried counting the rows of pixels. ... Kasper Dupont -- der bruger for meget tid paa usenet. ...
    (comp.os.linux.x)
  • Re: image dump of hidden X session
    ... That is in fact the reason. ... I found that when X was not the active VC, grabing the screenshot ... the cases I tried counting the rows of pixels. ... Kasper Dupont -- der bruger for meget tid paa usenet. ...
    (comp.os.linux.development.system)
  • Re: Pan 0.133 custom headers
    ... I took a screenshot of the posting profile dialog, ... smallest "unmaximised" size it measures 715 x 599 pixels. ... if your posting profile is in an "unmaximised" condition it ... "unmaximise" window setting? ...
    (news.software.readers)
  • Re: [preview.sty] Need some *hints* in creating an image of an equation
    ... TeX-wise, but not in "mine". ... Is there a reason you snipped the part about using \displaystyle in a ... resampling exactly at 500 pixels in GIMP with bicubic interpolation. ...
    (comp.text.tex)
  • Re: Modify screen pixels
    ... pixels and 3 seconds to write them. ... Now I'm using GetDIBits to capture a screenshot to a buffer which is ... Windows API has GetPixel and SetPixel, and these (like all Windows GDI ... specific range of RGB next to each other. ...
    (comp.graphics.api.opengl)