Your company here, and a link to your site. Click to find out more.

lagrange - Man Page

a beautiful Gemini client


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


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.


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

-d,  --dump

Print contents of URLs/paths to stdout and quit.

-I,  --dump-identity ARG

Use identity ARG with --dump. ARG can be a complete or partial client certificate fingerprint or common name.

-E,  --echo

Print all internal application events to stdout. Useful for debugging.


List the available command line options.

--replace-tab URL

Open a URL, replacing contents of the active tab. Without this option, any URLs on the command line are opened in new tabs.

-u,  --url-or-search URL | TEXT

Open a URL, or make a search query with given text. This only works if the search query URL has been configured.

-U,  --user DIR

Store user data in the directory DIR instead of the default location.

-V,  --version

Output the version number.

Window options

-h,  --height N

Set initial window height to N pixels.


Open Preferences as a sheet inside the active window.


Disable hardware-accelerated rendering.

-w,  --width N

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.

-L,  --list-tab-urls

Print the URLs of open tabs to stdout. If the app isn’t running, nothing is printed.

--new-tab [URL]

Open a new tab. If the URL argument is omitted, the user’s homepage is opened.


Print the URL of the active tab.

-t,  --theme [ARG]

Change the current UI color theme to ARG (“black”, “dark”, “light”, “white”).



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.


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

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.


See Also

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


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


November 2022