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
Take Your Screens Black #22
Chapter 4, Related to X
|
71
HACK
If you are running Xorg, note that a few of these hacks are likely to be more
stable on some environments. This is especially true of the hacks that add
drop shadows and transparency. This is the first attempt at adding these fea-
tures to the X Window System, and not all the quirks have been worked out.
The Xorg programmers are improving these features very quickly. But don’t
be surprised if these two hacks crash one window manager and work almost
perfectly on another.
HACK
#22
Take Your Screens Black Hack #22
Get rid of the ugly gray mesh that greets you every time you start up an X11
session.
Every time you start up an X11 session, the default background is an ugly
gray mesh. Some window managers and desktop environments change this
almost immediately, but others leave the background a putrid gray. Here’s a
tip on how you can make sure the default background is solid black. (In case
you’re wondering, the choice of colors for the background is like the choice
for the Model T Ford—you can make it any color you want as long as it’s
black.)
The trick behind making the default background black is to add the
–br
switch to the right configuration file. Which configuration file needs to be
modified depends on how you start your window manager or desktop.
startx
If you start your window manager with the startx command, edit the /usr/
X11R6/bin/startx ...
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