Scroll to navigation

LAGRANGE(1) LAGRANGE(1)

NAME

lagrange - a beautiful Gemini client

SYNOPSIS

lagrange [options] [URL]... [FILE]...

DESCRIPTION

Lagrange is a graphical client for the Gemini, Gopher, and Finger protocols. It offers modern conveniences familiar from web browsers, such as smooth scrolling, inline image viewing, multiple tabs, visual themes, Unicode fonts, and bookmarks.

OPTIONS

When multiple URLs and/or local files are specified, they are opened in separate tabs.

Print contents of URLs/paths to stdout and quit.
Use identity ARG with --dump. ARG can be a complete or partial client certificate fingerprint or common name.
Print all internal application events to stdout. Useful for debugging.
List the available command line options.
Open a URL, replacing contents of the active tab. Without this option, any URLs on the command line are opened in new tabs.
Open a URL, or make a search query with given text. This only works if the search query URL has been configured.
Store user data in the directory DIR instead of the default location.
Output the version number.

Window options:

Set initial window height to N pixels.
Open Preferences as a sheet inside the active window.
Disable hardware-accelerated rendering.
Set initial window width to N pixels.

Control options:

These options are used to control the currently running Lagrange instance via the command line.

Close the current tab.
Print the URLs of open tabs to stdout. If the app isn’t running, nothing is printed.
Open a new tab. If the URL argument is omitted, the user’s homepage is opened.
Print the URL of the active tab.
Change the current UI color theme to ARG (“black”, “dark”, “light”, “white”).

ENVIRONMENT

LAGRANGE_OVERRIDE_DPI
Override the autodetected screen DPI with a user-provided value. Some window systems and/or monitors may not provide an appropriate DPI value, so this enables further tuning the UI scaling in addition to the “UI scale factor” found in Preferences.

FILES

User-specific files such as bookmarks and navigation history are stored in the following operating system dependent locations:

Windows: “C:\Users\Name\AppData\Roaming\fi.skyjake.Lagrange”
macOS: “~/Library/Application Support/fi.skyjake.Lagrange”
Other: “~/.config/lagrange”

Use the --user option to store user data in a custom location.

The directory contains:

Customized key bindings.
Bookmarks in TOML format.
State of subscribed feeds: all the known entries and latest update timestamps.
Custom fonts to load at launch.
Information about identities.
Subdirectory containing client certificates and private keys in PEM format.
Customized keyboard modifier mapping.
Configuration of external programs to filter page contents depending on MIME type.
Colors of the UI palette.
User’s preferences. This is a list of UI events that gets executed at launch (cf. output of --echo).
Serialized UI state, specifying open tabs and sidebar state.
Site-specific preferences in TOML format.
Fingerprints of trusted server certificates.
List of visited URLs with timestamps.

STANDARDS

Gemini Protocol Specification (https://gemini.circumlunar.space/docs/specification.gmi)
Gempub Specification (https://codeberg.org/oppenlab/gempub)
RFC 1436: The Internet Gopher Protocol (https://datatracker.ietf.org/doc/html/rfc1436)
RFC 1288: The Finger User Information Protocol (https://datatracker.ietf.org/doc/html/rfc1288)

SEE ALSO

Open “about:help” in the application to view the complete Help page.

AUTHORS

Jaakko Keränen (jaakko.keranen@iki.fi).

November 2022