From a4f9ceaf092d6ed7779cc4f7fe25ab5afbea8565 Mon Sep 17 00:00:00 2001 From: Eonfge <33983090+Eonfge@users.noreply.github.com> Date: Mon, 27 Feb 2023 10:02:15 +0100 Subject: [PATCH] Add PrefersNonDefaultGPU flag to Desktop Entry This means that the application will automatically start with the dedicated GPU of laptops, instead of the iGPU. Based on the Linux's FreeDesktop spec: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html --- packaging/linux/openra.desktop.in | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/linux/openra.desktop.in b/packaging/linux/openra.desktop.in index e02ecd724a..046e66724f 100644 --- a/packaging/linux/openra.desktop.in +++ b/packaging/linux/openra.desktop.in @@ -10,3 +10,4 @@ Terminal=false Categories=Game;StrategyGame; StartupWMClass=openra-{MODID}-{TAG} MimeType=x-scheme-handler/openra-{MODID}-{TAG}; +PrefersNonDefaultGPU=true