Monday, May 11, 2009

Take screenshots in Gentoo

Scrot is a command-line tool for taking screenshots.
Of course if you're running a DE like Gnome or KDE, they already have their own tools that are configured to take a screenshot and save you a file with it whenever you press the print screen key on your keyboard.
But for those who use simple window managers like dwm, awesome, fluxbox, and their work is terminal based most of the time, scrot is like a gift from heaven. It's great, simple, and combined with ompload really does miracles.

Lets install it:
#emerge -av scrot
How to take screenshots with scrot?
(to take a screenshot and make it a file named screenshot.jpg with it)
$scrot screenshot.jpg
(to take a screenshot after 5 seconds delay time. it can be set for any amount of seconds)
$scrot -d 5 screenshot.jpg
Here's a screenshot of me taking a screenshot :)
(note the command written on the terminal on the left)


That's all the basic stuff you need to know to use scrot effectively. It would be good if you configure the print screen key to execite a scrot command, or even combine it with an ompload command.

0 comments:

Post a Comment

 

GentooNova © 2008 Business Ads Ready is Designed by Ipiet Supported by Tadpole's Notez