Linux - GeneralThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.