PDA

View Full Version : Taking screenshots?[SOLVED]


EvilTchnlgy
06-11-2006, 09:54 PM
When I try to install xgrab I get an error, and printscreen then paste doesn't seem to work like on windows :/
Any suggestions?

madman
06-11-2006, 11:52 PM
You could try scrot, pkg_add -r scrot

EvilTchnlgy
06-12-2006, 12:30 AM
pcbsd# pkg_add -r scrot
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... crot.tbz.. (ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/scrot.tbz..). Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... 5.1b.tbz.. (ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/All/libid3tag-0.15.1b.tbz..). Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... 10_2.tbz.. (ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/All/imlib2-1.2.1.010_2.tbz..). Done.
pkg_add: warning: package 'imlib2-1.2.1.010_2' requires 'libdrm-2.0_1', but 'libdrm-2.0.1_1' is installed
pkg_add: warning: package 'imlib2-1.2.1.010_2' requires 'tiff-3.8.0_1', but 'tiff-3.8.2' is installed
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... .4_2.tbz.. (ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/All/giblib-1.2.4_2.tbz..). Done.
pkg_add: warning: package 'giblib-1.2.4_2' requires 'libdrm-2.0_1', but 'libdrm-2.0.1_1' is installed
pkg_add: warning: package 'giblib-1.2.4_2' requires 'tiff-3.8.0_1', but 'tiff-3.8.2' is installed
pkg_add: warning: package 'scrot-0.8' requires 'libdrm-2.0_1', but 'libdrm-2.0.1_1' is installed
pkg_add: warning: package 'scrot-0.8' requires 'tiff-3.8.0_1', but 'tiff-3.8.2' is installed
pcbsd# scrot
scrot: Command not found.
pcbsd#

Whats the command to run it?
Btw: import gave me this error:
pcbsd# import
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

import: unable to open X server `:0.0'.
pcbsd#

DragnLord
06-12-2006, 01:15 AM
try ksnapshot
(it should be part of the default install)

pcbsdusr
06-12-2006, 01:21 AM
yes it is. :)

EvilTchnlgy
06-12-2006, 02:22 AM
bad news.. once again:

pcbsd# ksnapshot
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ksnapshot: cannot connect to X server :0.0
pcbsd#

pcbsdusr
06-12-2006, 02:37 AM
Sorry to hear that... I can say it works fine here :?

EvilTchnlgy
06-12-2006, 02:50 AM
Anyone have an idea why this is happening?
Im using the nvidia driver 8762 pbi at 1600x1200 on a dell latitude c840

scottro
06-12-2006, 02:56 AM
There's the builtin xwd (as in X Window Dump)

For example, type

xwd -out screen.xwd

Click anywhere with your mouse, then, hit ctl+C in the terminal where you ran the command.

You should now have a screenshot file called screen.xwd.

You might want to convert it to png or jpg using ImageMagick or something similar--with ImageMagick installed, one just uses the command
convert screen.xwd screen.jpg

DragnLord
06-12-2006, 04:55 AM
bad news.. once again:

pcbsd# ksnapshot
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

ksnapshot: cannot connect to X server :0.0
pcbsd#
looks like you're trying to call ksnapshot from a root terminal (won't work that way)
ksnapshot can easily be run from the "run command..." option in the main menu

EvilTchnlgy
06-12-2006, 05:57 AM
Thanks for the help guys! That did it, I'll add [SOLVED]

pcbsdusr
06-12-2006, 08:00 AM
:oops:

EvilTchnlgy
06-12-2006, 04:39 PM
:oops:
ya, this is one of those time when you go "O, I feel stupid..." and look at your feet
I waste so much time doing stuff like this, *sigh*