dogtail-devel [Bug 429347] Dogtail's utils.screenshot() not working properly on exported display
- From: "dogtail (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
- To: dogtail-devel-list gnome org
- Subject: dogtail-devel [Bug 429347] Dogtail's utils.screenshot() not working properly on exported display
- Date: Wed, 12 Dec 2007 14:07:37 +0000 (UTC)
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=429347
dogtail | Framework | Ver: 0.6.1
------- Comment #4 from Alexander Todorov 2007-12-12 14:07 UTC -------
(In reply to comment #1)
> Sorry, I thought I had commented on this. I can't reproduce this problem...
>
1. Log in to your GNOME session. This is DISPLAY=:0
2. press Ctrl+alt+F1 to go to the text console
3. log in with your username (no root)
4. type: startx -- :1 (which start a second GNOME session here)
5. open gnome-terminal and type:
$ export DISPLAY=:0 ## we are running at :1.0
$ python
>>> from dogtail.utils import screenshot()
>>> screenshot()
GTK Accessibility Module initialized
Screenshot taken: /tmp/dogtail/screenshot_20070413-151517.png
'/tmp/dogtail/screenshot_20070413-151517.png'
>>> Ctrl+D
6. Now press Ctrl+Alt+F7 to return to the previous GNOME session (:0)
7. Open the image with EOG (or other image viewer).
8. Resulting image is black.
Additional info:
- it's not necessary to start a second GNOME session. You may skip step #4, the
result is the same.
- I have a script starting Xvnc on :1 and a Dogtail script which succeeded in
taking the screenshot. I will investigate further.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=429347.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]