-   Linux - General (
-   -   Lynx colours? How can I do that? (

llista 09-06-2007 09:54 AM

Lynx colours? How can I do that?
I browse the net with Lynx to save on data transfer bills, I find it hard to read some pages due to the colours and the black background.

I have realised that elinks uses the background and colours of the shell it runs on, but with Lynx I just don't see anywhere to tell the browser what colours use when browsing the net.

I have looked into the lynx.cfg and man lynx of course, but no luck. I have looked into (O)Options too, nothing there.

I mainly use a Debian based distro, thank you.

Peacedog 09-07-2007 07:35 PM

Line 2905 of /etc/lynx.cfg is where the appearance values start.
Good luck. ;-)

plmiles 10-12-2008 03:11 PM

Use lynx.lss to get rid of black background
In my experience, changing the color settings in lynx.cfg does not get rid of the black background.

Instead, edit the file named /etc/lynx.lss
Look for these lines:

# If you really want the terminal's default colors, and if lynx is built using
# ncurses' default-color support, remove these two lines:
normal: normal: lightgray:black
default: normal: white:black

Put a # at the beginning of the last two lines.

If you don't have root access to the machine running lynx, copy the file to your home directory, edit it and add

export LYNX_LSS=$HOME/lynx.lss

to your .bash_profile

I've done this with lynx 2.8.6rel.5 on both local and remote machines.

evaluatinglinux 10-15-2008 01:04 PM

Wow ... Nice to hear people still use lynx. The last time I used it was in college - and that was a good 10 years back!

I'm feeling all Nostalgic right now ...

Debian Kernel

okahara 07-26-2014 12:46 PM

plmiles is right, edit the file /etc/lynx.lss to adjust the colors. If this doesn't work just create a copy of the edited lynx.lss file in your home directory and add this line to your .bashrc or .zshrc:


export LYNX_LSS="$HOME/lynx.lss"

All times are GMT -5. The time now is 09:46 AM.