Skip to Main Content
Linux Desktop Hacks
book

Linux Desktop Hacks

by Nicholas Petreley, Jono Bacon
March 2005
Beginner to intermediate content levelBeginner to intermediate
342 pages
15h 55m
English
O'Reilly Media, Inc.
Content preview from Linux Desktop Hacks
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
Introducing Linux Distros

Introducing Linux Distros

Jose Dieguez Castro

Publisher Resources

ISBN: 0596009119Supplemental ContentCatalog PageErrata