Math is a calculator built with Rust, GTK4, and LibAdwaita. It is the official calculator application for the AetherDE desktop environment.
Ensure you have the following dependencies installed:
Ubuntu/Debian:
sudo apt install build-essential cargo libgtk-4-dev libadwaita-1-dev gettext meson ninja-buildFedora:
sudo dnf install gcc cargo gtk4-devel libadwaita-devel gettext meson ninja-buildArch Linux:
sudo pacman -S base-devel rust gtk4 libadwaita gettext meson ninja-
Clone the repository:
git clone https://github.com/aetherdesktop/math.git cd math -
Configure:
meson setup _build --buildtype=release
-
Build:
meson compile -C _build
-
Install:
sudo meson install -C _build
- Launch Math:
org.aether.Mathor find it in your applications menu. - Calculate: Type your expression and press
Enteror=. - History: Click the clock icon in the header bar to view past calculations.
- Clear: Press
CorEscapeto clear the current expression.
| Action | Shortcut |
|---|---|
| Calculate | Enter or = |
| Clear | Escape or C |
| View History | Ctrl+H |
| Copy Result | Ctrl+C |
| Quit | Ctrl+Q |
# Run with debug output
RUST_LOG=debug cargo runContributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Ensure
cargo clippyandcargo fmtpass - Submit a pull request
- OS: Linux with GTK4 support
- GTK: 4.10.0 or newer
- LibAdwaita: 1.4.0 or newer
- Rust: 1.70.0 or newer
Math is licensed under the GNU General Public License v3.0. See the LICENSE file for details.