I have a xresources file to customise xterm and running xrdb -merge it loads in fine. Starting a new xterm with xterm, I can confirm it has been loaded in OK.

However when I start a new xterm with xterm -name foobar it looses my config and goes back to the defaults.

This is an issue because I am using multixterm which in the background is starting xterms with the -names argument.

How can I maintain my xterm config between different -names?


Use the class XTerm instead of the name xterm in your resources. This will match all xterms, whatever their name. For example, do not use


but do use


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.