Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-06-2007, 09:54 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 25

Rep: Reputation: 15
Question 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.
Old 09-07-2007, 07:35 PM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Line 2905 of /etc/lynx.cfg is where the appearance values start.
Good luck. ;-)
Old 10-12-2008, 03:11 PM   #3
LQ Newbie
Registered: Oct 2005
Distribution: Slackware
Posts: 5
Blog Entries: 1

Rep: Reputation: 0
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.
Old 10-15-2008, 01:04 PM   #4
Registered: Oct 2008
Posts: 45

Rep: Reputation: 15
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

Last edited by evaluatinglinux; 10-25-2008 at 02:48 AM.
Old 07-26-2014, 12:46 PM   #5
LQ Newbie
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
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"

Last edited by okahara; 07-26-2014 at 12:57 PM.


background, browser, color, lynx

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
more colours under X wilsonsamm Linux - General 11 05-21-2007 11:26 AM
How to use colours in c++ ? twirl Programming 3 10-05-2005 10:09 PM
Eterm colours Shafted Debian 3 10-24-2004 02:22 PM
ls and colours when listing destin Slackware 5 12-23-2003 06:43 AM
Colours in Konqueror joseamuniz Linux - Software 0 05-26-2003 08:56 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration