Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math Calculator

GTK4 LibAdwaita License Rust AetherDE

Math is a calculator built with Rust, GTK4, and LibAdwaita. It is the official calculator application for the AetherDE desktop environment.

Installation

From Source

Prerequisites

Ensure you have the following dependencies installed:

Ubuntu/Debian:

sudo apt install build-essential cargo libgtk-4-dev libadwaita-1-dev gettext meson ninja-build

Fedora:

sudo dnf install gcc cargo gtk4-devel libadwaita-devel gettext meson ninja-build

Arch Linux:

sudo pacman -S base-devel rust gtk4 libadwaita gettext meson ninja

Build Instructions

  1. Clone the repository:

    git clone https://github.com/aetherdesktop/math.git
    cd math
  2. Configure:

    meson setup _build --buildtype=release
  3. Build:

    meson compile -C _build
  4. Install:

    sudo meson install -C _build

Usage

Basic Usage

  • Launch Math: org.aether.Math or find it in your applications menu.
  • Calculate: Type your expression and press Enter or =.
  • History: Click the clock icon in the header bar to view past calculations.
  • Clear: Press C or Escape to clear the current expression.

Keyboard Shortcuts

Action Shortcut
Calculate Enter or =
Clear Escape or C
View History Ctrl+H
Copy Result Ctrl+C
Quit Ctrl+Q

Development

Building for Development

# Run with debug output
RUST_LOG=debug cargo run

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Ensure cargo clippy and cargo fmt pass
  5. Submit a pull request

System Requirements

Minimum Requirements

  • OS: Linux with GTK4 support
  • GTK: 4.10.0 or newer
  • LibAdwaita: 1.4.0 or newer
  • Rust: 1.70.0 or newer

License

Math is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

Releases

Contributors

Languages