Page 1 of 1

[SOLVED] Screenshot in one hit

PostPosted: Nov 13th, '16, 21:10
by Wasa
Hello, first post here!

Is there a way to make a screenshot AND save it somewhere in just one action? Some shortcut maybe?
I could not find any information. Ksnapshot doesn't seem to have that function. I also downloaded Shutter but I can't find the function there neither.

For example, I want to be able to: make a screenshot of a film without having to pause it / quickly take several screenshots of a same webpage while scrolling down / etc.

Thanks!

Re: Screenshot in one hit

PostPosted: Nov 13th, '16, 23:45
by doktor5000
Hi there, please next time use of the support subforums for support-type queries.

For your question, yes there are a lot of ways to do that, check e.g. https://wiki.archlinux.org/index.php/taking_a_screenshot#Details:_general_methods
I'd suggest using one of the CLI tools, using a detailed timestamp including minutes and seconds for the filename and then map that command to some keyboard shortcut of your choosing.

FWIW, what desktop environment do you use currently?

Re: Screenshot in one hit

PostPosted: Nov 14th, '16, 19:14
by Wasa
Forgive me, I'm a Linux newbie so I don't exactly know where to look when looking for such things! And thanks for moving the topic!

So I did exactly what you suggested. It works perfectly.
Here is what I did.

Code: Select all
urpmi imagemagick
mkdir /home/username/screenshots
import -window root /home/username/screenshots/$(date +%F_%H%M%S_%N).png


PS: I'm on KDE

Re: Screenshot in one hit

PostPosted: Nov 14th, '16, 21:07
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks