diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-09-08 08:23:26 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-09-08 11:06:27 +0000 |
| commit | c8185aec1d36df3aa60001a0b3a0fbd49d11df18 (patch) | |
| tree | 166873ba3256ee3a6de7f1ba402819768ee0bab0 | |
| parent | .desktop: remove StartupWMClass cludge (diff) | |
desktop: rename to foot{,client,-server}.desktop
That is, skip the reverse DNS naming scheme suggested by the .desktop
specification, and directly match our app-ids ("foot", and
"footclient").
This simplifies .desktop -> window instance mapping, allowing DEs to
match the filenames directly, without having to look at the
StartupWMClass key in the .desktop files.
These are the original names of the .desktop files. There were
renamed (to use the reverse DNS syntax) to please the flathub people,
who *required* this scheme to accept the foot package.
But, since:
* We don't package foot ourselves
* We don't go out of our way to support non-distro packaging schemes
* Flathub still hasn't merged the foot PR (it's now 2 years old)
* There are no know issues in any known DE that prevents a non-reverse
DNS .desktop filename from working
* There are plenty of other applications that doesn't use reverse DNS
names (a very clear majority, in my case)
Let's just revert back to the simpler naming scheme.
Closes #1607
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | foot-server.desktop (renamed from org.codeberg.dnkl.foot-server.desktop) | 0 | ||||
| -rw-r--r-- | foot.desktop (renamed from org.codeberg.dnkl.foot.desktop) | 0 | ||||
| -rw-r--r-- | footclient.desktop (renamed from org.codeberg.dnkl.footclient.desktop) | 0 | ||||
| -rw-r--r-- | meson.build | 2 |
5 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fc84d4a..c155f362 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -78,8 +78,12 @@ * Sixel background color (when `P2=0|2`) is now set to the **sixel** color palette entry #0, instead of using the current ANSI background color. This is what a real VT340 does. +* The `.desktop` files no longer use the reverse DNS naming scheme, + and their names now match the default app-ids used by foot (`foot` + and `footclient`) ([#1607][1607]). [1822]: https://codeberg.org/dnkl/foot/issues/1822 +[1607]: https://codeberg.org/dnkl/foot/issues/1607 ### Deprecated diff --git a/org.codeberg.dnkl.foot-server.desktop b/foot-server.desktop index 6e8891c0..6e8891c0 100644 --- a/org.codeberg.dnkl.foot-server.desktop +++ b/foot-server.desktop diff --git a/org.codeberg.dnkl.foot.desktop b/foot.desktop index f072568d..f072568d 100644 --- a/org.codeberg.dnkl.foot.desktop +++ b/foot.desktop diff --git a/org.codeberg.dnkl.footclient.desktop b/footclient.desktop index f82f282b..f82f282b 100644 --- a/org.codeberg.dnkl.footclient.desktop +++ b/footclient.desktop diff --git a/meson.build b/meson.build index 2fd1cb4a..c6e0e2ef 100644 --- a/meson.build +++ b/meson.build @@ -317,7 +317,7 @@ executable( install: true) install_data( - 'org.codeberg.dnkl.foot.desktop', 'org.codeberg.dnkl.foot-server.desktop', 'org.codeberg.dnkl.footclient.desktop', + 'foot.desktop', 'foot-server.desktop', 'footclient.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) systemd = dependency('systemd', required: false) |
