Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-22-2015, 04:25 PM   #1
LQ Newbie
Registered: Apr 2015
Posts: 17

Rep: Reputation: Disabled
.Xdefaults is Empty!

I'm running Arch with i3. I'm trying to config xterm and realized that I didn't have a .Xdefaults file in my home directory. I saw in a forum that someone did

$ cd ~
$ touch ~.Xdefaults
I did that and it made a .Xdefaults file in my home folder but it is empty and I don't know what to do.
Old 04-22-2015, 08:51 PM   #2
Registered: Apr 2007
Location: West Virginia
Posts: 878

Rep: Reputation: 249Reputation: 249Reputation: 249
There is some great info right here in the Arch Linux Wiki about configuring xterm. There is some other good info on Xterm here. I used .Xresources to configure mine.

By the way, the touch command just creates an empty file with the filename you gave it so empty is what would be expected.

Last edited by jkirchner; 04-22-2015 at 08:53 PM.
Old 04-23-2015, 12:22 AM   #3
LQ Newbie
Registered: Aug 2013
Location: US
Distribution: Slackware 14.1
Posts: 28

Rep: Reputation: Disabled
Don't know if it's contraindicated, but I've had ~/.Xdefaults symlinked to ~/.Xresources for some time. At one time and possibly now, Openbox needed Xdefaults to run properly. In fact, it's still there in xinitrc:

    exec ck-launch-session dbus-launch openbox-session
    xrdb -merge ~/.Xdefaults


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
.Xdefaults pasovic Fedora 1 02-25-2006 10:00 AM
.Xdefaults??? SystemDownfall Linux - General 2 08-09-2005 06:04 PM
.Xdefaults Cryptix Linux - Software 3 05-28-2005 09:33 PM
.Xdefaults doesnt take effect, even with xrdb -merge .xdefaults... michelbehr Linux - Newbie 0 07-05-2004 09:59 PM
.Xdefaults fredlund Linux - Newbie 1 01-19-2004 10:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration