LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Application similiar to ksnapshot (making screenshots) (https://www.linuxquestions.org/questions/linux-software-2/application-similiar-to-ksnapshot-making-screenshots-165784/)

krajzega 04-03-2004 01:28 PM

Application similiar to ksnapshot (making screenshots)
 
Does anybody know any application similiar to ksnaphot, where I can make a screenshot using a console command (or how to make it with ksnapshot, --help doesnt say anything like that) ? If you know, please reply this thread, it's very important for me.

XavierP 04-03-2004 01:40 PM

With ksnapshot, click ksnapshot and the dialogue window opens with a thumbnail of the desktop. Change your options and click 'save as'. Then call your snapshot something and save it.

krajzega 04-03-2004 02:17 PM

I said that I want an application, which can make a snapshot by a console command.

mrcheeks 04-03-2004 02:33 PM

few examples http://sps.nus.edu.sg/~marimuth/linu...n_capture.html without ksnapshot

nightjar 04-03-2004 02:35 PM

what's it mean?
you can run ksnapshot from a terminal typing # ksnapshot

I dont understand ur request

krajzega 04-03-2004 03:08 PM

I want to make screenshot using console command, not run an application

nightjar 04-03-2004 04:27 PM

Are you talking about a command that majke an snapshot?

I never hear about it

mrcheeks 04-03-2004 04:49 PM

follow the link i posted above, lots of people for those you don't know don't have/use gimp or kde or gnome, but they do take screenshots with other graphic programs or from the command line...

XavierP 04-04-2004 04:51 AM

AFAUK, there aren't any command line screenshot programs (unless you count running the gui snapshot program via the command line). I would say that reason for this is that it was never considered a necessary function - why take a screenshot of the command line when copy/paste would work.

Screenshots are more likely to be a gui function. Maybe is you explained why you need to do it this way, we could provide more meaningful answers.

grimthingcom 04-09-2004 02:39 AM

This is ignorance...
 
Quote:

Originally posted by XavierP
AFAUK, there aren't any command line screenshot programs (unless you count running the gui snapshot program via the command line). I would say that reason for this is that it was never considered a necessary function - why take a screenshot of the command line when copy/paste would work.

Screenshots are more likely to be a gui function. Maybe is you explained why you need to do it this way, we could provide more meaningful answers.

Check and see if you have ImageMagick installed. Quick way, from a terminal type
Code:

display -version
You should get something like the following:
Code:

Version: ImageMagick 5.5.7 12/23/03 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 2003 ImageMagick Studio LLC

If you do, you're all set.

From the terminal, type
Code:

import -window root screenshot.png
That will drop screenshot.png into the current directory.

If you don't have ImageMagick installed, and don't want to go through the hassle of installing it, use xwd. Xwd(X Window Dump) is a part of XFree86, so if you have GUI, you have xwd. From a terminal type
Code:

xwd -root -out screen.dmp
That'll drop screen.dmp into the current directory. Just open screen.dmp in the Gimp, or Xpaint and save out to your desired format/resolution.

mikshaw 04-09-2004 02:51 AM

There's also fbdump if what you're looking for requires being in console

tearinox 04-09-2004 12:12 PM

i can see where this is useful. All you have to do now is bind it to a button (like Print Screen) and walla, you've got a great tool by your side.

XavierP 04-09-2004 12:18 PM

Quote:

Originally posted by grimthingcom
This is ignorance...
Thanks for that.

However, quite apart from the fact that I said "as far as I know", I still can't see the need to take a snaphot of the command line.

mikshaw 04-09-2004 01:11 PM

Quote:

Originally posted by XavierP
Thanks for that.

However, quite apart from the fact that I said "as far as I know", I still can't see the need to take a snaphot of the command line.

I think you misread....he's looking for a way to take a snapshot _from_ a commandline, not _of_ a commandline. This saves having to first open an GUI application and then take a snapshot from that application (2 steps) when instead you can enter a single command or press a key to take a snapshot automatically (1 step).

XavierP 04-09-2004 01:16 PM

Aaah, now I get it.

Why not just create a keyboard binding, so that with a couple of keypresses, ksnaphot (or whatever) opens?

Because the 2 steps are still there - open a console and then type in whatever is needed. In fact, that's several keypresses. Using ksnapshot as an example: click the K, hover over Graphics, hover over More Programs (on my box) and click ksnapshot. Then click the relevant button.

Or am I splitting hairs? :)


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