Translation(s): English - 简体中文

(!) ?/Discussion

Changing the Default X Background

When X first starts up, it shows an ugly gray checkered pattern, before GDM, XDM, KDM, or your window manager starts up and it is replaced with your wallpaper. However, even though it is only for a second, it looks extremely unprofessional and unpolished. This tip tells how to replace this with a black background when X starts.

Step 1

As root, or using sudo (recommended) open the file /etc/X11/xinit/xserverrc. It should look something like this:

#!/bin/sh
exec /usr/bin/X11/X -dpi 100 -nolisten tcp

Step 2

Add -br to the end of the line which contains /usr/bin/X11/X

#!/bin/sh
exec /usr/bin/X11/X -dpi 100 -nolisten tcp -br

Step 3

Logout of/restart X. It should now have a solid black background, instead of the checkered pattern.