[Conkeror] white-on-black colour schemes

Trent W. Buck trentbuck at gmail.com
Wed Jun 11 20:58:09 PDT 2008


> Subject: Re: Feature request/question

This subject is horribly vague.

A.W. <gzeusmants at gmail.com> writes:
> Is it possible to make text input boxes white-on-black as opposed to
> black on white?

I don't know about conkeror specifically, but I've noticed other gecko
browsers get their form widget colour schemes from GTK,
i.e. ~/.gtkrc-2.0.  Here's the white-on-black gtkrc I use:

    http://cyber.com.au/~twb/Preferences/.gtkrc-2.0

I adopted midori as one of my browsers, and it can't do white-on-black
in any sensible fashion (you have to craft user CSS by hand, and that
CSS then fights page authors' CSS).

Therefore I adopted a generic approach of inverting the entire X
display.  To achieve this I reverse the gamma ramp using this simple C
script (delete the shebang line to compile with cc):

    http://cyber.com.au/~twb/Preferences/.bin/xdark

This conveniently *doesn't* requiring a compositing WM, and works for
PDF and browser canvasses.  The down side is that images are inverted,
so I typically toggle it off when I look at photographs.

> I'd ask how to change the default display colors, but I KNOW that
> would muck up websites that aren't explicit but should be.

It certainly leads to loss of information when you discard author CSS
and force white-on-black at the CSS level; for example, zebra striping
in tables.



More information about the Conkeror mailing list