{"id":50630677,"url":"https://github.com/thejamess/vivaldi-pwa-manager","last_synced_at":"2026-06-06T21:01:34.726Z","repository":{"id":362406677,"uuid":"1258923253","full_name":"theJamess/vivaldi-pwa-manager","owner":"theJamess","description":"GTK3 GUI for managing Vivaldi PWA / .desktop launchers on Linux","archived":false,"fork":false,"pushed_at":"2026-06-06T19:44:02.000Z","size":93,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-06T21:01:32.033Z","etag":null,"topics":["chromium","cinnamon","desktop-file","gtk3","linux-desktop","linux-mint","pwa","vivaldi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theJamess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-04T03:30:10.000Z","updated_at":"2026-06-06T19:44:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/theJamess/vivaldi-pwa-manager","commit_stats":null,"previous_names":["thejamess/vivaldi-pwa-manager"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/theJamess/vivaldi-pwa-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJamess%2Fvivaldi-pwa-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJamess%2Fvivaldi-pwa-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJamess%2Fvivaldi-pwa-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJamess%2Fvivaldi-pwa-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theJamess","download_url":"https://codeload.github.com/theJamess/vivaldi-pwa-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJamess%2Fvivaldi-pwa-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33999591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chromium","cinnamon","desktop-file","gtk3","linux-desktop","linux-mint","pwa","vivaldi"],"created_at":"2026-06-06T21:00:42.085Z","updated_at":"2026-06-06T21:01:34.686Z","avatar_url":"https://github.com/theJamess.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vivaldi PWA Manager\n\nA small GTK3 thing for cleaning up after Vivaldi's PWA feature.\n\nVivaldi can install a website as an app — neat. The `.desktop` file it writes is bare-bones: no window size, no isolated profile, no dark-mode override. Delete that file and you can't easily get it back, even though Vivaldi still remembers the PWA. And if you want an app-feel window that *also* has tabs and an address bar, there's no UI for that.\n\nThis is the fix-it utility. Lists every Vivaldi-launched `.desktop` in `~/.local/share/applications`, edits them with a sensible form, surfaces orphan PWAs, and adds a third launcher style — **sandboxed window** — full Vivaldi (tabs, address bar) with its own profile and WM class so the panel treats it as a separate app.\n\nBuilt and tested on Linux Mint Cinnamon. Should be fine anywhere PyGObject + GTK 3 + a Chromium-based Vivaldi exist.\n\n## What you get\n\n- **Lists** every Vivaldi-launched `.desktop`, including ICE-style `WebApp-*` entries (still Vivaldi under the hood).\n- **Orphan PWAs** — anything Vivaldi remembers but has no launcher for. One click to make one.\n- **Three launcher kinds**, switchable in place:\n  - **PWA** — `--app-id`, chromeless. The Vivaldi-default shape.\n  - **Web App** — `--app=URL`, chromeless, no PWA record. Quick app-ify any URL.\n  - **Sandboxed window** — full Vivaldi window, isolated `--user-data-dir` profile, own WM class. Multi-tab + own taskbar identity.\n- **Structured form** for the flags that matter: window state / size / position, isolated profile (one tick), incognito, force-dark, language, proxy, `--password-store=basic` (silences Mint keyring prompts), `SingleMainWindow`, Categories / Keywords / MimeType, *etc*.\n- **Icon picker** with three sources — file browser, fetch from URL (scrapes `\u003clink rel=icon\u003e` + apple-touch-icon + manifest icons + favicon), and a searchable browser over installed icon themes. Browse by **Category** (Apps, Actions, Mimetypes…) or by **Folder** (every dir under `/usr/share/icons` etc.). Pick a tint colour and the grid live-recolours symbolic + monocolour SVG icons; PNGs tint on click + save (with monochrome detection so black-on-transparent ink actually changes colour).\n- **Flag reference** — built-in dialog with descriptions for ~25 useful Chromium flags. Includes the \"how do I get the address bar back\" answer (you can't — that's why *Sandboxed window* exists).\n- **Round-trip safe** — unmanaged keys (`X-WebApp-*`, custom additions) survive saves via `RawConfigParser`. Vivaldi's `#!/usr/bin/env xdg-open` shebang is preserved when present.\n- **Ctrl+Q** quits.\n\n## Requirements\n\n- Python 3.8+ with PyGObject (GTK 3 bindings)\n- Vivaldi (any modern build)\n- Optional: `python3-xlib` for the alt-tab icon override\n\n```bash\n# Mint / Ubuntu / Debian\nsudo apt install python3-gi gir1.2-gtk-3.0 python3-xlib\n# Fedora\nsudo dnf install python3-gobject gtk3 python3-xlib\n# Arch\nsudo pacman -S python-gobject gtk3 python-xlib\n```\n\n## Install\n\n```bash\ngit clone https://github.com/theJamess/vivaldi-pwa-manager.git\ncd vivaldi-pwa-manager\n./install_launcher.sh\n```\n\nDrops a menu entry pointing back at this dir. Move the repo, re-run the script. One Python file, no build step.\n\n## Using it\n\n- **Left pane** lists every launcher. Single-click to inspect, double-click to launch.\n- **Right pane** is the editor. Save commits, Revert discards, Delete asks first.\n- **Kind dropdown** rewrites the Exec in place when changed, preserving URL / app-id.\n- **+** opens *New launcher*. Default is **Install via Vivaldi** because Vivaldi handles real PWAs better than anything we can fake (manifest, extensions, per-app settings). It opens the URL in Vivaldi — finish from there: **right-click the tab → Progressive Web Apps → Install page as app…**:\n\n  ![Right-click tab → Progressive Web Apps → Install page as app…](docs/install-via-vivaldi.png)\n\n  After install, hit Refresh in the manager and the new PWA shows up. The dialog also has direct *Sandboxed window* / *Web App* options. URL is optional for Sandboxed — leave it blank if startup pages / pinned tabs will handle what loads.\n- **ⓘ** opens the flag reference dialog.\n- **Duplicate** clones the selected launcher for \"I want a second one signed in to a different account.\"\n- **Forget orphan…** deletes Vivaldi's cached icon dir for an orphan. Doesn't fully uninstall (use *Open vivaldi://apps* for that).\n\nAfter Save, `update-desktop-database` refreshes so Cinnamon's menu sees the change immediately.\n\n### The three kinds\n\n| Kind | Gives you | Use for |\n|------|-----------|---------|\n| **PWA** | Chromeless app window via `--app-id`, lives in Vivaldi's PWA registry | Apps installed via Vivaldi |\n| **Web App** | Chromeless app window via `--app=URL`, no PWA record needed | Quick app-ifying any URL |\n| **Sandboxed window** | Full Vivaldi window, separate profile + WM class | Multi-tab dashboards, two-of-the-same logins |\n\n### Fixing alt-tab's \"every PWA shows Vivaldi's icon\"\n\nCinnamon's alt-tab uses `_NET_WM_ICON`, which Chromium sets to its own logo for `--app=URL` and sandboxed windows (true PWAs *should* pull from the manifest, but it's flaky). The `.desktop`'s `Icon=` only gets consulted by some surfaces.\n\nTick **Override alt-tab / taskbar icon via xseticon wrapper** in the *Window* expander. On Save the manager installs `~/.local/bin/vivaldi-pwa-icon-wrap` (a small python-xlib helper) and rewraps the Exec so the helper patches `_NET_WM_ICON` after the window appears. Untick to revert. X11 only (Cinnamon is X11). Needs `python3-xlib`. Falls through to a plain exec if the helper / deps are missing — never breaks your launcher.\n\n### \"Visible on all workspaces\" — known broken on Cinnamon\n\nThe *Window* expander has a **Visible on all workspaces (sticky)** checkbox that asks the wrapper helper to set `_NET_WM_STATE_STICKY` + `_NET_WM_DESKTOP=0xFFFFFFFF` on the new window. Works on EWMH-compliant WMs (KDE/KWin, Xfwm, Mate's Marco, Openbox).\n\n**Doesn't work on Cinnamon/Muffin 6.x.** Muffin sets the state-property bit but doesn't actually pin the window — verified across `wmctrl -b add,sticky`, `wmctrl -t -1`, `libwnck.Window.pin()`, and our own ClientMessages with both `SOURCE=normal-app` and `SOURCE=pager`. None of them trip Muffin's internal `Meta.Window.stick()`. The only way is right-click → **Always on Visible Workspace** after launch, or set a keybinding for `org.cinnamon.desktop.keybindings.wm toggle-on-all-workspaces` and hit it manually.\n\nIf/when Muffin grows back a working client-app sticky path, the checkbox will start working with no other changes.\n\n### Isolated profile in one tick\n\n*Profile \u0026 Privacy* expander → **Isolated profile** → Save. Sets `--user-data-dir=$HOME/.local/share/vivaldi-pwa-profiles/\u003cwmclass-slug\u003e` and `mkdir -p`'s the dir on first save (only inside our managed root — never arbitrary user-typed paths). Run two of the same app signed in to different accounts and they don't see each other.\n\n## Recipes\n\n### One window with 5–6 social tabs\n\n1. **+ → Sandboxed window** → Name: `Socials`, URL blank, Save. Launch.\n2. In that Vivaldi window: `vivaldi://settings/startup` → **Specific pages** → paste your URLs. Close, relaunch. Window opens with all of them.\n\nLayer on top: pin tabs (right-click → *Pin Tab*), Workspaces for grouping, per-profile extensions (Dark Reader / content-blockers won't touch your main Vivaldi), distinct alt-tab icon via *Browse system icons* + tint.\n\n### Two of the same web app with different logins\n\n**+ → Sandboxed** → Save → **Duplicate** → rename + new WM Class. Each gets its own isolated profile dir; cookies don't cross-contaminate.\n\n### Self-hosted lab service behind a self-signed cert\n\nPut it behind a reverse proxy with a real cert (Let's Encrypt / SWAG / Caddy / Traefik) — PWAs *just work*, no flags or cert imports.\n\nIf you have to hit the raw IP: `--ignore-certificate-errors --test-type` in *Extra flags*. Catch — only takes effect when Vivaldi *isn't already running* (singleton IPC discards new-launch flags). Trusting the cert in `vivaldi://certificate-manager` is the only thing that survives the singleton.\n\n## What it writes\n\n- `~/.local/share/applications/*.desktop` — the launchers\n- `~/.local/share/vivaldi-pwa-profiles/\u003cslug\u003e/` — isolated profile dirs (only when *Isolated profile* is on)\n- `~/.local/share/vivaldi-pwa-icons/` — fetched / tinted icon variants\n- `~/.local/bin/vivaldi-pwa-icon-wrap` — alt-tab icon helper (only when override is on)\n\nVivaldi's profile (`~/.config/vivaldi/`) is read-only as far as this tool is concerned.\n\n## Known limitations\n\nTracked as GitHub issues so you can subscribe / comment / +1:\n\n- **[#1](https://github.com/theJamess/vivaldi-pwa-manager/issues/1)** — *Visible on all workspaces (sticky)* doesn't work on Cinnamon/Muffin. EWMH path is dead-on-arrival; right-click → *Always on Visible Workspace* is the only mechanism. Works on KDE / Xfce / Mate / Openbox.\n- **[#2](https://github.com/theJamess/vivaldi-pwa-manager/issues/2)** — True PWAs (`--app-id`) don't store their URL in the launcher. Converting PWA → Web App / Sandboxed needs you to type the URL by hand. Could be auto-recovered from Chromium's sqlite DB.\n- **[#3](https://github.com/theJamess/vivaldi-pwa-manager/issues/3)** — Shell-wrapped `Exec=sh -c '…'` lines force the form into read-only mode (no winners from a tool guessing shell escaping).\n- **[#4](https://github.com/theJamess/vivaldi-pwa-manager/issues/4)** — Cinnamon-tested only. Reports from KDE / GNOME / Xfce / etc. welcome.\n- **[#5](https://github.com/theJamess/vivaldi-pwa-manager/issues/5)** — Wayland: tool itself works, the X11 window-poke features (icon override / sticky) no-op.\n- **[#6](https://github.com/theJamess/vivaldi-pwa-manager/issues/6)** — PWAs at hosts with untrusted certs (UDM-Pro, raw IPMI, lab gear at IPs) crash on *Continue*. `--ignore-certificate-errors` dies on Vivaldi's singleton; the only durable fix is trusting the cert in `vivaldi://certificate-manager` (or the NSS DB).\n\nPermanent design choice, not a bug: **no flag puts the address bar back in `--app` mode.** That's the whole point of `--app`. Use *Sandboxed window* if you want chrome.\n\n## Contributing\n\nPRs welcome. Goal: one Python file you can read in 20 minutes. New structured field bar = \"people will flip this regularly.\" Otherwise → flag reference dialog and *Extra flags*.\n\n## License\n\nMIT — see [LICENSE](LICENSE). Do whatever you want with it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejamess%2Fvivaldi-pwa-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthejamess%2Fvivaldi-pwa-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejamess%2Fvivaldi-pwa-manager/lists"}