I'm trying to understand the capabilities of .Xresources yet I cannot get it do do even the most simple of configurations. For instance, I want to be able to change the background color of my terminal.
In my .Xresources file I have:
*background: #FFFFFF
I save that and then run
xrdb -merge ~/.Xresources
I have tried exiting the terminal, logging off then back on, and restarting. No luck.
I know I could change the background by using Edit–>Profile Preferences–>Colors but I want to understand Xresources
Edit: I asked this quesion on Ubuntu Forums and received this response from Toz
Which terminal program are you using? The process you list works fine for xterm (and other Xt library-derived applications). If you're using gnome-terminal or xfce4-terminal, then you're out of luck – neither terminal doesn't use Xresources to set its properties. You have to use the configuration system that the program uses.
At the time I was not using xterm so it didn't make sense to use .Xresources
.
Best Answer
.Xresources doesn't work for me either anymore. My workaround is to use /etc/X11/app-defaults/XTerm-color and /etc/X11/app-defaults/XTerm.