Repository navigation
Installation
gtty runs on Linux with a GTK4 desktop and on macOS (Apple silicon and Intel). On Linux, packages are built for Debian 13 (trixie), Ubuntu 24.04 LTS, 25.04 and 25.10 on amd64 and arm64, and an AppImage covers other distributions. On macOS a .dmg is built for Apple silicon; on Intel Macs build from source with Homebrew.
-
Download the
.debfor your release from the releases page. Files are namedgtty_<version>_<distro>_<arch>.deb. -
Install it with apt so the dependencies are resolved:
sudo apt install ./gtty_*.deb -
Start gtty from the application menu or a terminal.
Note: On a PipeWire desktop the
pipewire-alsapackage must be installed, otherwise thedefaultandpipewireaudio devices cannot be opened. apt installs it as a recommendation;dpkg -idoes not. gtty shows a banner across the top of the window when it could not open its audio input.
-
Download
gtty-x86_64.AppImage,gtty-aarch64.AppImageorgtty-riscv64.AppImage(RISC-V 64-bit) from the releases page. -
Make it executable and run it:
chmod +x gtty-*.AppImage ./gtty-*.AppImage
The AppImage bundles GTK4, libadwaita and Hamlib 4.6.2, so it works on distributions with older libraries and knows about recently added rigs.
-
Download
gtty-<version>-macos-arm64.dmgfrom the releases page (Apple silicon only). -
Open it and drag gtty to Applications.
-
The app is ad-hoc signed but not notarized, so macOS blocks the first launch. Control-click the app and choose Open, or allow it under System Settings → Privacy & Security → Open Anyway, or clear the quarantine flag:
xattr -dr com.apple.quarantine /Applications/gtty.app
The app bundles GTK4, libadwaita, Hamlib and the other libraries, so Homebrew is not needed. It requires the macOS release it was built on (currently macOS 15) or later. gtty-cli is inside the bundle at /Applications/gtty.app/Contents/MacOS/gtty-cli.
FSK keying and rig control use serial ports. On Linux your user must be in the dialout group:
sudo usermod -aG dialout $USER
Log out and back in for the change to take effect.
On macOS no group membership is needed; /dev/cu.* is accessible to everyone. See macOS notes for how the ports are named.
sudo apt install build-essential cmake ninja-build pkg-config \
libgtk-4-dev libadwaita-1-dev libhamlib-dev portaudio19-dev \
libfftw3-dev libsamplerate0-dev libsndfile1-dev libsqlite3-dev \
libcurl4-openssl-dev libcodec2-dev libpulse-dev
git clone https://github.com/gjyoung1974/GTTY.git gtty
cd gtty
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
ctest --test-dir build
./build/src/gui/gtty
With Homebrew:
brew install cmake ninja pkg-config gtk4 libadwaita hamlib portaudio \
fftw libsamplerate libsndfile codec2
git clone https://github.com/gjyoung1974/GTTY.git gtty
cd gtty
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
ctest --test-dir build
./build/src/gui/gtty
sqlite3 and libcurl come from the macOS SDK, so they need no Homebrew package. Audio uses PortAudio's CoreAudio backend and the GUI uses GTK4's native macOS backend; X11 and XQuartz are not involved.
Run gtty from the build tree or from the prefix you installed it into. To build gtty.app and a .dmg from the build tree:
brew install dylibbundler librsvg adwaita-icon-theme
packaging/build-macos-app.sh
Three dependencies are optional:
| Debian / Ubuntu | macOS | What it adds |
|---|---|---|
libcurl4-openssl-dev |
in the SDK, nothing to install | Callbook lookups (QRZ.com XML, HamQTH) |
libcodec2-dev |
brew install codec2 |
The libcodec2 FSK comparison decoder |
libpulse-dev |
not used | Sound cards listed under the names PipeWire or PulseAudio give them (the names in pavucontrol) |
Without them gtty builds and runs; the matching features show a note in Preferences.
Always configure from the top-level directory. The src/* directories are not standalone CMake projects.
To install system-wide after building:
sudo cmake --install build
To build a .deb locally run cpack -G DEB inside the build directory (Linux only). To build an AppImage run packaging/build-appimage.sh.
| Item | Path |
|---|---|
| GUI | gtty |
| Command-line tool | gtty-cli |
| Desktop entry and icon |
io.github.gtty.desktop, io.github.gtty.svg (used by Linux desktops only) |
| Man pages |
gtty(1), gtty-cli(1)
|
-
Serial ports are named
/dev/cu.usbserial-XXXXXXXX(FTDI),/dev/cu.SLAB_USBtoUART(Silicon Labs) or/dev/cu.usbmodemXXXX(CDC), not/dev/ttyUSB0. Runls /dev/cu.*to list them, and always use thecu.name rather than thetty.one, which blocks waiting for carrier detect. Wherever these pages say/dev/ttyUSB0, read your adapter'scu.name. -
Microphone permission: macOS gates audio input. The first time gtty opens the sound card, macOS asks for permission: for gtty itself when it is installed from the
.dmg, or for the application that launched it (your terminal) when it is run from a build tree. If the prompt was dismissed, re-enable it under System Settings → Privacy & Security → Microphone. Without it the device opens but delivers silence and the waterfall stays empty. - True FSK over a UART needs a driver that accepts the 45 baud RTTY rate. FTDI adapters do; some CP210x and CDC-ACM drivers do not, and gtty reports the error when the port is opened. FSK via DTR/RTS and AFSK work either way. See Transmitting.
The configuration and data paths below are the same as on Linux.
| Purpose | Default location |
|---|---|
| Active configuration name | ~/.config/gtty/gtty.conf |
| Configurations | ~/.config/gtty/profiles/<name>.conf |
| Logbook | ~/.local/share/gtty/logbook.sqlite |
| Super Check Partial database | ~/.local/share/gtty/MASTER.SCP |
| Daily session files | ~/.local/share/gtty/sessions/gtty-YYYY-MM-DD.txt |
See Configurations and Logging for details.
This wiki is generated from docs/ in the repository. Edits made here are overwritten; change the files there instead.