Skip to content

v0.20.5

Choose a tag to compare

@github-actions github-actions released this 20 Aug 22:09
· 8 commits to main since this release

What's Changed

Fixed

  • Flatpak: terminal still started at 24×80 on some hosts (issue #294) — 0.20.4 sized RustConn's own PTY correctly, but inside Flatpak the shell runs on a second one: flatpak-spawn forwards our PTY to the host, where script creates its own and copies the window size across once, at startup. The host shell was started before the terminal widget had been allocated, so that copy captured VTE's 24×80 default and nothing corrected it afterwards — the later TIOCSWINSZ reaches the sandbox PTY only, and the SIGWINCH it raises is not among the eight signals flatpak-spawn forwards to the host. The host shell now starts once the widget has a size, which is all script needs in order to inherit the right one, so programs that read their geometry at startup (mc, htop, shells) open at the real size.

    Known limitation: resizing the window mid-session still does not reach a Flatpak host shell. The stty call that was supposed to handle this (added with the host shell itself, issue #122) could never have worked — it ran against RustConn's own stdin, which is /dev/null under a desktop launcher and the launching terminal when started from a shell, but never the session's PTY. Its exit status was discarded, so it either failed silently or resized the wrong terminal. It has been removed rather than left in place looking functional.

  • Shortcut recorder did not warn about conflicts with fixed shortcuts (issue #295) — recording e.g. Ctrl+V for terminal paste showed no conflict even though the sidebar's "Paste connection" handler occupies that key whenever the sidebar has focus. The checker now consults all eleven non-rebindable shortcuts — sidebar row actions, terminal zoom, the primary menu — reading the same list the keyboard-shortcuts dialog shows, and names the conflicting action in the warning.

Documentation

  • WSL guide: added Flatpak install option and single-line Ubuntu commanddocs/WSL.md now offers three install paths (OBS repo, .deb, Flatpak) with a copy-paste one-liner for Ubuntu 24.04. Flatpak section includes sandbox permission notes and portal integration requirements.

Dependencies

  • Updated: either 1.17.0→1.18.0, h2 0.4.16→0.4.18, zerovec 0.11.7→0.11.8

Installation

Flatpak (Recommended)

flatpak install flathub io.github.totoshko88.RustConn

Snap

sudo snap install rustconn

Debian/Ubuntu (.deb from this release)

sudo dpkg -i rustconn_0.20.5_amd64.deb
sudo apt-get install -f  # Install dependencies if needed

Fedora (.rpm from this release)

sudo dnf install rustconn-0.20.5-1.fc44.x86_64.rpm

AppImage

chmod +x RustConn-0.20.5-x86_64.AppImage
./RustConn-0.20.5-x86_64.AppImage

macOS (Homebrew)

brew tap totoshko88/rustconn
brew install rustconn
open $(brew --prefix)/opt/rustconn/RustConn.app

All dependencies (GTK4, libadwaita, VTE, Adwaita icons) are installed automatically.
Requires macOS 13 (Ventura) or later.

OBS Repositories

Packages available at: https://build.opensuse.org/package/show/home:totoshko88:rustconn/rustconn

# Debian 13 (Trixie)
echo 'deb http://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Debian_13/ /' \
  | sudo tee /etc/apt/sources.list.d/rustconn.list
curl -fsSL https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Debian_13/Release.key \
  | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/rustconn.gpg > /dev/null
sudo apt update && sudo apt install rustconn

# Ubuntu 24.04 LTS (Noble)
echo 'deb http://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_24.04/ /' \
  | sudo tee /etc/apt/sources.list.d/rustconn.list
curl -fsSL https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_24.04/Release.key \
  | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/rustconn.gpg > /dev/null
sudo apt update && sudo apt install rustconn

# Ubuntu 26.04 LTS (Resolute)
echo 'deb http://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_26.04/ /' \
  | sudo tee /etc/apt/sources.list.d/rustconn.list
curl -fsSL https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_26.04/Release.key \
  | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/rustconn.gpg > /dev/null
sudo apt update && sudo apt install rustconn

# Fedora 44
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Fedora_44/home:totoshko88:rustconn.repo
sudo dnf install rustconn

# Fedora 43
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Fedora_43/home:totoshko88:rustconn.repo
sudo dnf install rustconn

# openSUSE Tumbleweed
sudo zypper ar https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/openSUSE_Tumbleweed/ rustconn
sudo zypper ref && sudo zypper in rustconn

# openSUSE Leap 16.0
sudo zypper ar https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/openSUSE_Leap_16.0/ rustconn
sudo zypper ref && sudo zypper in rustconn

Arch Linux (AUR)

yay -S rustconn

FreeBSD (Ports)

pkg install rustconn

Full installation guide: https://github.com/totoshko88/RustConn/blob/main/docs/INSTALL.md