_ _
___ | |__ __ _ _______ | |_
/ _ \| '_ \ / _` |_ / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
\___/|_| |_|\__,_/___\___/ \__|
lynx_config —
lynx.cfg and lynxrc options
Lynx has two configuration files:
| system defaults |
: /etc/lynx.cfg |
| user options |
: ~/.lynxrc |
| LYNX_CFG |
: change /etc/lynx.cfg |
(back to top)
STARTFILE:HOME_URL
DEFAULT_INDEX_FILE:HOME_URL|INDEX_FILE #Accessible when using the key I.
INCLUDE:filename[for setting1,setting2]
| - STARTFILE and DEFAULT_INDEX_FILE could be used with a bookmark file or
jumpfile. |
| - When using a local file for STARTFILE or DEFAULT_INDEX_FILE, use
file://localhost/PATH. |
| - The variable WWW_HOME will take precedence over STARTFILE. |
- INCLUDE can be used to have specific values and include the system
lynx.cfg or other files. lynxrc options can be enabled from lynx.cfg:
ENABLE_LYNXRC:AUTO_SESSION:ON
ENABLE_LYNXRC:SESSION_FILE:ON
This allows .lynxrc to have the following options available:
auto_session=on|off
session_file=LYNX_SESSION_FILENAME
|
(back to top)
The file is saved to $HOME/.lynxrc, there is no argument to change
this. To change the location of this file
HOME=ALT_HOME_FOR_LYNX lynx. The format is:
option=value.
(back to top)
| lynx.cfg |
| VI_KEYS_ALWAYS_ON:TRUE|FALSE |
| lynx.cfg |
| EMACS_KEYS_ALWAYS_ON:TRUE|FALSE |
| ~/.lynxrc |
| emacs_keys=off |
| ~/.lynxrc |
| vi_keys=off |
(back to top)
| lynx.cfg |
| ACCEPT_ALL_COOKIES:FALSE |
| ~/.lynxrc |
| accept_all_cookies=off |
PERSISTENT_COOKIES:TRUE|FALSE(default)
COOKIE_SAVE_FILE:ABSOLUTE_PATH #file to store cookies. Requires PERSISTENT_COOKIES:TRUE
SET_COOKIES:TRUE(default)|FALSE
| lynx.cfg |
| COOKIE_FILE:ABSOLUTE_PATH #file from which to read cookies. Requires
PERSISTENT_COOKIES:TRUE |
| ~/.lynxrc |
| cookie_file= |
| lynx.cfg |
| COOKIE_REJECT_DOMAINS:DOMAIN |
| lynx.cfg |
| COOKIE_ACCEPT_DOMAINS: |
| ~/.lynxrc |
| cookie_accept_domains= |
| ~/.lynxrc |
| cookie_reject_domains= |
| - COOKIE_FILE and COOKIE_SAVE_FILE should be the same path. |
| - SET_COOKIES will prevent lynx from accepting new cookies. |
| If PERSISTENT_COOKIES are stored, they will continue to
be processed. |
(back to top)
| Environment variable |
| lynx.cfg |
| Value |
| LYNX_SAVE_SPACE |
| SAVE_SPACE |
| ABSOLUTE_PATH |
(back to top)
If 8 bit characters are not displayed, check other options for the
value: character_set
character_set=UNICODE (UTF-8)
(back to top)
| - Translate to Spanish. |
| - Review PATHS for .lynxrc |
| - Improve the format. |
| - Check LYNXCFG option to allow changing character set from the options
menu. |
(back to top)
| 2026-07-14 |
: added character set options. |
| 2025-11-26 |
: Created. |