[mythtv-users] best way to take a screenshot?

Jesse Guardiani jesse at wingnet.net
Sun Mar 5 15:25:29 UTC 2006


On Sunday 05 March 2006 5:06 am, Phill Edwards wrote:
> > What's the best way to take a screenshot of the frontend?
> >
> > I'm aware of the XV issues. I can handle that aspect. What
> > I'm interested in are actual screenshot taking methods. I'd
> > prefer not to install anything extra if possible (i.e. gimp).
> 
> I use this:
> 
> #!/bin/bash
> #
> # Script : screenshot.sh
> #
> # When you've got the X Window you want to screenshot press Ctrl-Alt-F1 and
> # log on to a console window  as root and then run this file. It will produce a
> # screenshot in /tmp.
> #
> # NB - You must tell myth not to use XV for playback to getr a proper
> #      screenshot when playing video. To do that do $ NO_XV=1 mythfrontend
> #
> # NB - script (chvt 7) assumes that X is running on VT7.
> #
> # -----------------------------------------------------------------------------
> 
> chvt 7 ; sleep 5 ; XAUTHORITY=/var/gdm/:0.Xauth DISPLAY=:0.0 import
> -window root /tmp/screenshot-$$.png

I tried this one before I wrote the post to this list. Didn't work. It complained
that it couldn't find my DISPLAY device, :0, so I guess it doesn't work with newer
versions of xorg? What version are you running?

I'm running: x11-base/xorg-x11-6.8.2-r6

-- 
Jesse Guardiani
Programmer/Sys Admin
jesse at wingnet.net


More information about the mythtv-users mailing list