Skip to content

research: Flatpak app identity — what it takes to stop shipping as com.obsproject.Studio #2317

Closed

Description

@zackees

Refs #2304, #613, #2302, #2306. Part of the Flatpak meta issue #2319.

Question

What does it take to give our Flatpak its own identity instead of upstream
OBS's com.obsproject.Studio, and what breaks if we do it the other way
round?

Why this is the first thing to settle

Everything else (publishing, plug-ins, updates, coexistence with a Flathub
OBS install) hangs off the app id. Getting this wrong means either shipping
an app that silently replaces upstream OBS on a user's machine, or shipping
under a name we can never publish.

Knowns (from the tree)

  • build-aux/com.obsproject.Studio.json: "id": "com.obsproject.Studio",
    "command": "obs", extension point com.obsproject.Studio.Plugin
    (no-autodownload, merge-dirs for lib/obs-modules/plugins etc.), plus
    org.freedesktop.LinuxAudio.Plugins for VSTs.
  • .deb and AppImage identity: io.github.obs_rust.OBSStudioRust
    (see ci/app_identity_check.py, which already guards those).
  • docs/features.md / README wording changed in docs: Say there is no OBS-Studio-Rust Flatpak #2306 to say there is no
    Flatpak yet.
  • docs: Survey of remaining OBS name usage and proposed rename scope #613 already flags "the Flatpak and desktop app ID com.obsproject.Studio"
    as identity that, if changed, "needs a migration and its own issue" — this
    is that issue's research half.

Questions to answer

  • Inventory every artifact carrying the id: manifest, desktop file,
    AppStream metainfo, icons, D-Bus/portal names, command, systemd/user
    units, extension points, update info, MIME types. Give file paths.
  • Decide: rebrand to io.github.obs_rust.OBSStudioRust (safe for
    coexistence, must pass Flathub's id rules) or fork-compat id
    (deliberate collision — needs a very good reason). Recommend one with
    reasoning.
  • Plug-in story: after rebranding, do upstream Flatpak plug-ins built for
    com.obsproject.Studio.Plugin.* still install? If not, what do we tell
    AppImage users who move over (the AppImage loads the per-user folders —
    README FAQ)? Is there a compatibility extension point we can add?
  • Does the id change affect config/scene migration? The config dir
    (obs-studio) and desktop file are separate from the Flatpak id —
    confirm exactly which user-visible names move and which do not.
  • Fold in packaging: the Linux AppStream metainfo sends bug reports and the project link to upstream OBS (obsproject/obs-studio) #2302 (metainfo sends bug reports to upstream) — the rebrand is
    the natural moment to fix that; state whether packaging: the Linux AppStream metainfo sends bug reports and the project link to upstream OBS (obsproject/obs-studio) #2302 closes with this or
    separately.

Definition of done

  • A table of every id-bearing file, with its current and proposed value.
  • A recommendation (rebrand / keep) with the plug-in compatibility answer.
  • The result is filed as an implementation issue with an ordered
    checklist, or this issue is updated to be that checklist.

Research only until the plan lands: no manifest edits here.

Activity

  1. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    Claiming: inventory of id-bearing files + rebrand recommendation.

  2. added
    ready
    on Oct 25, 2026
  3. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    Findings (master 2026-10-25)

    The one switch that already exists

    cmake/common/app-identity.cmake derives every Linux identity from OBS_BRAND_RUST (default ENABLE_RUST_LIBOBS). The .deb and the AppImage turn it on. The Flatpak manifest turns it off on purpose (build-aux/com.obsproject.Studio.json, -DOBS_BRAND_RUST=OFF), because the manifest id has to match the desktop id. So the rebrand is mostly "turn the switch on and rename what the switch doesn't cover".

    Every id-bearing file

    Where Today Proposed Covered by OBS_BRAND_RUST?
    build-aux/com.obsproject.Studio.json id com.obsproject.Studio io.github.obs_rust.OBSStudioRust (rename the file too) no, manifest
    manifest command obs obs-studio-rust-gui (OBS_UNIX_GUI_NAME) no, manifest
    manifest -DOBS_BRAND_RUST=OFF OFF ON n/a
    manifest extension point com.obsproject.Studio.Plugin upstream's io.github.obs_rust.OBSStudioRust.Plugin (see plug-ins) no
    .desktop file name and Icon= (frontend/cmake/os-linux.cmake:102) com.obsproject.Studio.desktop ${OBS_DESKTOP_ID}.desktop yes
    metainfo <id>, <launchable>, developer, URLs (frontend/cmake/linux/com.obsproject.Studio.metainfo.xml.in) upstream branded yes (#2302's fix)
    metainfo donation/translate/release details URL (lines 33, 34, 63) obsproject.com, crowdin, upstream releases tag ours or dropped no, hard-coded
    icons ${OBS_DESKTOP_ID}.png/.svg (os-linux.cmake:111-129) upstream name branded yes
    libobs/obs-nix-portal-shortcuts.c.h:29 #define APP_ID com.obsproject.Studio OBS_DESKTOP_ID no, see the bug below
    frontend/utility/AppIdentity.hpp (single-instance socket, run-once) branded already — yes
    frontend/cmake/os-freebsd.cmake:36-70 hard-coded upstream names ${OBS_DESKTOP_ID} no (FreeBSD, not Flatpak)
    CI: .github/workflows/build-project.yaml (~25 refs: cache keys, metainfo and app-info icon paths, manifest path), .github/actions/flatpak-builder-lint/exceptions.json, .github/actions/flatpak-manifest-validator/action.yaml, ci/flatpak_runtime.py:24, ci/flatpak_pch_probe.py, ci/test_cef_*.py, ci/test_ci_toml.py, ci/test_flatpak_runtime.py manifest path and app id new path/id no
    .github/workflows/publish.yaml upstream Flathub publisher, repository_owner == 'obsproject' leave (never runs here) n/a
    build-aux/appimage/assemble-appdir.sh:28 unbranded fallback — already switches
    Locale strings (Wine.Text, Hotkeys.Background.AppIdMissing) mention the upstream Flathub id as text leave (upstream translations; AppIdMissing takes %1) n/a
    D-Bus --talk-names, MIME types, systemd units none own the app id — n/a

    Recommendation: rebrand to io.github.obs_rust.OBSStudioRust

    • Keep upstream's id (the fork-compat choice): no. Installing it replaces a user's Flathub OBS, which is the exact failure the .deb/AppImage branding already avoids, and we could never publish it, because Flathub owns com.obsproject.Studio.
    • Flathub id rules: io.github.<user>.<App> needs control of github.com/obs-rust; the _ in place of - is the documented form for a hyphenated org name. The id is already in use by the .deb, AppImage and macOS bundle, so all channels share one identity.
    • Config does not move: the config dir is obs-studio under XDG config, set by the frontend, not by the app id. Flatpak's per-app ~/.var/app/<id>/config/obs-studio does move, so a user coming from upstream's Flatpak starts empty. The one-time fix is to copy ~/.var/app/com.obsproject.Studio/config/obs-studio across; put that in the README FAQ, and do not auto-import (it reads another app's sandbox).

    Plug-ins

    Flatpak extensions bind by id prefix. Upstream's com.obsproject.Studio.Plugin.* packages declare ExtensionOf=com.obsproject.Studio and will not install into a renamed app; there is no aliasing in add-extensions. Options:

    1. Declare our own point io.github.obs_rust.OBSStudioRust.Plugin (same merge-dirs). Correct, but empty until someone repackages plug-ins.
    2. The per-user folder <XDG data home>/obs-studio/plugins (PluginModuleLoader_Flatpak.cpp.hpp). Inside the sandbox, XDG data home is ~/.var/app/io.github.obs_rust.OBSStudioRust/data, so plug-ins go in ~/.var/app/io.github.obs_rust.OBSStudioRust/data/obs-studio/plugins/<Plugin>/. That gives plug-in users a working path on day one, but it is a different folder from the AppImage FAQ's, so the FAQ needs a Flatpak line.

    Recommend 1 + 2: declare the point and document the folder.

    #2302

    Its brandable parts (<id>, developer, homepage, bugtracker, vcs) are already fixed by the OBS_BRAND_RUST variables. The rebrand fixes it for the Flatpak by flipping the switch. What remains are the hard-coded donation, translate and release-details URLs, which belong in #2302 itself. #2302 can close when the Flatpak builds branded and those three lines are fixed.

    Bug found on the way (not Flatpak-only)

    libobs/obs-nix-portal-shortcuts.c.h:29 hard-codes APP_ID "com.obsproject.Studio" and registers it with org.freedesktop.host.portal.Registry. The branded .deb and AppImage install io.github.obs_rust.OBSStudioRust.desktop, so the portal can't match the desktop file and background global shortcuts fail on the branded builds. Filed as #2346.

    Ordered implementation checklist

  4. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    1. Inventory: current identity and proposed rebrand

    Research against checkout ef9478edff9aa23d7613811703af216c95c3396f (source snapshot), without changing the checkout. Recommend a distinct Rust identity, provisionally io.github.obs_rust.OBSStudioRust, subject to resolving the Flathub repository-name mismatch below. This updates several findings in the preceding comment: the config migration and portal-ID fix already exist, and the Linux release-details URL is already rewritten for branded builds.

    In the table, U = com.obsproject.Studio, R = io.github.obs_rust.OBSStudioRust; suffixes are literal. “Keep” means no identity change is proposed. Source template filenames need not be renamed merely because their generated output changes.

    File:line / artifact Current value or behavior Proposed value / action
    build-aux/com.obsproject.Studio.json:2 id=U; manifest filename uses U id=R; rename manifest to build-aux/io.github.obs_rust.OBSStudioRust.json and update consumers
    Same manifest :6,175 command=obs; -DOBS_BRAND_RUST=OFF command=obs-studio-rust-gui; brand ON together, with config migration below
    Same manifest :23-30,190 U.Plugin, directory plugins, branches stable;test, subdirectories, add-ld-path=lib, no-autodownload=true, autodelete=true; four merge directories shown in command output below Own point R.Plugin, retaining layout/branches initially; upstream-point compatibility is a separate, unvalidated option (§3)
    Same manifest :32-38,191 org.freedesktop.LinuxAudio.Plugins, branch 26.08, directory extensions/Plugins, merge-dirs=vst Keep: shared VST extension, not our app identity
    Same manifest :7-20 Wayland/X11/PulseAudio sockets, devices, network/IPC, host and PipeWire filesystem access; four service --talk-names; VST_PATH=/app/extensions/Plugins/vst Keep for identity-only work; no own-name carrying U here. These are external service names, not strings to rebrand
    cmake/common/app-identity.cmake:3-28 OFF: U / obs / OBS Studio; ON: R / obs-studio-rust-gui / OBS-Studio-Rust; developer and project URLs also selected here Use existing ON branch; preserve OFF branch for upstream/reference builds
    frontend/cmake/linux/com.obsproject.Studio.desktop:3,6,7,12; frontend/cmake/os-linux.cmake:105-108 Generated U.desktop, Name=OBS Studio, Exec=obs, Icon=U, StartupWMClass=obs Generated R.desktop, Rust display name, Exec=obs-studio-rust-gui, Icon=R, branded StartupWMClass. Keep source filename
    frontend/cmake/linux/com.obsproject.Studio.metainfo.xml.in:3-9,31-35,63,67; frontend/cmake/os-linux.cmake:81-102 OFF generates U.metainfo.xml, id U, launchable U.desktop, upstream developer/project URLs ON generates R.metainfo.xml, id R, R.desktop, Rust developer/project URLs; release URL already rewritten at os-linux.cmake:88-97. Donation/translation remain independent decisions (§5)
    frontend/cmake/os-linux.cmake:111-132; frontend/cmake/linux/icons/obs-logo-128.png, obs-logo-256.png, obs-logo-512.png, obs-logo-scalable.svg Assets installed as U.png (three sizes) / U.svg Install as R.png / R.svg using existing variable. Binary PNGs have no line numbers; install rules are the line evidence. No artwork redesign required by this identity change
    frontend/utility/AppIdentity.hpp:6-20,25-36; frontend/CMakeLists.txt:110-121 Unbranded frontend: config obs-studio, desktop U, OBSStudioCore, socket prefix /com/obsproject; branded frontend: config obs-studio-rust, desktop R, OBSStudioRustCore, /io/github/obs_rust/OBSStudioRust Brand ON selects all branded values; see migration boundary in §4
    frontend/OBSApp.cpp.hpp:986 Qt desktop identity from OBS_DESKTOP_ID R through existing header; must agree with generated desktop and manifest
    libobs/obs-nix-portal-shortcuts.c.h:23-34; libobs/cmake/os-linux.cmake:103; libobs/cmake/os-freebsd.cmake:98 Portal service/interface names unchanged; APP_ID uses OBS_PORTAL_APP_ID, only falling back to U when undefined. CMake supplies ${OBS_DESKTOP_ID} Existing override selects R. Not an unfixed unconditional hard-code in this snapshot; retain upstream fallback/tests
    cmake/linux/defaults.cmake:25-47; frontend/cmake/feature-plugin-manager.cmake:3-9 Brand OFF lib/data destinations use lib, lib/obs-modules, share/obs; ON adds private obs-studio-rust directories and branded helper names ON also relocates bundled core libraries/data/helpers. Keep extension loader paths distinct from private core paths (§3)
    frontend/plugin-manager/PluginModuleLoader_Flatpak.cpp.hpp:43-47,65-90,103-126; LoaderPaths_Flatpak.hpp.in:23-29 /app/plugins; XDG data/config roots plus literal obs-studio/plugins suffixes Keep suffixes and extension mount layout; XDG roots change with Flatpak ID
    frontend/plugin-manager/PluginModuleLoader_Linux.cpp.hpp:57-61,132-145,201-215; frontend/cmake/os-linux.cmake:9-18 AppImage per-user obs-studio/plugins; relocatable system locations relative to executable Keep; does not make host plug-ins automatically discoverable in Flatpak
    ci/app_identity_check.py:13-65,115-142 R / obs-studio-rust-gui; validates desktop, metainfo/project URLs, private files, .deb conflicts. CLI modes: appdir, deb, bundle Retain existing checks; add Flatpak-layout validation (/app, not the checker’s hard-coded usr/). No Flatpak mode exists here
    build-aux/appimage/assemble-appdir.sh:27-35; build-aux/appimage/test-appimage.sh:332-343 Selects R when branded executable exists, otherwise U; tests branded desktop/metainfo Keep; neither file controls Flatpak
    build-aux/appimage/build.py:99-120; build-aux/appimage/asset_metadata.py:41; build-aux/appimage/test-appimage.sh:308-311; build-aux/appimage/README.md:217-219 AppImage .zsync release-asset update identity, not Flatpak ID; code targets latest while README still says continuous Keep update channel separate; document discrepancy rather than copying that text into a Flatpak update plan
    cmake/common/cpackconfig_common.cmake:6-9; cmake/linux/cpackconfig.cmake:9,39-49 Branded Debian package obs-studio-rust; GUI from identity variable; branded Maintainer/Homepage Keep. No dedicated .deb packaging script was found under build-aux/; CPack owns these values
    ci/flatpak_runtime.py:24,80,142-143,351,364 U app/debug refs; profile/obs-studio; /app/bin/obs; old log location R refs and branded command/config/log locations; changing only APP leaves this qualification tool stale
    .github/workflows/build-project.yaml:767-1171; .github/actions/flatpak-manifest-validator/action.yaml:40; .github/actions/flatpak-builder-lint/exceptions.json:2 U manifest/cache inputs, generated metainfo/app-info/icon paths, linter exception key New manifest/R outputs and exception key; review whether exceptions are still justified. Exact hit lines in appendix
    .github/workflows/publish.yaml:76,158-199,217-227 U manifest/metainfo/icon paths; upstream-owner guard; Flathub stable/beta endpoint Update references if manifest renamed, but do not enable upstream publisher. Rust publishing/origin/update policy remains separate
    frontend/cmake/os-freebsd.cmake:36-70 U output filenames/icons hard-coded Keep in this Flatpak scope; separate FreeBSD consistency issue if desired, not a Linux dependency
    README.md:140-165; build-aux/README.md:74; frontend/data/locale/en-US.ini:160,1506; plugins/obs-browser/README.md:7 Upstream Flathub link/identity; build example; Wine message says “our Flatpak”; hotkey message hard-codes U.desktop despite %1 Preserve factual upstream links, update build example; give branded help text its actual desktop ID and Rust distribution instructions once available. Do not blindly relabel upstream links

    Measured manifest evidence (JSON values read directly; projection command):

    jq '{id,command,"finish-args":.["finish-args"],"add-extensions":.["add-extensions"]}' build-aux/com.obsproject.Studio.json
    {
      "id": "com.obsproject.Studio",
      "command": "obs",
      "finish-args": [
        "--socket=wayland",
        "--socket=fallback-x11",
        "--socket=pulseaudio",
        "--device=all",
        "--share=network",
        "--share=ipc",
        "--filesystem=xdg-run/pipewire-0",
        "--filesystem=host",
        "--talk-name=org.kde.StatusNotifierWatcher",
        "--talk-name=org.freedesktop.Flatpak",
        "--talk-name=org.freedesktop.Notifications",
        "--talk-name=org.a11y.Bus",
        "--env=VST_PATH=/app/extensions/Plugins/vst"
      ],
      "add-extensions": {
        "com.obsproject.Studio.Plugin": {
          "directory": "plugins",
          "versions": "stable;test",
          "subdirectories": true,
          "add-ld-path": "lib",
          "merge-dirs": "lib/obs-modules/plugins;share/obs/obs-modules/plugins;lib/obs-plugins;share/obs/obs-plugins",
          "no-autodownload": true,
          "autodelete": true
        },
        "org.freedesktop.LinuxAudio.Plugins": {
          "directory": "extensions/Plugins",
          "version": "26.08",
          "add-ld-path": "lib",
          "merge-dirs": "vst",
          "subdirectories": true,
          "no-autodownload": true
        }
      }
    }

    Negative findings are scoped: rg --files --hidden -g '!.git' | rg '(\.service$|\.socket$|mime|flatpakref|flatpakrepo)' returned only test/cmocka/test_ws_image_mime.cpp and test/cmocka/tests.d/test_ws_image_mime.cmake. Reading the desktop template found no MimeType=/DBusActivatable=. The manifest has no app-owned --own-name, update URL, or x-checker-data. Thus I found no app systemd/user unit, D-Bus activation file, MIME registration, or checked-in .flatpakref/.flatpakrepo to rename in this checkout—not proof that generated/published artifacts contain none. Flatpak update origins need inspection when publishing is chosen. AppImage update metadata is covered above.

    Complete literal-ID sweep: every matching file and line (including fixtures, historical evidence and locales)

    Generated by reading each matching file after rg -l --hidden 'com[.]obsproject[.]Studio|io[.]github[.]obs_rust[.]OBSStudioRust' -g '!.git' .. The sweep found 103 files (102 in git grep -l, plus the checked-out obs-browser submodule README). The table covers literal hits; the main table additionally covers variable-generated artifacts. U/R below use the exact definitions above. Tests against the upstream/reference identity must remain meaningful; do not globally replace strings or edit unchanged C compatibility tests.

    File:line(s) Current literal identity Proposed treatment
    .github/actions/flatpak-builder-lint/exceptions.json:2 U Use R in renamed manifest/generated outputs; preserve publisher owner guard.
    .github/actions/flatpak-manifest-validator/action.yaml:40 U.json Use R in renamed manifest/generated outputs; preserve publisher owner guard.
    .github/workflows/build-project.yaml:767,785,791,803,805,818,830,890,909,915,916,939,946,963,979,993,1108,1121,1131,1135,1138,1142,1147,1152,1161,1165,1171 U.json, U.metainfo.xml, U.png, U.xml.gz Use R in renamed manifest/generated outputs; preserve publisher owner guard.
    .github/workflows/publish.yaml:158,176,182,192,198,199 U.json, U.metainfo.xml, U.png, U.xml.gz Use R in renamed manifest/generated outputs; preserve publisher owner guard.
    README.md:140 U Keep factual upstream identity/link; add Rust installation guidance when available.
    build-aux/README.md:74 U.json Change example to R.json.
    build-aux/appimage/assemble-appdir.sh:28,33 U, R See owning rule in main table; preserve reference/fallback branch where applicable.
    build-aux/appimage/test-appimage.sh:337 R See owning rule in main table; preserve reference/fallback branch where applicable.
    build-aux/com.obsproject.Studio.json:2,23 U, U.Plugin See owning rule in main table; preserve reference/fallback branch where applicable.
    ci/app_identity_check.py:13,60 R, U.desktop See owning rule in main table; preserve reference/fallback branch where applicable.
    ci/flatpak_pch_probe.py:15 U.json Use build-aux/R.json.
    ci/flatpak_runtime.py:24 U Use R; update executable/config/log paths too.
    ci/test_app_config_identity.py:364,366,367,408,426,427,438,446,457 R.metainfo.xml, R.desktop, R, U.desktop, U Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    ci/test_appdata_release_date.py:21 U.metainfo.xml.in Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    ci/test_cef_linux_files.py:22 U.json Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    ci/test_cef_pin.py:47 U.json Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    ci/test_ci_toml.py:95 U.json Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    ci/test_flatpak_runtime.py:59,60,70,71,72,73,84,85,118,119 U, U.Debug Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    ci/test_hybrid_packaging.py:145,160,171,179,195,221,222,356,407,408,459,460 U.json, U, U.png, U.xml.gz Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    ci/test_metainfo_project_links.py:18 U.metainfo.xml.in Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    ci/test_metainfo_screenshot.py:21 U.metainfo.xml.in Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    ci/test_portal_app_id.py:4,5,42,43,46 R.desktop, U, R Update manifest/runtime fixtures if tied to renamed artifact; keep source-template locators and upstream identity expectations.
    cmake/common/app-identity.cmake:3,19,20 U, R See owning rule in main table; preserve reference/fallback branch where applicable.
    docs/ci-evidence/2026-10-21-flatpak-save-probe.cjs:9,34 U.json, U Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-ci-speed-day.json:7708,7847,8038,8120,8224,8352,10680,10885,10967,11154,11419 U.json Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-flatpak-cache-inventory.json:77 U.json Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-flatpak-cache-migration-hosted.json:385 U.json Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-flatpak-capacity-hosted.json:251,291,293 U.json Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-flatpak-cpp20-qualified.json:140,143,144 U, U.Debug Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-flatpak-full-app-compiler.json:25,113 U.json Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-flatpak-installed-runtime.json:6,9,10 U, U.Debug Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-flatpak-transfer-v6.json:247,250,251 U, U.Debug Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-flatpak-transfer-v8-qualified.json:211,214,215 U, U.Debug Keep historical evidence/fixture; use R if rerunning as a new qualification.
    docs/ci-evidence/2026-10-22-ostree-copy-fixture.py:41 U Keep historical evidence/fixture; use R if rerunning as a new qualification.
    frontend/cmake/os-freebsd.cmake:36,39,43,52,58,64,70 U.metainfo.xml.in, U.metainfo.xml, U.desktop, U.png, U.svg See owning rule in main table; preserve reference/fallback branch where applicable.
    frontend/cmake/os-linux.cmake:86,105 U.metainfo.xml.in, U.desktop See owning rule in main table; preserve reference/fallback branch where applicable.
    frontend/data/locale/af-ZA.ini:126 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ar-SA.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/az-AZ.ini:133 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/be-BY.ini:138 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/bg-BG.ini:133 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ca-ES.ini:136 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/cs-CZ.ini:129 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/da-DK.ini:124 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/de-DE.ini:134 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/el-GR.ini:130 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/en-GB.ini:12 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/en-US.ini:160,1506 U, U.desktop Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/eo-UY.ini:110 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/es-ES.ini:137 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/et-EE.ini:136 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/eu-ES.ini:139 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/fa-IR.ini:139 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/fi-FI.ini:132 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/fil-PH.ini:125 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/fr-FR.ini:132 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/gl-ES.ini:134 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/he-IL.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/hi-IN.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/hr-HR.ini:132 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/hu-HU.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/hy-AM.ini:109 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/id-ID.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/it-IT.ini:131 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ja-JP.ini:138 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ka-GE.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/kmr-TR.ini:126 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ko-KR.ini:139 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/lo-LA.ini:133 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/lt-LT.ini:108 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/lv-LV.ini:132 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ms-MY.ini:128 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/nb-NO.ini:107 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/nl-NL.ini:130 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/pl-PL.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/pt-BR.ini:137 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/pt-PT.ini:138 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ro-RO.ini:116 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ru-RU.ini:138 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/sk-SK.ini:133 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/sl-SI.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/sq-AL.ini:108 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/sr-CS.ini:120 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/sr-SP.ini:127 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/sv-SE.ini:134 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ta-IN.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/te-IN.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/th-TH.ini:135 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/tl-PH.ini:113 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/tr-TR.ini:136 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/ug-CN.ini:139 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/uk-UA.ini:139 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/uz-UZ.ini:133 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/vi-VN.ini:132 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/zh-CN.ini:139 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/data/locale/zh-TW.ini:139 U Keep factual upstream target; revise branded help wording via locale process (en-US also has desktop-install hint).
    frontend/settings/OBSHotkeyBackground.cpp.hpp:546 U Keep parser example (not a registration).
    frontend/utility/AppIdentity.hpp:8,12,16 R, U See owning rule in main table; preserve reference/fallback branch where applicable.
    libobs/obs-nix-portal-shortcuts.c.h:33 U See owning rule in main table; preserve reference/fallback branch where applicable.
    plugins/obs-browser/README.md:7 U Keep factual upstream identity/link; add Rust installation guidance when available.
    test/cmocka/test_hotkey_background_ui.cpp:29,521,523,525,526,530,532,537,546,549,555,556,558,559,560 U Keep unchanged C compatibility tests/upstream fixture values; add branded coverage separately.
    test/cmocka/test_portal_shortcuts.c:733,1251 U Keep unchanged C compatibility tests/upstream fixture values; add branded coverage separately.
    test/packaged-startup.py:689 R Keep R Windows verification; not a Flatpak input.

    Historical evidence stays historical. Locale rows carry Wine/installation guidance, not an executable identity; coordinate translated wording after branded guidance is decided. Source template filenames can stay upstream-named, so tests that locate those templates do not need a rename.

    2. Recommendation and reasoning

    Rebrand before public Flatpak distribution. Using U retains the same app identity as upstream: it cannot provide two independently identified apps with separate desktop exports and per-app data. Different branches or installation scopes can exist, so “installing always silently replaces upstream” is too absolute; nevertheless, the same app/architecture/branch in one installation collides and a second origin does not create a second identity. R aligns with the existing Debian/AppImage branding (ci/app_identity_check.py:13-14) and gives independent exported names and sandbox storage (Flatpak conventions, sandbox storage).

    Flathub approval is not established. Its ID requirements allow the GitHub prefix and underscore escaping, but derive a repository URL from the final component. For R, that repository lookup returned HTTP 404 (command below), whereas this checkout’s project URL names a different repository. Resolve the mapping with Flathub reviewers before publication; an exception is possible, not guaranteed. App-defined extension points must use their app’s prefix. Later ID renames require resubmission and restrictive review. Settling this now avoids migrating established user data, launchers, extensions, portal grants and update refs later.

    $ gh api repos/obs-rust/OBSStudioRust --jq .html_url
    gh: Not Found (HTTP 404)
    

    Suggested implementation order (proposal only; this comment creates no implementation issue or issue-body changes): settle publishable ID/extension policy; change manifest + branding + command + CI consumers together; cover config/plug-in migration and generated identity; then test actual packaged coexistence, saved profiles (screen/camera/mic), plug-ins, portal shortcuts and update behavior before publishing. Existing checker adaptation and runtime-tool path changes are part of that work, not optional cleanup.

    3. Plug-in compatibility

    If we replace U.Plugin with R.Plugin, existing U.Plugin.* packages will not match our extension point. A user may still install them for upstream OBS; that does not install/load them into the rebranded app. Extension IDs must match the declared point’s prefix and branch (Flatpak extension documentation). Our manifest currently requests stable;test, disables autodownload, mounts below /app/plugins, and merges the four directories shown above (build-aux/com.obsproject.Studio.json:23-30,190). The LinuxAudio point is independent.

    Keeping/adding the old point is a technical compatibility candidate, not a demonstrated solution or an ID alias. Flatpak documents loading existing extensions by declaring their point; an app-ID rename alone does not inherently rename every extension point. But Flathub’s app-prefix requirement needs resolution, as do installation/ExtensionOf metadata, uninstall/autodelete behavior, mounting two overlapping layouts, and ABI/runtime matching. I did not run a rebranded bundle or inspect installed extension metadata: command -v flatpak produced no path on this host. Therefore I cannot claim either that all upstream extensions work unchanged through such a point or that sharing any point is impossible.

    A concrete external example, VerticalCanvas’s manifest, uses upstream OBS as runtime, runtime-version: stable, build-extension: true, and the 25.08 SDK. Our app manifest uses 26.08 (:4); this illustrates why matching a point name alone does not prove binary compatibility. This is one source manifest, not evidence about every installed extension’s metadata or current remote branches.

    The AppImage is different: README :145-165 and PluginModuleLoader_Linux.cpp.hpp:57-61,132-145,201-215 load the host account’s current/legacy per-user plug-in layouts. Flatpak’s loader instead reads its sandbox XDG roots (PluginModuleLoader_Flatpak.cpp.hpp:79-90,116-126). After rebranding, the corresponding host-side locations are:

    • ~/.var/app/io.github.obs_rust.OBSStudioRust/data/obs-studio/plugins/<plugin>/<plugin>.so, with data/ alongside the module.
    • Legacy: ~/.var/app/io.github.obs_rust.OBSStudioRust/config/obs-studio/plugins/<plugin>/bin/64bit/<plugin>.so, with the plug-in’s data/ directory.

    Tell AppImage users to reinstall/copy compatible Linux plug-ins into the sandbox layout (or use repackaged Rust extensions), then check Plugin Manager/logs. Existing host installs are not automatically discovered merely because the manifest grants --filesystem=host; the loader constructs paths from XDG variables. Test dependencies/Qt/libobs compatibility inside the runtime before promising that copying any download works. Preserve /app/plugins and its legacy/current layouts; private branded core locations in cmake/linux/defaults.cmake:33-43 must not accidentally replace those extension paths (frontend/cmake/feature-plugin-manager.cmake:4-5).

    4. What does NOT move—and the actual migration boundary

    The Flatpak ID is separate from the binary, config suffix and plug-in suffix; the proposed branding switch deliberately changes some of them too:

    • Config: an ID-only edit leaves the suffix alone. However brand ON defines OBS_RUST_VERSION (frontend/CMakeLists.txt:110-121), selecting obs-studio-rust, not obs-studio (frontend/utility/AppIdentity.hpp:6-16,25-36; frontend/OBSApp.cpp.hpp:1604,1621). Thus the current unbranded Flatpak’s default config is under ~/.var/app/com.obsproject.Studio/config/obs-studio; the proposed branded default is under ~/.var/app/io.github.obs_rust.OBSStudioRust/config/obs-studio-rust. Existing MigrateRustConfiguration() imports an upstream suffix within its selected config base (frontend/OBSApp.cpp.hpp:487-542); it does not discover a different Flatpak ID’s sandbox or the AppImage host config automatically. Document a deliberate cross-sandbox import, preserve originals, and test configured external profile/scene locations. Do not claim “config does not move.”
    • Binary: Flatpak does not require renaming obs; it is internal to the sandbox and could stay with an explicit design choice. This tree’s ON branch chooses obs-studio-rust-gui (cmake/common/app-identity.cmake:6,23; frontend/CMakeLists.txt:188), so our recommended reuse of that branch requires the manifest command, desktop Exec and runtime checks to follow. Scripts invoking flatpak run --command=obs need updated guidance.
    • Desktop filename/icon: source template filenames can remain unchanged. Installed/exported names must follow the new ID for correct Flatpak integration: R.desktop, Icon=R, R.metainfo.xml, R icons (frontend/cmake/os-linux.cmake:86-132; Flatpak naming rules). Existing pinned launcher references may need replacement.
    • Plug-in layout/API: keep obs-studio/plugins, obs-plugins, /app/plugins and public plug-in APIs; the sandbox root and extension package namespace are what change (§3). Config branding does not rename these literal plug-in suffixes. Branded bundled libraries/data/helpers do move through the pre-existing CMake branch, which needs package verification.
    • Portal identity and instance names: service interfaces remain external names (libobs/obs-nix-portal-shortcuts.c.h:23-28); the app identity and frontend instance names select the Rust values (AppIdentity.hpp:8-19, libobs/cmake/os-linux.cmake:103). Treat existing app-ID-keyed permissions/shortcuts as migration/reauthorization work, not a guaranteed carry-over.

    This is the concrete #613 boundary: preserve API/layout compatibility, explicitly migrate user data and references when selecting a different installed identity. This snapshot has already evolved beyond #613’s original statement that all those names still remain upstream-named.

    5. Issue #2302: project links and closure

    #2302 is already CLOSED (gh issue view 2302 --repo obs-rust/obs-studio), so this research neither closes nor reopens it. Its developer/homepage/bugtracker/source substitutions are present in frontend/cmake/linux/com.obsproject.Studio.metainfo.xml.in:8-9,31-35, with Rust values in cmake/common/app-identity.cmake:25-28; Debian Maintainer/Homepage are branded at cmake/linux/cpackconfig.cmake:48-49. ci/app_identity_check.py:44-47 guards the project links for existing package modes.

    Turning branding ON applies that already-landed fix to Flatpak, which currently opts out at manifest :175. Merely changing the manifest ID would not. The release-details URL’s source literal (metainfo.xml.in:63) is already rewritten to the Rust release tag by frontend/cmake/os-linux.cmake:88-97; do not report it as an unresolved generated-output bug. Donation and translation URLs remain upstream literals (:33-34) and need a deliberate retain/replace/drop decision, separately from #2302’s already-fixed project-link defect. Validate the final Flatpak metainfo rather than assuming substitutions from the source filename.

    Open questions

    • Will Flathub accept R’s repository mapping, or require another identity/control arrangement? No approval or matching reachable repository was found.
    • Will Flathub allow an upstream compatibility extension point, and will specific installed extensions mount, survive lifecycle operations and load against our runtime? Requires policy review and an actual two-app/extension installation test; this tree and host cannot establish it.
    • What cross-sandbox config import and portal/launcher migration UX should ship? Existing same-base migration is not a complete Flatpak-ID migration.
    • Which Rust remote/update origin and branch policy will be published? No Rust .flatpakref/.flatpakrepo was found here; the upstream publisher remains owner-gated.
    • Retain, replace or omit upstream donation/translation links, and what branded/translated Wine and desktop-install guidance should ship? No additional issue or repository edit was made for these questions.
  5. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    Research done; the implementation is filed as #2354. Steps 1 and 3 have landed (#2347, #2348).

  6. zackees commented on Oct 26, 2026

    @zackees
    MemberAuthor

    Closing: the research is done (summary above), and its implementation #2354 closed, so the Flatpak now ships as io.github.obs_rust.OBSStudioRust. Nothing is left open here.

  7. moved this from In progress to Done in obs-rust Multiviewon Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions