[SOLVED] Screenshot in one hit

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Screenshot in one hit

Postby Wasa » Nov 13th, '16, 21:10

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!
Last edited by Wasa on Nov 14th, '16, 22:49, edited 1 time in total.
Wasa
 
Posts: 2
Joined: Nov 13th, '16, 20:39

Re: Screenshot in one hit

Postby doktor5000 » Nov 13th, '16, 23:45

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screenshot in one hit

Postby Wasa » Nov 14th, '16, 19:14

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
Wasa
 
Posts: 2
Joined: Nov 13th, '16, 20:39

Re: Screenshot in one hit

Postby doktor5000 » Nov 14th, '16, 21:07

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest