Skip to content

0.2.0: Linux hosts

Choose a tag to compare

@kevguy kevguy released this 23 Oct 15:26
· 22 commits to main since this release

Host screen now works on Linux hosts running an X11 desktop session, as well as Macs.

Linux hosts

  • A native C helper captures the screen, sends mouse and keyboard input through XTest, and syncs the text clipboard both ways. It is compiled with cc the first time the screen opens.
  • Install the build packages first. On Debian or Ubuntu:
    sudo apt install gcc libx11-dev libxext-dev libxtst-dev libxrandr-dev libxfixes-dev libjpeg-dev
    (libxtst-dev is the one most desktops lack.) The README lists the Fedora and Arch packages.
  • No permissions to grant. Paseo must run inside the desktop session; Wayland sessions are not supported yet.
  • Displays show their monitor names, and laptop panels show as Built-in. With no display chosen yet, the viewer starts on the display with the focused window.
  • The key bar has GNOME shortcuts: Super+Tab, Activities, Apps, Ctrl+W, Alt+F4 and switching workspaces.
  • From a Mac client, ⌘ shortcuts are sent as Ctrl. Windows and Linux clients use Ctrl+V and Ctrl+C for clipboard sync. Add Shift to paste into a terminal.

Mac hosts

No change in behaviour. The Swift helper is the same, so hosts keep their compiled helper.

Known limits on Linux

  • Characters outside Latin-1 (Cyrillic, Greek, €) are typed through a remapped spare key, at about 30 ms each.
  • Waking a blanked display and typing on the GNOME lock screen are untested.