Take the tour ×

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?

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

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
share|improve this answer
You nailed it! Thanks! –  Trevor Bramble Oct 9 '12 at 7:27
add comment

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
share|improve this answer
add comment

Your Answer


