From 525900ee577792c48cfc7f05ff174d65abb57b7d Mon Sep 17 00:00:00 2001 From: asensi Date: Sun, 5 Jun 2022 21:16:51 +0200 Subject: [PATCH] Mark BackInTime as a single main window program As it happens with other programs (https://github.com/nextcloud/desktop/pull/4194 , https://invent.kde.org/pim/knotes/-/commit/70e81d7286c83ff28deadb2f2b80e67b463d1db7 , https://github.com/qbittorrent/qBittorrent/pull/15996 , https://nicolasfella.de/posts/taskbar-single-app , https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/53): There can only be one instance of the program running. Mark it as such in the .desktop file. This allows desktop environments to adjust their UI accordingly. --- common/backintime.desktop | 1 + 1 file changed, 1 insertion(+) diff --git a/common/backintime.desktop b/common/backintime.desktop index 6694de8b3..906f16113 100644 --- a/common/backintime.desktop +++ b/common/backintime.desktop @@ -4,5 +4,6 @@ Name=Backintime Password Cache Exec=/bin/sh -c "backintime pw-cache start 2>&1 >/dev/null" Comment=Cache passwords for non-interactive Backintime cronjobs Icon=gtk-save +SingleMainWindow=True Terminal=false Type=Application