Commit 064d6fd
feat(configurator): .desktop + launcher -- GNOME Dock / Activities + WSLg Start Menu
Two surfaces, one .desktop file:
usr/share/applications/mios-configurator.desktop
Standard freedesktop.org desktop entry. On a deployed bare-metal /
Hyper-V / QEMU MiOS host this surfaces in the GNOME Dock + Activities
+ Application Grid. On a Windows-side MiOS-DEV podman backend, WSLg
auto-publishes installed .desktop files into the Windows Start Menu
under "<Distro> Apps" so the same icon shows up there too. One file,
two operator surfaces.
usr/libexec/mios/mios-configurator-launch
The Exec= target. Stages a writable mios.toml seed at
~/Downloads/mios.toml (highest layer wins: per-user > host > vendor),
copies the configurator HTML to ~/Downloads/mios-configurator.html
(Flatpak home-portal exposes that path), and launches:
1. Epiphany flatpak (org.gnome.Epiphany) -- best File System
Access API support; WSLg routes the window to the Windows
desktop on MiOS-DEV
2. xdg-open -- whatever browser the
deployed-host's GNOME has registered as default
3. Plain echo of the file:// URL -- last-resort surface
(operator copy/pastes into a browser manually)
.gitignore: whitelist /usr/share/applications/mios-*.desktop so the
new entry is tracked.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 0dafe49 commit 064d6fd
3 files changed
Lines changed: 91 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
187 | 193 | | |
188 | 194 | | |
189 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments