LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 11:05 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,485

Rep: Reputation: 51
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 11:10 AM.
 
Old 06-12-2011, 11:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 12:01 PM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 11,957

Rep: Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113Reputation: 3113
// moved.

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

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I like scrot and ksnapshot.
 
Old 06-12-2011, 12:43 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,485

Original Poster
Rep: Reputation: 51
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, 01:13 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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, 05:21 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,485

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

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

Original Poster
Rep: Reputation: 51
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 09:08 PM.
 
Old 06-12-2011, 08:52 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
"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, 09:19 PM   #11
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,485

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
xwd doesn't create image file MrUmunhum Linux - General 1 06-04-2009 04:14 PM
xwd and xpr felton57 Linux - General 1 08-19-2008 01:40 AM
Screen capture using xwd, xpr and lpr felton57 Red Hat 2 08-29-2007 03:46 PM
xwd, xwud commands byrnem6 Linux - General 1 01-09-2007 09:40 AM
CUPS Printing and XWD files jmgreen7 Linux - Software 4 04-13-2005 11:20 AM


All times are GMT -5. The time now is 07:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration