LinuxCommandLibrary

gnome-calculator

Perform calculations using a graphical calculator

TLDR

Launch the GNOME Calculator GUI

$ gnome-calculator
copy

Solve the specified equation without launching the desktop application
$ gnome-calculator --solve [2^5 * 2 + 5]
copy

Display version
$ gnome-calculator --version
copy

SYNOPSIS

gnome-calculator [OPTION...]

PARAMETERS

--help
    Show help options and exit

--help-all
    Show all help options and exit

--help-gtk
    Show GTK-specific options

--help-gapplication
    Show GApplication-specific options

--version
    Show release version and exit

--new-window
    Open a new calculator window

--mode=MODE
    Set initial mode. Values: basic, advanced, financial, programming

DESCRIPTION

GNOME Calculator is an intuitive, feature-rich graphical calculator for the GNOME desktop environment. It offers multiple modes for diverse calculations: basic for simple arithmetic, advanced for scientific functions like trigonometry and logarithms, financial for interest rates and annuities, and programming for bitwise operations and number base conversions. The modern GTK-based interface supports keyboard entry, mouse interactions, calculation history, variable storage, and customizable precision. It integrates seamlessly with GNOME shell, respecting themes, dark mode, and accessibility features. Ideal for quick computations or complex problem-solving, it launches from terminals, menus, or shortcuts. Requires a graphical session on X11 or Wayland.

CAVEATS

GUI-only tool; requires GTK runtime and graphical display (X11/Wayland). Limited CLI interaction beyond launch options.

KEY FEATURES

Keyboard shortcuts, history log, unit conversions (advanced mode), dark theme support, accessibility compliance.

HISTORY

Originated as gcalctool in 1998, forked from xcalc. Maintained by GNOME until major rewrite and rename to gnome-calculator in GNOME 40 (2021) for modern architecture.

SEE ALSO

bc(1), dc(1), xcalc(1), galculator(1)

Copied to clipboard