.Xresources and .Xdefaults under Ubuntu

This is just a small tip that I want to share since I had a bit of a headache before managing to solve this.

Problem
You want to use your .Xdefaults or .Xresources file for setting xterm properties and whatnot under Ubuntu, but what worked under other distributions/desktop environments isn’t working. You might have tried fidgeting with the new (confusing) GDM settings but can’t get it quite to work.

Solution
Append -hostname to the .Xdefaults file, i.e.
mv .Xdefaults .Xdefaults-zweck
Works on my computer (named zweck).

And that’s that. No need to restart anything. I hope that will help some poor *NIX traveler some day.




Bonus tip:
if you find that alt+KEY doesn’t work as expected in xterm under Ubuntu, add the line
xterm*eightBitInput: false
to your .Xdefaults-hostname file.

Write a Comment

 

Saker & ting

Blogginnehåll


Ämnen