[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .Xresources not loading on start



On Tue 18 Mar 2014 at 23:32:04 +0530, Anubhav Yadav wrote:

> So my question is what do you mean by "Xterm", and then how is "xterm"
> different?

There is no meaning for Xterm without launching an xterm with the -name
option. Do you mean XTerm?

> I can guess it has something to do with the class of applications/ instance of
> applications!

Resources are specified with either

   instance*resource: value

or

   class*resource: value

The xprop program will tell you what the instance and class are. I have

   WM_CLASS(STRING) = "xterm", "XTerm"

"xterm" is the instance and "XTerm" the class. With your .Xresources I
could use either to specify the resources. With

   xterm -name Xterm

the class is unchanged but the instance is "Xterm". "xterm" in your
.Xresources now has no effect because it is not the instance name.


Reply to: