Get Tin Hat / Linux
Tin Hat for Linux
A Flatpak that runs on any distro. Pick yours, paste a couple of commands, and after that Tin Hat updates itself.
Pick your distro
Open a terminal and run the steps top to bottom. Each box has a Copy button: paste it into the terminal and press Enter. When a command asks a question, type y and press Enter. It may ask for your password once.
- Install Flatpak skip if you've used Flatpak before
sudo pacman -S --needed flatpak
- Add Flathub for your user where the KDE runtime comes from; harmless if it's already there
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
- Install Tin Hat answer
yto each question; the first time also downloads the KDE runtime, about 1 GBflatpak install --user https://flatpak.tinhat.dev/tinhat.flatpakref
- Start it after one log-out and log-in it's in your app launcher too
flatpak run dev.tinhat.TinHat
Rather not use Flatpak?
On an up-to-date Arch or CachyOS you can run the plain binary instead. It uses your system's own libraries (glibc 2.44 or newer, Qt 6.11, KDE Frameworks 6, GStreamer), so it's for rolling Arch-based distros only; everywhere else, use the Flatpak. First the libraries:
sudo pacman -S --needed qt6-base qt6-declarative qt6-webengine qt6-multimedia qt6-5compat qt6-svg qt6-imageformats kirigami kconfig kcolorscheme qqc2-desktop-style breeze-icons layer-shell-qt gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav gst-plugin-rsaudiofx gst-plugin-qml6 gst-plugin-pipewire pipewire libpulse mpvqt yt-dlp noto-fonts-emoji
Then download tinhat-x86_64.bin and check it: the result must match the tinhat-…-x86_64.bin line in that release's SHA256SUMS (the download is that file under a shorter name).
sha256sum ~/Downloads/tinhat-x86_64.bin
If it matches, keep it in a folder of your own and start it:
install -Dm755 ~/Downloads/tinhat-x86_64.bin ~/.local/bin/tinhat && ~/.local/bin/tinhat
From then on it updates itself in place and checks each update's SHA-256 first.
Flatpak and Flathub are already set up. On a Steam Deck, switch to Desktop Mode first, then open a terminal (Konsole on the Deck, Ptyxis on Bazzite).
- Install Tin Hat answer
yto each questionflatpak install --user https://flatpak.tinhat.dev/tinhat.flatpakref
- Start it it's in the app launcher after a log-out and log-in
flatpak run dev.tinhat.TinHat
Want it in Game Mode? See Launch it from Game Mode below.
Fedora Workstation and Fedora KDE ship Flatpak with Flathub enabled. If yours doesn't:
- Install Flatpak skip if
flatpak --versionalready answerssudo dnf install -y flatpak
- Add Flathub for your user harmless if it's already there
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
- Install Tin Hat answer
yto each questionflatpak install --user https://flatpak.tinhat.dev/tinhat.flatpakref
- Start it
flatpak run dev.tinhat.TinHat
- Install Flatpak Ubuntu 22.04+, Debian 12+, Mint 21+
sudo apt install -y flatpak
- Add Flathub for your user
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
- Install Tin Hat answer
yto each questionflatpak install --user https://flatpak.tinhat.dev/tinhat.flatpakref
- Log out and back in once the desktop learns about Flatpak apps at login; then start it from the launcher or:
flatpak run dev.tinhat.TinHat
Any distro with Flatpak works. Get Flatpak for yours from flatpak.org/setup (that page also adds Flathub), then:
- Install Tin Hat answer
yto each questionflatpak install --user https://flatpak.tinhat.dev/tinhat.flatpakref
- Start it
flatpak run dev.tinhat.TinHat
$ flatpak install --user \ https://flatpak.tinhat.dev/tinhat.flatpakref The remote 'tinhat', referred to by 'dev.tinhat.TinHat' at location https://flatpak.tinhat.dev/repo/ contains additional applications. Should the remote be kept for future installations? [Y/n]: y Required runtime for dev.tinhat.TinHat/x86_64/master (runtime/org.kde.Platform/x86_64/6.11) found in remote flathub Do you want to install it? [Y/n]: y dev.tinhat.TinHat permissions: ipc network fallback-x11 pulseaudio wayland devices dri file access [1] dbus access [2] ... ID Branch Op Remote Download ... 5. org.kde.Platform 6.11 i flathub < 409.9 MB 6. dev.tinhat.TinHat master i tinhat < 292.8 MB Proceed with these changes to the user installation? [Y/n]: y Installation complete. $
Real output from flatpak.tinhat.dev (Tin Hat 12.0.0, Flatpak 1.18), shortened and with narrower columns; the last line is what Flatpak prints when it's done. The first time, the list also has the KDE runtime's translations and graphics drivers from Flathub: about 1 GB to download in all, less if you already have them. On Bazzite, SteamOS or wherever you skipped Add Flathub for your user, it also asks Configure this as new remote 'flathub': answer y there too. With --user it installs just for you, so it doesn't need your password.
Steam Deck, Bazzite, Legion Go
Launch it from Game Mode.
Add Tin Hat to Steam once and it sits in your library next to your games, controller-friendly and one tap away.
- In Desktop Mode, open Steam
- Games → Add a Non-Steam Game to My Library…
- Tick Tin Hat and click Add Selected Programs
- Back in Game Mode, it's under Non-Steam in your library
Good to know
How do updates work?
Tin Hat tells you itself: a banner with Update now appears when a new version is out. Discover, GNOME Software and flatpak update get the same build.
No icon in my app launcher
Log out and back in once, because desktops pick up new Flatpak apps at login. On KDE, running kbuildsycoca6 does the same without logging out.
NVIDIA
Hardware-encoded screen sharing needs the Flatpak NVIDIA driver that matches your system driver. Flatpak installs it on its own; if flatpak update offers an org.freedesktop.Platform.GL.nvidia update, take it.
How do I uninstall it?
flatpak uninstall --user dev.tinhat.TinHat
Add --delete-data to also remove its local data. You'd sign in again next time, and older encrypted messages then need your Security Key (or another device where you're signed in) to unlock. Your chats themselves stay on your server.
Something went wrong
Copy what the terminal printed and open an issue on GitHub. From inside Tin Hat, the bug button sends your logs to your server's owner.