On Fri, 07 Mar 2003 18:01:47 +0100 (CET) "Fabien - Team ( Syl,Alex,Seb)" <[EMAIL PROTECTED]> wrote:
> > Pour un écran X: > > $ xwd -root -silent -display <nom>:0 > fic.xwd > > > > Pour un écran console: > > screendump ou tout simplement > > # cat /dev/vcs4 > ecran_tty4.txt > > (en notant que dans ce cas, il faut mettre de linefeed tous les 80 > > caractères après). > > > > François Boisson > > > Super !! merci beaucoup > > Et euh ...$ xwd -root -silent -display <nom>:0 > fic.xwd > > POur <nom> je met koi ? j'ai essayé 0:0 mais ça marche pas.. Soit le nom de la machine, soit rien: par exemple portable:/home/francois# cd /tmp portable:/tmp# xwd -root -display :0 > toto.xwd portable:/tmp# xv toto.xwd toto.xwd is a 1024x768 XWD image in 16 bit ZPixmap format Unsupported visual type, sorry portable:/tmp# convert toto.xwd toto.jpeg portable:/tmp# xv toto.jpeg toto.jpeg is a 1024x768 JPEG image, color space YCbCr, 3 comps, Huffman coding. Building XImage...done portable:/tmp# > > Sinon le screenchoot console cé terrible mais existe til une possiblité > pour vraiment faire un jpg et non un txt.. > > Par exemple je voudrai bien faire des screenchot de l'install debian > pour un howto... convert (paquet imagemagick) est ton ami: exemple [EMAIL PROTECTED]:~$ echo "Salut toto" > toto.txt [EMAIL PROTECTED]:~$ convert toto.txt toto.jpeg [EMAIL PROTECTED]:~$ xv toto.jpeg toto.jpeg is a 612x792 JPEG image, color space YCbCr, 3 comps, Huffman coding. Building XImage...done [EMAIL PROTECTED]:~$ Malheureusement, dans ce dernier cas, c'est juste une conversion mais ça marche bien et tu retrouves un écran fidèle aux fontes de caractères près. François Boisson