4

I have colors defined in .Xresources. They look lovely on urxvt, and utterly ghastly on Calibre.

Calibre does not appear to have any way to disable or override those colors, so is there any way I can invoke Calibre that would ignore my color scheme?

10

The string in Xresources usually looks like this:

 name.Class.resource: value

Looks like you use * in place of name and class:

*color0: black

Which means you apply color to everything.

If you want apply colors to urxvt only:

URxvt*color0: black
1

Although being more specific in your .Xresources file can solve the problem, it's not the perfect workaround if you really do intend to use wildcard selectors.

Another workaround is to unload your .Xresources file before launching calibre, and reload it afterwards:

xrdb -remove ~/.Xresources && calibre & sleep 5; xrdb -load ~/.Xresources

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.