Linux screenshots, how to take them like a mac

Solution 1:

I know you said you had a problem with ImageMagick, but I think you should ask another question about why import is not working for you.

And then when you have that working something like this could help.... (maybe)


Well I found this page on how to take a screenshot on ubuntu linux, and there I picked the ImageMagick way and wrapped that in a little script. (or try scrot).

Save this in ~/bin/take_screenshot.sh

#!/bin/sh

time=`date +%Y%m%d_%H%M%S`
import -window root ~/screenshot_$time.png
#scrot ~/screenshot_$time.png

Then make the script executable

chmod 755 bin/take_screenshot.sh 

Then you add a keyboard shortcut that execute this script (well first you should try to run it from the terminal and make sure it is working...).

And now when you press that Command+Shift+3 a screenshot will be saved in your home dir with a unique name, something like screenshot_20100318_074618.png.

Solution 2:

I use Shutter for all my Linux screenshooting needs. You can set it to save screenshots on your desktop, and you can easily set keyboard shortcuts for it, so it should handle your particular question, as well as make most screenshot-related tasks much easier.

Solution 3:

On Linux:

1) Applications —> Accessories —> Take Screenshot.

2) Print Screen" (PrtSc) button on your keyboard.

I think there is no Mac equivalent for applekey + shift + 4 or windows snipping tool

Thank you

Solution 4:

Binded custom keyboard shortcut Alt+Shift+4 with script that will provide crosshair pointer similar as OSX Command+Shift+4:

#!/bin/bash
savepath=$HOME/Desktop/screenshots
import $savepath/`date +"%H:%M:%S_%m-%d-%y_"`screenshot.jpg