From 0d4f4dad11be6d40f973a42c920a29ac313fcfd8 Mon Sep 17 00:00:00 2001 From: Leon Styhre <leon@leonstyhre.com> Date: Sat, 15 Jul 2023 20:46:59 +0200 Subject: [PATCH] (Linux) Added ~/.local/share/applications/ as an additional search path for AppImages and manually downloaded emulators --- resources/systems/unix/es_find_rules.xml | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/resources/systems/unix/es_find_rules.xml b/resources/systems/unix/es_find_rules.xml index 2ea40878c..ae6f61b13 100644 --- a/resources/systems/unix/es_find_rules.xml +++ b/resources/systems/unix/es_find_rules.xml @@ -15,6 +15,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/RetroArch-Linux*.AppImage</entry> + <entry>~/.local/share/applications/RetroArch-Linux*.AppImage</entry> <entry>~/.local/bin/RetroArch-Linux*.AppImage</entry> <entry>~/bin/RetroArch-Linux*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/org.libretro.RetroArch</entry> @@ -67,6 +68,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/BasiliskII*.AppImage</entry> + <entry>~/.local/share/applications/BasiliskII*.AppImage</entry> <entry>~/.local/bin/BasiliskII*.AppImage</entry> <entry>~/bin/BasiliskII*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/net.cebix.basilisk</entry> @@ -102,9 +104,11 @@ </rule> <rule type="staticpath"> <entry>~/Applications/Cemu*.AppImage</entry> + <entry>~/.local/share/applications/Cemu*.AppImage</entry> <entry>~/.local/bin/Cemu*.AppImage</entry> <entry>~/bin/Cemu*.AppImage</entry> <entry>~/Applications/Cemu/Cemu</entry> + <entry>~/.local/share/applications/Cemu/Cemu</entry> <entry>~/.local/bin/Cemu/Cemu</entry> <entry>~/bin/Cemu/Cemu</entry> </rule> @@ -118,6 +122,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/citra*.AppImage</entry> + <entry>~/.local/share/applications/citra*.AppImage</entry> <entry>~/.local/bin/citra*.AppImage</entry> <entry>~/bin/citra*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/org.citra_emu.citra</entry> @@ -131,6 +136,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/cpcemu/cpcemu</entry> + <entry>~/.local/share/applications/cpcemu/cpcemu</entry> <entry>~/.local/bin/cpcemu/cpcemu</entry> <entry>~/bin/cpcemu/cpcemu</entry> </rule> @@ -139,6 +145,7 @@ <!-- Sinclair ZX Spectrum Next emulator #CSpect --> <rule type="staticpath"> <entry>~/Applications/CSpect/CSpect.exe</entry> + <entry>~/.local/share/applications/CSpect/CSpect.exe</entry> <entry>~/.local/bin/CSpect/CSpect.exe</entry> <entry>~/bin/CSpect/CSpect.exe</entry> </rule> @@ -162,6 +169,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/Dolphin_Emulator*.AppImage</entry> + <entry>~/.local/share/applications/Dolphin_Emulator*.AppImage</entry> <entry>~/.local/bin/Dolphin_Emulator*.AppImage</entry> <entry>~/bin/Dolphin_Emulator*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/org.DolphinEmu.dolphin-emu</entry> @@ -199,9 +207,11 @@ </rule> <rule type="staticpath"> <entry>~/Applications/duckstation-nogui*.AppImage</entry> + <entry>~/.local/share/applications/duckstation-nogui*.AppImage</entry> <entry>~/.local/bin/duckstation-nogui*.AppImage</entry> <entry>~/bin/duckstation-nogui*.AppImage</entry> <entry>~/Applications/duckstation-qt*.AppImage</entry> + <entry>~/.local/share/applications/duckstation-qt*.AppImage</entry> <entry>~/.local/bin/duckstation-qt*.AppImage</entry> <entry>~/bin/duckstation-qt*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/org.duckstation.DuckStation</entry> @@ -215,6 +225,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/easyrpg/easyrpg-player</entry> + <entry>~/.local/share/applications/easyrpg/easyrpg-player</entry> <entry>~/.local/bin/easyrpg/easyrpg-player</entry> <entry>~/bin/easyrpg/easyrpg-player</entry> </rule> @@ -226,6 +237,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/fbneo/fbneo</entry> + <entry>~/.local/share/applications/fbneo/fbneo</entry> <entry>~/.local/bin/fbneo/fbneo</entry> <entry>~/bin/fbneo/fbneo</entry> </rule> @@ -238,6 +250,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/flycast*.AppImage</entry> + <entry>~/.local/share/applications/flycast*.AppImage</entry> <entry>~/.local/bin/flycast*.AppImage</entry> <entry>~/bin/flycast*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/org.flycast.Flycast</entry> @@ -274,6 +287,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/Gargoyle*.AppImage</entry> + <entry>~/.local/share/applications/Gargoyle*.AppImage</entry> <entry>~/.local/bin/Gargoyle*.AppImage</entry> <entry>~/bin/Gargoyle*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/io.github.garglk.Gargoyle</entry> @@ -287,6 +301,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/gearboy/gearboy</entry> + <entry>~/.local/share/applications/gearboy/gearboy</entry> <entry>~/.local/bin/gearboy/gearboy</entry> <entry>~/bin/gearboy/gearboy</entry> </rule> @@ -295,6 +310,7 @@ <!-- Atari 2600 emulator Gopher2600 --> <rule type="staticpath"> <entry>~/Applications/gopher2600/gopher2600_linux_amd64</entry> + <entry>~/.local/share/applications/gopher2600/gopher2600_linux_amd64</entry> <entry>~/.local/bin/gopher2600/gopher2600_linux_amd64</entry> <entry>~/bin/gopher2600/gopher2600_linux_amd64</entry> </rule> @@ -316,6 +332,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/hypseus-singe/hypseus.bin</entry> + <entry>~/.local/share/applications/hypseus-singe/hypseus.bin</entry> <entry>~/.local/bin/hypseus-singe/hypseus.bin</entry> <entry>~/bin/hypseus-singe/hypseus.bin</entry> </rule> @@ -327,6 +344,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/lightspark/lightspark</entry> + <entry>~/.local/share/applications/lightspark/lightspark</entry> <entry>~/.local/bin/lightspark/lightspark</entry> <entry>~/bin/lightspark/lightspark</entry> </rule> @@ -338,6 +356,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/linapple/linapple</entry> + <entry>~/.local/share/applications/linapple/linapple</entry> <entry>~/.local/bin/linapple/linapple</entry> <entry>~/bin/linapple/linapple</entry> </rule> @@ -384,6 +403,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/mGBA*.AppImage</entry> + <entry>~/.local/share/applications/mGBA*.AppImage</entry> <entry>~/.local/bin/mGBA*.AppImage</entry> <entry>~/bin/mGBA*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/io.mgba.mGBA</entry> @@ -428,6 +448,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/oricutron/Oricutron</entry> + <entry>~/.local/share/applications/oricutron/Oricutron</entry> <entry>~/.local/bin/oricutron/Oricutron</entry> <entry>~/bin/oricutron/Oricutron</entry> </rule> @@ -439,6 +460,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/pcsx2*.AppImage</entry> + <entry>~/.local/share/applications/pcsx2*.AppImage</entry> <entry>~/.local/bin/pcsx2*.AppImage</entry> <entry>~/bin/pcsx2*.AppImage</entry> </rule> @@ -462,6 +484,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/pico-8/pico8</entry> + <entry>~/.local/share/applications/pico-8/pico8</entry> <entry>~/.local/bin/pico-8/pico8</entry> <entry>~/bin/pico-8/pico8</entry> </rule> @@ -470,6 +493,7 @@ <!-- Sony PlayStation 2 emulator Play! --> <rule type="staticpath"> <entry>~/Applications/Play!*.AppImage</entry> + <entry>~/.local/share/applications/Play!*.AppImage</entry> <entry>~/.local/bin/Play!*.AppImage</entry> <entry>~/bin/Play!*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/org.purei.Play</entry> @@ -513,6 +537,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/punes/punes</entry> + <entry>~/.local/share/applications/punes/punes</entry> <entry>~/.local/bin/punes/punes</entry> <entry>~/bin/punes/punes</entry> </rule> @@ -524,6 +549,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/redream/redream</entry> + <entry>~/.local/share/applications/redream/redream</entry> <entry>~/.local/bin/redream/redream</entry> <entry>~/bin/redream/redream</entry> </rule> @@ -536,6 +562,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/RMG*.AppImage</entry> + <entry>~/.local/share/applications/RMG*.AppImage</entry> <entry>~/.local/bin/RMG*.AppImage</entry> <entry>~/bin/RMG*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/com.github.Rosalie241.RMG</entry> @@ -551,6 +578,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/rpcs3*.AppImage</entry> + <entry>~/.local/share/applications/rpcs3*.AppImage</entry> <entry>~/.local/bin/rpcs3*.AppImage</entry> <entry>~/bin/rpcs3*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/net.rpcs3.RPCS3</entry> @@ -564,6 +592,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/ruffle/ruffle</entry> + <entry>~/.local/share/applications/ruffle/ruffle</entry> <entry>~/.local/bin/ruffle/ruffle</entry> <entry>~/bin/ruffle/ruffle</entry> </rule> @@ -579,9 +608,11 @@ <entry>/var/lib/flatpak/exports/bin/org.ryujinx.Ryujinx</entry> <entry>~/.local/share/flatpak/exports/bin/org.ryujinx.Ryujinx</entry> <entry>~/Applications/publish/Ryujinx</entry> + <entry>~/.local/share/applications/publish/Ryujinx</entry> <entry>~/.local/bin/publish/Ryujinx</entry> <entry>~/bin/publish/Ryujinx</entry> <entry>~/Applications/publish/Ryujinx.Ava</entry> + <entry>~/.local/share/applications/publish/Ryujinx.Ava</entry> <entry>~/.local/bin/publish/Ryujinx.Ava</entry> <entry>~/bin/publish/Ryujinx.Ava</entry> </rule> @@ -615,6 +646,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/sdl2trs/sdl2trs</entry> + <entry>~/.local/share/applications/sdl2trs/sdl2trs</entry> <entry>~/.local/bin/sdl2trs/sdl2trs</entry> <entry>~/bin/sdl2trs/sdl2trs</entry> </rule> @@ -626,6 +658,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/SheepShaver*.AppImage</entry> + <entry>~/.local/share/applications/SheepShaver*.AppImage</entry> <entry>~/.local/bin/SheepShaver*.AppImage</entry> <entry>~/bin/SheepShaver*.AppImage</entry> </rule> @@ -637,6 +670,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/simcoupe/simcoupe</entry> + <entry>~/.local/share/applications/simcoupe/simcoupe</entry> <entry>~/.local/bin/simcoupe/simcoupe</entry> <entry>~/bin/simcoupe/simcoupe</entry> </rule> @@ -698,6 +732,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/Supermodel/supermodel</entry> + <entry>~/.local/share/applications/Supermodel/supermodel</entry> <entry>~/.local/bin/Supermodel/supermodel</entry> <entry>~/bin/Supermodel/supermodel</entry> </rule> @@ -709,6 +744,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/dolphin-emu-triforce*.AppImage</entry> + <entry>~/.local/share/applications/dolphin-emu-triforce*.AppImage</entry> <entry>~/.local/bin/dolphin-emu-triforce*.AppImage</entry> <entry>~/bin/dolphin-emu-triforce*.AppImage</entry> </rule> @@ -717,6 +753,7 @@ <!-- Fujitsu FM Towns emulator Tsugaru --> <rule type="staticpath"> <entry>~/Applications/tsugaru/Tsugaru_CUI</entry> + <entry>~/.local/share/applications/tsugaru/Tsugaru_CUI</entry> <entry>~/.local/bin/tsugaru/Tsugaru_CUI</entry> <entry>~/bin/tsugaru/Tsugaru_CUI</entry> </rule> @@ -758,6 +795,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/Vita3K/Vita3K</entry> + <entry>~/.local/share/applications/Vita3K/Vita3K</entry> <entry>~/.local/bin/Vita3K/Vita3K</entry> <entry>~/bin/Vita3K/Vita3K</entry> </rule> @@ -770,6 +808,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/xemu*.AppImage</entry> + <entry>~/.local/share/applications/xemu*.AppImage</entry> <entry>~/.local/bin/xemu*.AppImage</entry> <entry>~/bin/xemu*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/app.xemu.xemu</entry> @@ -783,6 +822,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/xroar/xroar</entry> + <entry>~/.local/share/applications/xroar/xroar</entry> <entry>~/.local/bin/xroar/xroar</entry> <entry>~/bin/xroar/xroar</entry> </rule> @@ -795,6 +835,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/yuzu*.AppImage</entry> + <entry>~/.local/share/applications/yuzu*.AppImage</entry> <entry>~/.local/bin/yuzu*.AppImage</entry> <entry>~/bin/yuzu*.AppImage</entry> <entry>/var/lib/flatpak/exports/bin/org.yuzu_emu.yuzu</entry> @@ -808,6 +849,7 @@ </rule> <rule type="staticpath"> <entry>~/Applications/ZEsarUX/zesarux</entry> + <entry>~/.local/share/applications/ZEsarUX/zesarux</entry> <entry>~/.local/bin/ZEsarUX/zesarux</entry> <entry>~/bin/ZEsarUX/zesarux</entry> </rule>