Click to See Complete Forum and Search --> : Customizing X??


DylanReid
11-13-2001, 10:58 PM
Is there a file I can edit that will allow me to customize things in xwindows? For example, if i wanted to start my gnome-terminal at a certain size isntead of the default, or if i wanted to have a red background for xclock?

I found something similar to this in Unix systems called .Xdefault, which has syntax like:

XTerm*scrollbar: True
XClock*Background: Red

But this doesn't seem to work in Linux.. at least in Mandrake 8.1, am I doing something wrong or is there another file?

Thank you!

DMR
11-14-2001, 01:13 AM
You're close. In each user's home directory is a file called .Xdefaults. If the lines/customizations that you want don't exist you can probably add them provided you use the right syntax. You might get more info from man X, but get ready, it's a pretty huge page.

Shadoglare
11-14-2001, 10:58 AM
Yeah, most settings are kept in a text file like he said. But it's not exactly a user-friendly text file.
You can probably find more info at www.xfree86.org, (http://www.xfree86.org,) or the book Running Linux 3rd edition goes into it as well if I remember right.