From 8cf9aab78fd84cb62905b5711587576a9b9a2d32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Mon, 7 Nov 2022 20:08:25 +0100 Subject: [PATCH] desktop-file: Add X-GNOME-* for session management This add the X-GNOME-* bits that are currently shipped in sm.puri.OSK0.desktop allowing distributions to drop this file and make it a plain symlink to sm.puri.OSK0.desktop. If squeekboard is used in another context that doesn't use gnome-session the entries have no effect. --- data/sm.puri.Squeekboard.desktop.in.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/sm.puri.Squeekboard.desktop.in.in b/data/sm.puri.Squeekboard.desktop.in.in index bb68c0d7..b1480308 100644 --- a/data/sm.puri.Squeekboard.desktop.in.in +++ b/data/sm.puri.Squeekboard.desktop.in.in @@ -8,4 +8,9 @@ Terminal=false Type=Application NoDisplay=true Categories=GTK;Utility; +OnlyShowIn=Phosh; X-Phosh-UsesFeedback=true +X-GNOME-Autostart-Phase=Panel +X-GNOME-Provides=inputmethod +X-GNOME-Autostart-Notify=true +X-GNOME-AutoRestart=true