LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2011, 10:05 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Screenshots: will xwd do?


Hi:

I have seen that many of you send screenshots. I want to be able to do this too. I have a linux utility called xwd, and thought that perhaps it could be used for that purpose. The manual is not long but a little technical for my stage of knowledge.

What I want to capture is some region of the desktop or whatever windows are open above it. So, my question: Will xwd serve this purpose? Kind regards.

Last edited by stf92; 06-12-2011 at 10:10 AM.
 
Old 06-12-2011, 10:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yes, but you'll need to convert the image to gix / jpg / png before uploading it:

xwd -file blah.xwd
convert blah.xwd blah.png

Note, this is *not* a question about linuxquestions.org so should not have been posted in this forum. Lunux - Newbie is probably a better place in future.
 
Old 06-12-2011, 11:01 AM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
// moved.

--jeremy
 
Old 06-12-2011, 11:07 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I like scrot and ksnapshot.
 
Old 06-12-2011, 11:43 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Hi again and thanks.

@acid_kewpie:

I ran
$ xwd -out my_file
and, as the manual says, click on one corner, slided the mouse and clicked on the other corner. An hour has elapsed but my_file is nowhere on the hard disk. It is obvious I did not quite get it. But every option except -out is unimportant in my case, I think. So what did I do wrong?

@MTK358:

I do not have but I do have ksnapshot. I will try this one too.
 
Old 06-12-2011, 12:13 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
An hour? it's instant. and will be right in the directory you are running it from.
 
1 members found this post helpful.
Old 06-12-2011, 04:21 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks.
 
Old 06-12-2011, 06:36 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
why not push the "print screen" button on the keyboard
or
"grab screen" in Gimp
 
Old 06-12-2011, 07:43 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Well, it's a curious thing this: in old US keyboards, there are three keys in a row, like this:
Code:
          Print        Scroll      Pause
          Scrn         Lock        Break
          SysRq
Under MS-DOS, and in my experience, Pause/Break makes the machine to freeze, Scroll Lock does nothing and Print Scrn, I remember needed a special program to dump CRT to PRN. SysRq was a mistery.

As to Linux, I have just, naively perhaps, pressed Print Scrn and nothing happened. I suppose a program is also required.

Can you give me a reason to explain why so many people seems nowadays interested in the solar system planets and few in the stars? It's true: the most powerful telescope won't enlarge the size of a star whereas the planets can now be seen with wealth of details.

However, the sheer consideration of the magnitudes (distances, times, temperatures, sizes) and facts associated with the stars, makes man necessarily interrogate about the ultimate misteries of the universe.

Excuse me. I've been awaken during 48hs, and this turns me into a philosopher. Thanks for your replay.

Last edited by stf92; 06-12-2011 at 08:08 PM.
 
Old 06-12-2011, 07:52 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
"print screen" has always worked for me "out of the box"
in gnome and KDE on
fedora 4 to 11
opensuse 11.3
Arch
CentOS 5.3 to 5.6
SL 6.0 and 6.1
 
Old 06-12-2011, 08:19 PM   #11
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Interesting. I have Suse, don't remember the version. May be I install it and try, Thanks John VV.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen capture using xwd, xpr and lpr felton57 Red Hat 3 10-13-2023 02:06 PM
xwd doesn't create image file MrUmunhum Linux - General 1 06-04-2009 03:14 PM
xwd and xpr felton57 Linux - General 1 08-19-2008 12:40 AM
xwd, xwud commands byrnem6 Linux - General 1 01-09-2007 08:40 AM
CUPS Printing and XWD files jmgreen7 Linux - Software 4 04-13-2005 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration