Posts

Showing posts with the label background

Fixing grey background (default bgcolor) in graphic links2

#Installing dependencies if you can become root is easy (Debian names shown): apt-get install pkg-config libpng12-dev libjpeg62-dev xorg-dev # libssl-dev libgpm-dev libbz2-dev #Fetch the web browser source: mkdir mylinks && cd mylinks && apt-get source links2 #Here's the magic, changing the default graphics mode background color from grey to white: patch -p 0 <<END diff -u links2-2.1pre37.old/default.c links2-2.1pre37/default.c --- links2-2.1pre37.old/default.c 2008-06-21 18:05:53.000000000 +0200 +++ links2-2.1pre37/default.c 2009-05-09 22:10:48.000000000 +0200 @@ -1453,7 +1453,7 @@ struct rgb default_vlink = { 255, 255, 0, 0 }; struct rgb default_fg_g = { 0, 0, 0, 0 }; -struct rgb default_bg_g = { 192, 192, 192, 0 }; +struct rgb default_bg_g = { 255, 255, 255, 0 }; struct rgb default_link_g = { 0, 0, 255, 0 }; struct rgb default_vlink_g = { 0, 0, 128, 0 }; END #Now we can compile the software: cd links2-* && ./configure --with-x --enable-...

A little background information about this blog

I write almost all articles and text on my Ericsson MC218 when I'm traveling and have nothing better to do. Note that I can touch type almost as fast on my mini-Dvorak as on my full-sized one, so this is by no means a limitation (>55WPM)! :-) When I get home, I upload them to my PC, covert them with a simple script of mine, proof-read them and run a second pass of spell checking. I then put them in a waiting queue based on completion ratio and importance, sometimes doing a bit splitting at the same time. Once in a while, I take one from the top of the stack and publish it. Hence for me, there's no such thing as lack of time or inspiration! :-D