On Wed, 1 Feb 2012 17:33:28 -0600
Malcolm
On Wed, 01 Feb 2012 16:58:39 -0600 "David C. Rankin"
wrote: Guys,
I need to make a screenshot of the kdm greeter from tty1. All of the examples show using:
import -display :0.0 -window root somefile.png
It doesn't work. Unable to open display. I have also tried with :0, localhost:0, localhost:0.0, etc. nothing seems to work. I was able to grab one "black" screenshot after using ctrl+alt+F1 and then using:
import -display :0 -window root somefile.png
The capture what the correct 1440x900 screen size, but it was black. The X server seemed to reset after taking the screenshot and the import command would no longer work.
The imagick website shows the syntax as:
import -display host:display[.screen] -window root somefile.png
http://www.imagemagick.org/www/command-line-options.html#display
What am I messing up? I get the same results with both radeonhd and nvidia drivers (different boxes of course)
Hi I have just packaged up the other day fbcat which will do that ;) http://software.opensuse.org/search?q=fbcat&baseproject=openSUSE%3A12.1&lang=en&include_home=true&exclude_debug=true
Just run fbgrab -C 1 tty1.png
Hmm OK, this works for gdm... chvt 8 ; sleep 2 ; XAUTHORITY=/var/gdm/:0.Xauth DISPLAY=:0.0 import -window root /tmp/gdm.png ; chvt 1 -- Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 12.1 (x86_64) Kernel 3.1.9-1.4-desktop up 1 day 0:20, 3 users, load average: 0.16, 0.13, 0.08 CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org