Skip to content

Research: is a Flatpak of PolterType viable at all? #12

Description

@vstrelnikof

People will ask for a Flathub listing eventually. Before anyone spends a weekend on it, the honest question is whether PolterType can work inside the Flatpak sandbox without punching holes so wide the listing gets flagged:

  • The listener reads /dev/input (evdev) and the emitter writes through uinput — both blocked by default. --device=input covers read; uinput generally means --device=all plus the host udev rule anyway.
  • Layout switching shells out to / talks to compositor- and DE-specific backends (hyprctl, GSettings, IBus, Fcitx5, KDE) — several of those need --talk-name/filesystem holes from a sandbox.
  • Autostart writes an XDG autostart entry — portals have an API for that one (org.freedesktop.portal.Background), which would actually be cleaner than what we do today.
  • The self-updater must stand down inside Flatpak (it already refuses to touch installs that aren't our AppImage/MSI/DMG — verify $FLATPAK_ID lands in that path).

Deliverable: a short write-up in this issue — required permissions list, whether Flathub review policy tolerates it for this app class (precedents: input remappers on Flathub ship with --device=all), and a go/no-go recommendation. "No, AppImage + native packages is the honest Linux story" is a perfectly good outcome; the point is to decide once, with evidence, and link the decision from the README FAQ.

Metadata

Metadata

Assignees

No one assigned

    Labels

    packagingInstallers, package managers, distributionplatform:linuxLinux-specific (Wayland/X11)researchFeasibility unknown — investigate first

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions