[gnome-initial-setup/52-desktop-file: 2/2] data: Install .desktop file to normal directory
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/52-desktop-file: 2/2] data: Install .desktop file to normal directory
- Date: Fri, 12 Feb 2021 11:56:36 +0000 (UTC)
commit 1a750f0975977a88f4e71758ecc8d56a49fb4d87
Author: Will Thompson <wjt endlessos org>
Date: Fri Feb 12 11:53:26 2021 +0000
data: Install .desktop file to normal directory
When run for an existing user, Initial Setup currently runs within that
user's normal session. This means that Shell shows an icon for the app
in the top bar, dash, and Alt-Tab overlay.
However, previously the .desktop file was only installed to the GDM
greeter's own desktop file directory, meaning that it was not found by
the normal Shell session, and a missing-icon icon would be shown
instead.
Previously, some distro packagers have worked around this by symlinking
the .desktop file to the normal location. But the greeter-specific
directory is added to the greeter's XDG_DATA_DIRS, rather than replacing
it; so we can simply install the desktop file to the normal location.
NoDisplay=true ensures it won't be shown to the user unless it is
launched manually or by some other means.
Fixes #52
data/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index 4e08adf6..facbba96 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -53,7 +53,7 @@ i18n.merge_file(
configuration: desktop_conf
),
output: 'gnome-initial-setup.desktop',
- install_dir: join_paths(data_dir, 'gdm', 'greeter', 'applications'),
+ install_dir: join_paths(data_dir, 'applications'),
po_dir: po_dir,
install: true,
type: 'desktop'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]