💾 Archived View for tilde.team › ~rami › elinks.gmi captured on 2024-05-12 at 15:18:14. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-10)
-=-=-=-=-=-=-
רמי
SUBJECT: Elinks: Конфигурация консольного браузера
AUTHOR: Rami Rosenfeld
DATE: 27/04/24
TIME: 14.00
LANG: ru, en
LICENSE: GNU FDL 1.3
TAGS: gnu, gnome, software, opensource, linux, system, man, manual, bash, privacy, security, rhel, centos, mate, xfce, lxde, spin, de, systemd, systemctl, terminal, console, web, browser, elinks
Этот конфигурационный файл создавался автоматически (посредством CLI) и для личных нужд. В него, помимо наиболее критичных, внесены также некоторые косметические настройки, касающиеся оформления браузера; затем все они были отсортированы для улучшения восприятия. Файл нагляден, легко читается, поэтому я, вопреки сложившейся традиции, не привожу пояснений.
nano /.elinks/elinks.conf
set config.comments = 0
set config.saving_style_w = 1
set connection.ssl.https_by_default = 1
set connection.max_connections = 5
set connection.retries = 3
set cookies.accept_policy = 0
set cookies.save = 0
set document.browse.images.display_style = 1
set document.browse.images.filename_maxlen = 10
set document.browse.images.image_link_tagging = 0
set document.browse.images.label_maxlen = 10
set document.download.directory = "/home/user_name/Downloads"
set document.download.set_original_time = 1
set document.download.overwrite = 2
set document.download.notify_bell = 2
set document.history.global.enable = 0
set document.history.global.max_items = 5
set document.history.global.display_type = 0
set document.history.keep_unhistory = 1
set document.html.display_frames = 1
set document.html.display_tables = 1
set document.html.display_subs = 1
set document.html.underline_links = 0
set terminal.xterm-256color.charset = "utf-8"
set ui.language = "English"
set bookmarks.file_format = 0
set bookmarks.folder_state = 1
set config.indentation = 0
set config.saving_style = 3
set document.browse.images.show_as_links = 0
set document.browse.images.show_any_as_links = 1
set document.browse.links.color_dirs = 0
set document.browse.search.reset = 1
set document.codepage.assume = "System"
set document.html.link_display = 2
set infofiles.secure_save = 1
set protocol.http.bugs.accept_charset = 1
set protocol.http.proxy.host = "127.0.0.1:8118"
set protocol.http.referer.policy = 0
set protocol.http.accept_language = "0"
set protocol.http.user_agent = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
set protocol.https.proxy.host = "127.0.0.1:8118"
set ui.leds.enable = 1
set ui.sessions.auto_restore = 0
set ui.sessions.auto_save = 0
set ui.sessions.homepage = "https://lite.duckduckgo.com/lite/"
set ui.sessions.keep_session_active = 0
set ui.sessions.snapshot = 0
set ui.tabs.show_bar = 1
set ui.tabs.confirm_close = 0
set ui.show_menu_bar_always = 1
set ui.show_status_bar = 1
set ui.startup_goto_dialog = 1
set ui.success_msgbox = 1
set connection.max_connections_to_host = 2
set connection.receive_timeout = 120
set connection.try_ipv4 = 1
set cookies.max_age = 0
set document.browse.links.active_link.colors.background = "white"
set document.browse.links.active_link.colors.text = "black"
set document.browse.links.active_link.insert_mode_colors.background = "white"
set document.browse.links.active_link.insert_mode_colors.text = "black"
set document.browse.links.active_link.enable_color = 0
set document.browse.links.active_link.bold = 1
set document.browse.links.active_link.underline = 0
set document.browse.links.numbering = 0
set document.browse.links.warn_malicious = 1
set document.css.enable = 1
set document.html.display_sups = 1
set protocol.ftp.proxy.host = "127.0.0.1:8118"
set protocol.http.bugs.http10 = 0
set protocol.http.accept = "text/html, text/*;q=0.9, */*;q=0.8"
set protocol.http.accept_ui_language = 0
set terminal.linux.colors = 0
set terminal.linux.type = 2
set ui.clock.enable = 1
set ui.clock.format = "[%H:%M]"
set ui.colors.color.mainmenu.normal.text = "black"
set ui.colors.color.mainmenu.normal.background = "white"
set ui.colors.color.mainmenu.selected.text = "green"
set ui.colors.color.mainmenu.selected.background = "black"
set ui.colors.color.menu.normal.text = "black"
set ui.colors.color.menu.normal.background = "white"
set ui.colors.color.menu.selected.text = "black"
set ui.colors.color.menu.selected.background = "green"
set ui.tabs.top = 1
set ui.tabs.wraparound = 1
set ui.show_title_bar = 1
ВАЖНО! Следующие параметры нужно добавлять, только если вы знаете, что делаете (в противном случае - удалите или закомментируйте эти строки):
set protocol.http.proxy.host = "127.0.0.1:8118"
set protocol.https.proxy.host = "127.0.0.1:8118"
set protocol.ftp.proxy.host = "127.0.0.1:8118"
Примечание: Не забудьте внести необходимые изменения в строку:
set document.download.directory = "/home/user_name/Downloads
Дополнительно см.: man elinks elinkskeys elinks.conf
ELinks - An Advanced Web Browser
🄯 Rami Rosenfeld, 2024. GNU FDL 1.3.