
40
|
Chapter 2, Console
#12 Take a Screenshot from the Command Line
HACK
Undoing Your Custom Keys and Macros
If you want to set the behavior of your keyboard back to the defaults, all it
takes is one simple command:
$ sudo loadkeys --default
XFree86 and Xorg tend to override settings you make for console use, so you
don’t usually have to undo them before you start up a graphical desktop.
On rare occasions, something you define with loadkeys can
sneak into your graphical desktop keyboard definitions and
cause unexpected behavior. If you run into that problem, set
your keyboard configuration back to the defaults before
starting your graphical desktop.
HACK
#12
Take a Screenshot from the Command Line Hack #12
Who needs a graphical tool to grab a screenshot? The command line has
everything you need.
For many writers and programmers, screenshots are useful for showcasing
how an interface or program looks. Although grabbing a screenshot is often
as simple as running a small utility or clicking an option, some grabbers are
not as flexible as you need them to be. For example, sometimes you might
need a screenshot without the screenshot tool displayed in the taskbar, or
you might need to take a screenshot in an environment, where you cannot
run a graphical screenshot utility. This is a common problem for those who
need to take screenshots of installation programs or software on embedded
devices.
Take a Screenshot from ...