<?xml version="1.0"?>
<!-- This is the ES-DE find rules configuration file for Linux -->
<ruleList>
    <emulator name="OS-SHELL">
        <!-- Operating system shell -->
        <rule type="systempath">
            <entry>bash</entry>
            <entry>sh</entry>
        </rule>
    </emulator>
    <emulator name="RETROARCH">
        <rule type="systempath">
            <entry>retroarch</entry>
            <entry>org.libretro.RetroArch</entry>
        </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>
            <entry>~/.local/share/flatpak/exports/bin/org.libretro.RetroArch</entry>
        </rule>
    </emulator>
    <core name="RETROARCH">
        <rule type="corepath">
            <!-- Non-portable AppImage and compiled from source -->
            <entry>~/.config/retroarch/cores</entry>
            <!-- Alternative location used on some distributions such as Debian -->
            <entry>~/.config/retroarch/libretro</entry>
            <!-- Portable AppImage -->
            <entry>~/Applications/RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores</entry>
            <entry>~/.local/share/applications/RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores</entry>
            <entry>~/.local/bin/RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores</entry>
            <entry>~/bin/RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores</entry>
            <!-- Flatpak package -->
            <entry>~/.var/app/org.libretro.RetroArch/config/retroarch/cores</entry>
            <!-- Snap package -->
            <entry>~/snap/retroarch/common/.config/retroarch/cores</entry>
            <entry>~/snap/retroarch/current/.config/retroarch/cores</entry>
            <!-- Ubuntu and Linux Mint repository -->
            <entry>/usr/lib/x86_64-linux-gnu/libretro</entry>
            <!-- Fedora repository -->
            <entry>/usr/lib64/libretro</entry>
            <!-- Manjaro repository -->
            <entry>/usr/lib/libretro</entry>
        </rule>
    </core>
    <emulator name="3DSEN">
        <!-- Nintendo NES and Famicom emulator 3dSen -->
        <rule type="staticpath">
            <entry>~/Applications/3dSen/3dSen.exe</entry>
            <entry>~/.local/share/applications/3dSen/3dSen.exe</entry>
            <entry>~/.local/bin/3dSen/3dSen.exe</entry>
            <entry>~/bin/3dSen/3dSen.exe</entry>
        </rule>
    </emulator>
    <emulator name="3DSEN-WINDOWS">
        <!-- Nintendo NES and Famicom emulator 3dSen -->
        <rule type="staticpath">
            <entry>~/Applications/3dSen/3dSen.exe</entry>
            <entry>~/.local/share/applications/3dSen/3dSen.exe</entry>
            <entry>~/.local/bin/3dSen/3dSen.exe</entry>
            <entry>~/bin/3dSen/3dSen.exe</entry>
        </rule>
    </emulator>
    <emulator name="A7800">
        <!-- Atari 7800 emulator A7800 -->
        <rule type="staticpath">
            <entry>~/Applications/a7800-linux/a7800</entry>
            <entry>~/.local/share/applications/a7800-linux/a7800</entry>
            <entry>~/.local/bin/a7800-linux/a7800</entry>
            <entry>~/bin/a7800-linux/a7800</entry>
        </rule>
    </emulator>
    <emulator name="ACE-DL">
        <!-- Amstrad CPC emulator ACE-DL -->
        <rule type="systempath">
            <entry>AceDL</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/AceDL/AceDL</entry>
            <entry>~/.local/share/applications/AceDL/AceDL</entry>
            <entry>~/.local/bin/AceDL/AceDL</entry>
            <entry>~/bin/AceDL/AceDL</entry>
        </rule>
    </emulator>
    <emulator name="ADVANCEMAME">
        <!-- Arcade emulator AdvanceMAME -->
        <rule type="systempath">
            <entry>advmame</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/advancemame/advmame</entry>
            <entry>~/.local/share/applications/advancemame/advmame</entry>
            <entry>~/.local/bin/advancemame/advmame</entry>
            <entry>~/bin/advancemame/advmame</entry>
        </rule>
    </emulator>
    <emulator name="AMIBERRY">
        <!-- Commodore Amiga emulator Amiberry -->
        <rule type="systempath">
            <entry>amiberry</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/amiberry/amiberry</entry>
            <entry>~/.local/share/applications/amiberry/amiberry</entry>
            <entry>~/.local/bin/amiberry/amiberry</entry>
            <entry>~/bin/amiberry/amiberry</entry>
        </rule>
    </emulator>
    <emulator name="ARES">
        <!-- Multi-system emulator ares -->
        <rule type="systempath">
            <entry>ares</entry>
            <entry>dev.ares.ares</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/ares*.AppImage</entry>
            <entry>~/.local/share/applications/ares*.AppImage</entry>
            <entry>~/.local/bin/ares*.AppImage</entry>
            <entry>~/bin/ares*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/dev.ares.ares</entry>
            <entry>~/.local/share/flatpak/exports/bin/dev.ares.ares</entry>
        </rule>
    </emulator>
    <emulator name="ATARI800">
        <!-- Atari 8-bit computer emulator Atari800 -->
        <rule type="systempath">
            <entry>atari800</entry>
            <entry>atari800-jz.atari800</entry>
        </rule>
    </emulator>
    <emulator name="AZAHAR">
        <!-- Nintendo 3DS emulator Azahar -->
        <rule type="systempath">
            <entry>azahar</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/azahar*.AppImage</entry>
            <entry>~/.local/share/applications/azahar*.AppImage</entry>
            <entry>~/.local/bin/azahar*.AppImage</entry>
            <entry>~/bin/azahar*.AppImage</entry>
            <entry>~/Applications/Azahar-Enhanced*.AppImage</entry>
            <entry>~/.local/share/applications/Azahar-Enhanced*.AppImage</entry>
            <entry>~/.local/bin/Azahar-Enhanced*.AppImage</entry>
            <entry>~/bin/Azahar-Enhanced*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/org.azahar_emu.Azahar</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.azahar_emu.Azahar</entry>
        </rule>
    </emulator>
    <emulator name="AZAHARPLUS">
        <!-- Nintendo 3DS emulator AzaharPlus -->
        <rule type="staticpath">
            <entry>~/Applications/azaharplus*.AppImage</entry>
            <entry>~/.local/share/applications/azaharplus*.AppImage</entry>
            <entry>~/.local/bin/azaharplus*.AppImage</entry>
            <entry>~/bin/azaharplus*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="BASILISKII">
        <!-- Macintosh 68k emulator Basilisk II -->
        <rule type="systempath">
            <entry>BasiliskII</entry>
            <entry>net.cebix.basilisk</entry>
        </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>
            <entry>~/.local/share/flatpak/exports/bin/net.cebix.basilisk</entry>
        </rule>
    </emulator>
    <emulator name="BIGPEMU">
        <!-- Atari Jaguar emulator BigPEmu -->
        <rule type="systempath">
            <entry>bigpemu</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/bigpemu/bigpemu</entry>
            <entry>~/.local/share/applications/bigpemu/bigpemu</entry>
            <entry>~/.local/bin/bigpemu/bigpemu</entry>
            <entry>~/bin/bigpemu/bigpemu</entry>
        </rule>
    </emulator>
    <emulator name="BIGPEMU-WINDOWS">
        <!-- Atari Jaguar emulator BigPEmu -->
        <rule type="staticpath">
            <entry>~/Applications/BigPEmu/BigPEmu.exe</entry>
            <entry>~/.local/share/applications/BigPEmu/BigPEmu.exe</entry>
            <entry>~/.local/bin/BigPEmu/BigPEmu.exe</entry>
            <entry>~/bin/BigPEmu/BigPEmu.exe</entry>
        </rule>
    </emulator>
    <emulator name="BLASTEM">
        <!-- Sega Mega Drive/Genesis emulator BlastEm -->
        <rule type="systempath">
            <entry>blastem</entry>
            <entry>com.retrodev.blastem</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/blastem/blastem</entry>
            <entry>~/.local/share/applications/blastem/blastem</entry>
            <entry>~/.local/bin/blastem/blastem</entry>
            <entry>~/bin/blastem/blastem</entry>
            <entry>/var/lib/flatpak/exports/bin/com.retrodev.blastem</entry>
            <entry>~/.local/share/flatpak/exports/bin/com.retrodev.blastem</entry>
        </rule>
    </emulator>
    <emulator name="BSNES">
        <!-- Super Nintendo/Super Famicom emulator bsnes -->
        <rule type="systempath">
            <entry>bsnes</entry>
            <entry>dev.bsnes.bsnes</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/dev.bsnes.bsnes</entry>
            <entry>~/.local/share/flatpak/exports/bin/dev.bsnes.bsnes</entry>
        </rule>
    </emulator>
    <emulator name="CEMU">
        <!-- Nintendo Wii U emulator Cemu -->
        <rule type="systempath">
            <entry>cemu</entry>
            <entry>Cemu</entry>
        </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>
            <entry>/var/lib/flatpak/exports/bin/info.cemu.Cemu</entry>
            <entry>~/.local/share/flatpak/exports/bin/info.cemu.Cemu</entry>
        </rule>
    </emulator>
    <emulator name="CITRA">
        <!-- Nintendo 3DS emulator Citra -->
        <rule type="systempath">
            <entry>citra</entry>
            <entry>citra-emu.citra-nightly</entry>
            <entry>org.citra_emu.citra</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/citra-qt*.AppImage</entry>
            <entry>~/.local/share/applications/citra-qt*.AppImage</entry>
            <entry>~/.local/bin/citra-qt*.AppImage</entry>
            <entry>~/bin/citra-qt*.AppImage</entry>
            <entry>~/.citra/canary/citra-qt.AppImage</entry>
            <entry>~/.citra/nightly/citra-qt.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/org.citra_emu.citra</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.citra_emu.citra</entry>
        </rule>
    </emulator>
    <emulator name="COLEM">
        <!-- Coleco ColecoVision and Adam emulator ColEm -->
        <rule type="systempath">
            <entry>colem</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/colem/colem</entry>
            <entry>~/.local/share/applications/colem/colem</entry>
            <entry>~/.local/bin/colem/colem</entry>
            <entry>~/bin/colem/colem</entry>
        </rule>
    </emulator>
    <emulator name="CPCEMU">
        <!-- Amstrad CPC emulator CPCemu -->
        <rule type="systempath">
            <entry>cpcemu</entry>
        </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>
    </emulator>
    <emulator name="CSPECT">
        <!-- 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>
    </emulator>
    <emulator name="DEMUL-WINDOWS">
        <!-- Sega Dreamcast emulator Demul -->
        <rule type="staticpath">
            <entry>~/Applications/demul/demul.exe</entry>
            <entry>~/.local/share/applications/demul/demul.exe</entry>
            <entry>~/.local/bin/demul/demul.exe</entry>
            <entry>~/bin/demul/demul.exe</entry>
        </rule>
    </emulator>
    <emulator name="DESMUME">
        <!-- Nintendo DS emulator DeSmuME -->
        <rule type="systempath">
            <entry>desmume</entry>
            <entry>org.desmume.DeSmuME</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/desmume*.AppImage</entry>
            <entry>~/.local/share/applications/desmume*.AppImage</entry>
            <entry>~/.local/bin/desmume*.AppImage</entry>
            <entry>~/bin/desmume*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/org.desmume.DeSmuME</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.desmume.DeSmuME</entry>
        </rule>
    </emulator>
    <emulator name="DOLPHIN">
        <!-- Nintendo GameCube and Wii emulator Dolphin -->
        <rule type="systempath">
            <entry>dolphin-emu</entry>
            <entry>dolphin-emulator.dolphin-emu</entry>
            <entry>org.DolphinEmu.dolphin-emu</entry>
        </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>
            <entry>~/.local/share/flatpak/exports/bin/org.DolphinEmu.dolphin-emu</entry>
        </rule>
    </emulator>
    <emulator name="DOSBOX-PURE-UNLEASHED">
        <!-- DOS emulator DOSBox Pure Unleashed -->
        <rule type="systempath">
            <entry>DOSBoxPure</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/DOSBoxPure/DOSBoxPure</entry>
            <entry>~/.local/share/applications/DOSBoxPure/DOSBoxPure</entry>
            <entry>~/.local/bin/DOSBoxPure/DOSBoxPure</entry>
            <entry>~/bin/DOSBoxPure/DOSBoxPure</entry>
        </rule>
    </emulator>
    <emulator name="DOSBOX-STAGING">
        <!-- DOS emulator DOSBox Staging -->
        <rule type="systempath">
            <entry>dosbox-staging</entry>
            <entry>io.github.dosbox-staging</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/io.github.dosbox-staging</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.dosbox-staging</entry>
        </rule>
    </emulator>
    <emulator name="DOSBOX-X">
        <!-- DOS emulator DOSBox-X -->
        <rule type="systempath">
            <entry>dosbox-x</entry>
            <entry>com.dosbox_x.DOSBox-X</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/com.dosbox_x.DOSBox-X</entry>
            <entry>~/.local/share/flatpak/exports/bin/com.dosbox_x.DOSBox-X</entry>
        </rule>
    </emulator>
    <emulator name="DREAMM">
        <!-- LucasArts game engine DREAMM -->
        <rule type="systempath">
            <entry>dreamm</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/dreamm/dreamm</entry>
            <entry>~/.local/share/applications/dreamm/dreamm</entry>
            <entry>~/.local/bin/dreamm/dreamm</entry>
            <entry>~/bin/dreamm/dreamm</entry>
        </rule>
    </emulator>
    <emulator name="DUCKSTATION">
        <!-- Sony PlayStation 1 emulator DuckStation -->
        <rule type="systempath">
            <entry>duckstation-nogui</entry>
            <entry>duckstation-qt</entry>
            <entry>duckstation</entry>
            <entry>org.duckstation.DuckStation</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/DuckStation*.AppImage</entry>
            <entry>~/.local/share/applications/DuckStation*.AppImage</entry>
            <entry>~/.local/bin/DuckStation*.AppImage</entry>
            <entry>~/bin/DuckStation*.AppImage</entry>
            <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>
            <entry>~/.local/share/flatpak/exports/bin/org.duckstation.DuckStation</entry>
        </rule>
    </emulator>
    <emulator name="EASYRPG">
        <!-- EasyRPG game engine -->
        <rule type="systempath">
            <entry>easyrpg-player</entry>
            <entry>org.easyrpg.player</entry>
        </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>
            <entry>/var/lib/flatpak/exports/bin/org.easyrpg.player</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.easyrpg.player</entry>
        </rule>
    </emulator>
    <emulator name="EKA2L1">
        <!-- Symbian and Nokia N-Gage emulator EKA2L1 -->
        <rule type="systempath">
            <entry>eka2l1_qt</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/EKA2L1*.AppImage</entry>
            <entry>~/.local/share/applications/EKA2L1*.AppImage</entry>
            <entry>~/.local/bin/EKA2L1*.AppImage</entry>
            <entry>~/bin/EKA2L1*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="EKA2L1-WINDOWS">
        <!-- Symbian and Nokia N-Gage emulator EKA2L1 -->
        <rule type="staticpath">
            <entry>~/Applications/EKA2L1/eka2l1_qt.exe</entry>
            <entry>~/.local/share/applications/EKA2L1/eka2l1_qt.exe</entry>
            <entry>~/.local/bin/EKA2L1/eka2l1_qt.exe</entry>
            <entry>~/bin/EKA2L1/eka2l1_qt.exe</entry>
        </rule>
    </emulator>
    <emulator name="FINALBURN-NEO">
        <!-- Arcade emulator FinalBurn Neo -->
        <rule type="systempath">
            <entry>fbneo</entry>
        </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>
    </emulator>
    <emulator name="FLYCAST">
        <!-- Sega Dreamcast emulator Flycast -->
        <rule type="systempath">
            <entry>flycast</entry>
            <entry>org.flycast.Flycast</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/flycast-x86*.AppImage</entry>
            <entry>~/.local/share/applications/flycast-x86*.AppImage</entry>
            <entry>~/.local/bin/flycast-x86*.AppImage</entry>
            <entry>~/bin/flycast-x86*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/org.flycast.Flycast</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.flycast.Flycast</entry>
        </rule>
    </emulator>
    <emulator name="FLYCAST-DOJO">
        <!-- Sega Dreamcast emulator Flycast Dojo -->
        <rule type="systempath">
            <entry>flycast-dojo</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/flycast-dojo*.AppImage</entry>
            <entry>~/.local/share/applications/flycast-dojo*.AppImage</entry>
            <entry>~/.local/bin/flycast-dojo*.AppImage</entry>
            <entry>~/bin/flycast-dojo*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="FS-UAE">
        <!-- Commodore Amiga emulator FS-UAE -->
        <rule type="systempath">
            <entry>fs-uae-launcher</entry>
            <entry>fsuae.launcher</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/FS-UAE-Launcher/Linux/x86-64/fs-uae-launcher</entry>
            <entry>~/.local/share/applications/FS-UAE-Launcher/Linux/x86-64/fs-uae-launcher</entry>
            <entry>~/.local/bin/FS-UAE-Launcher/Linux/x86-64/fs-uae-launcher</entry>
            <entry>~/bin/FS-UAE-Launcher/Linux/x86-64/fs-uae-launcher</entry>
            <entry>/var/lib/flatpak/exports/bin/net.fsuae.FS-UAE|flatpak run --command=fs-uae-launcher net.fsuae.FS-UAE</entry>
            <entry>~/.local/share/flatpak/exports/bin/net.fsuae.FS-UAE|flatpak run --command=fs-uae-launcher net.fsuae.FS-UAE</entry>
        </rule>
    </emulator>
    <emulator name="FUSE">
        <!-- Sinclair ZX Spectrum emulator Fuse -->
        <rule type="systempath">
            <entry>fuse</entry>
            <entry>net.sf.fuse_emulator</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/net.sf.fuse_emulator</entry>
            <entry>~/.local/share/flatpak/exports/bin/net.sf.fuse_emulator</entry>
        </rule>
    </emulator>
    <emulator name="GARGOYLE">
        <!-- Interactive fiction player Gargoyle -->
        <rule type="systempath">
            <entry>gargoyle</entry>
            <entry>io.github.garglk.Gargoyle</entry>
        </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>
            <entry>~/.local/share/flatpak/exports/bin/io.github.garglk.Gargoyle</entry>
        </rule>
    </emulator>
    <emulator name="GEARBOY">
        <!-- Nintendo Game Boy and Game Boy Color emulator Gearboy -->
        <rule type="systempath">
            <entry>gearboy</entry>
        </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>
    </emulator>
    <emulator name="GOPHER2600">
        <!-- 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>
    </emulator>
    <emulator name="GOPHER64">
        <!-- Nintendo 64 emulator Gopher64 -->
        <rule type="systempath">
            <entry>gopher64-linux-x86_64</entry>
            <entry>io.github.gopher64.gopher64</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/gopher64/gopher64-linux-x86_64</entry>
            <entry>~/.local/share/applications/gopher64/gopher64-linux-x86_64</entry>
            <entry>~/.local/bin/gopher64/gopher64-linux-x86_64</entry>
            <entry>~/bin/gopher64/gopher64-linux-x86_64</entry>
            <entry>/var/lib/flatpak/exports/bin/io.github.gopher64.gopher64</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.gopher64.gopher64</entry>
        </rule>
    </emulator>
    <emulator name="HATARI">
        <!-- Atari ST/STE/TT/Falcon emulator Hatari -->
        <rule type="systempath">
            <entry>hatari</entry>
            <entry>org.tuxfamily.hatari</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/org.tuxfamily.hatari</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.tuxfamily.hatari</entry>
        </rule>
    </emulator>
    <emulator name="HYPSEUS-SINGE">
        <!-- Hypseus Singe, fork of arcade LaserDisc emulator Daphne -->
        <rule type="systempath">
            <entry>hypseus.bin</entry>
        </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>
    </emulator>
    <emulator name="IZAPPLE2">
        <!-- Apple II emulator izapple2 -->
        <rule type="staticpath">
            <entry>~/Applications/izapple2/izapple2sdl_linux_amd64</entry>
            <entry>~/.local/share/applications/izapple2/izapple2sdl_linux_amd64</entry>
            <entry>~/.local/bin/izapple2/izapple2sdl_linux_amd64</entry>
            <entry>~/bin/izapple2/izapple2sdl_linux_amd64</entry>
        </rule>
    </emulator>
    <emulator name="JGENESIS">
        <!-- Multi-system emulator jgenesis -->
        <rule type="staticpath">
            <entry>~/Applications/jgenesis-cli*.AppImage</entry>
            <entry>~/.local/share/applications/jgenesis-cli*.AppImage</entry>
            <entry>~/.local/bin/jgenesis-cli*.AppImage</entry>
            <entry>~/bin/jgenesis-cli*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="KEGS">
        <!-- Apple IIGS emulator KEGS -->
        <rule type="systempath">
            <entry>xkegs</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/kegs/xkegs</entry>
            <entry>~/.local/share/applications/kegs/xkegs</entry>
            <entry>~/.local/bin/kegs/xkegs</entry>
            <entry>~/bin/kegs/xkegs</entry>
        </rule>
    </emulator>
    <emulator name="KRONOS">
        <!-- Sega Saturn emulator Kronos -->
        <rule type="systempath">
            <entry>kronos</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/kronos/kronos</entry>
            <entry>~/.local/share/applications/kronos/kronos</entry>
            <entry>~/.local/bin/kronos/kronos</entry>
            <entry>~/bin/kronos/kronos</entry>
        </rule>
    </emulator>
    <emulator name="LIGHTSPARK">
        <!-- Adobe Flash player Lightspark -->
        <rule type="systempath">
            <entry>lightspark</entry>
        </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>
    </emulator>
    <emulator name="LIME3DS">
        <!-- Nintendo 3DS emulator Lime3DS -->
        <rule type="systempath">
            <entry>lime3ds</entry>
            <entry>lime3ds-gui</entry>
            <entry>lime-qt</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/lime3ds.AppImage</entry>
            <entry>~/.local/share/applications/lime3ds.AppImage</entry>
            <entry>~/.local/bin/lime3ds.AppImage</entry>
            <entry>~/bin/lime3ds.AppImage</entry>
            <entry>~/Applications/lime3ds-gui*.AppImage</entry>
            <entry>~/.local/share/applications/lime3ds-gui*.AppImage</entry>
            <entry>~/.local/bin/lime3ds-gui*.AppImage</entry>
            <entry>~/bin/lime3ds-gui*.AppImage</entry>
            <entry>~/Applications/lime-qt*.AppImage</entry>
            <entry>~/.local/share/applications/lime-qt*.AppImage</entry>
            <entry>~/.local/bin/lime-qt*.AppImage</entry>
            <entry>~/bin/lime-qt*.AppImage</entry>
            <entry>~/Applications/lime3ds*.AppImage</entry>
            <entry>~/.local/share/applications/lime3ds*.AppImage</entry>
            <entry>~/.local/bin/lime3ds*.AppImage</entry>
            <entry>~/bin/lime3ds*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/io.github.lime3ds.Lime3DS</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.lime3ds.Lime3DS</entry>
        </rule>
    </emulator>
    <emulator name="LINAPPLE">
        <!-- Apple II emulator LinApple -->
        <rule type="systempath">
            <entry>linapple</entry>
        </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>
    </emulator>
    <emulator name="LINDBERGH-LOADER">
        <!-- Sega Lindbergh emulator Lindbergh Loader -->
        <rule type="systempath">
            <entry>lindbergh</entry>
            <entry>com.github.lindberghloader</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/lindbergh-loader*.AppImage</entry>
            <entry>~/.local/share/applications/lindbergh-loader*.AppImage</entry>
            <entry>~/.local/bin/lindbergh-loader*.AppImage</entry>
            <entry>~/bin/lindbergh-loader*.AppImage</entry>
            <entry>~/Applications/lindbergh/lindbergh</entry>
            <entry>~/.local/share/applications/lindbergh/lindbergh</entry>
            <entry>~/.local/bin/lindbergh/lindbergh</entry>
            <entry>~/bin/lindbergh/lindbergh</entry>
            <entry>/var/lib/flatpak/exports/bin/com.github.lindberghloader</entry>
            <entry>~/.local/share/flatpak/exports/bin/com.github.lindberghloader</entry>
        </rule>
    </emulator>
    <emulator name="M2EMULATOR-WINDOWS">
        <!-- Sega Model 2 Emulator -->
        <rule type="staticpath">
            <entry>~/Applications/m2emulator/EMULATOR.EXE</entry>
            <entry>~/.local/share/applications/m2emulator/EMULATOR.EXE</entry>
            <entry>~/.local/bin/m2emulator/EMULATOR.EXE</entry>
            <entry>~/bin/m2emulator/EMULATOR.EXE</entry>
        </rule>
    </emulator>
    <emulator name="MAME">
        <!-- Arcade emulator MAME -->
        <rule type="systempath">
            <entry>mame</entry>
            <entry>org.mamedev.MAME</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/MAME*.AppImage</entry>
            <entry>~/.local/share/applications/MAME*.AppImage</entry>
            <entry>~/.local/bin/MAME*.AppImage</entry>
            <entry>~/bin/MAME*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/org.mamedev.MAME</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.mamedev.MAME</entry>
        </rule>
    </emulator>
    <emulator name="MANDARINE">
        <!-- Nintendo 3DS emulator Mandarine -->
        <rule type="systempath">
            <entry>mandarine-qt</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/mandarine-qt*.AppImage</entry>
            <entry>~/.local/share/applications/mandarine-qt*.AppImage</entry>
            <entry>~/.local/bin/mandarine-qt*.AppImage</entry>
            <entry>~/bin/mandarine-qt*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="MEDNAFEN">
        <!-- Multi-system emulator Mednafen -->
        <rule type="systempath">
            <entry>mednafen</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/com.github.AmatCoder.mednaffe|flatpak run --command=mednafen com.github.AmatCoder.mednaffe</entry>
            <entry>~/.local/share/flatpak/exports/bin/com.github.AmatCoder.mednaffe|flatpak run --command=mednafen com.github.AmatCoder.mednaffe</entry>
        </rule>
    </emulator>
    <emulator name="MELONDS">
        <!-- Nintendo DS and DSi emulator melonDS -->
        <rule type="systempath">
            <entry>melonds</entry>
            <entry>melonDS</entry>
            <entry>net.kuribo64.melonDS</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/melonDS*.AppImage</entry>
            <entry>~/.local/share/applications/melonDS*.AppImage</entry>
            <entry>~/.local/bin/melonDS*.AppImage</entry>
            <entry>~/bin/melonDS*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/net.kuribo64.melonDS</entry>
            <entry>~/.local/share/flatpak/exports/bin/net.kuribo64.melonDS</entry>
        </rule>
    </emulator>
    <emulator name="MESEN">
        <!-- Multi-system emulator Mesen -->
        <rule type="systempath">
            <entry>mesen2</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/Mesen*.AppImage</entry>
            <entry>~/.local/share/applications/Mesen*.AppImage</entry>
            <entry>~/.local/bin/Mesen*.AppImage</entry>
            <entry>~/bin/Mesen*.AppImage</entry>
            <entry>~/Applications/Mesen/Mesen</entry>
            <entry>~/.local/share/applications/Mesen/Mesen</entry>
            <entry>~/.local/bin/Mesen/Mesen</entry>
            <entry>~/bin/Mesen/Mesen</entry>
        </rule>
    </emulator>
    <emulator name="MFME-WINDOWS">
        <!-- Fruit machine emulator MFME -->
        <rule type="staticpath">
            <entry>~/Applications/MFME/MFME.exe</entry>
            <entry>~/.local/share/applications/MFME/MFME.exe</entry>
            <entry>~/.local/bin/MFME/MFME.exe</entry>
            <entry>~/bin/MFME/MFME.exe</entry>
        </rule>
    </emulator>
    <emulator name="MGBA">
        <!-- Nintendo Game Boy Advance emulator mGBA -->
        <rule type="systempath">
            <entry>mgba</entry>
            <entry>mgba-qt</entry>
            <entry>io.mgba.mGBA</entry>
        </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>
            <entry>~/.local/share/flatpak/exports/bin/io.mgba.mGBA</entry>
        </rule>
    </emulator>
    <emulator name="MUPEN64PLUS">
        <!-- Nintendo 64 emulator Mupen64Plus -->
        <rule type="systempath">
            <entry>m64p</entry>
            <entry>io.github.m64p.m64p</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/io.github.m64p.m64p</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.m64p.m64p</entry>
        </rule>
    </emulator>
    <emulator name="NESTOPIA-UE">
        <!-- Nintendo NES and Famicom emulator Nestopia UE -->
        <rule type="systempath">
            <entry>nestopia</entry>
            <entry>ca._0ldsk00l.Nestopia</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/ca._0ldsk00l.Nestopia</entry>
            <entry>~/.local/share/flatpak/exports/bin/ca._0ldsk00l.Nestopia</entry>
        </rule>
    </emulator>
    <emulator name="NOODS">
        <!-- Nintendo DS and Game Boy Advance emulator NooDS -->
        <rule type="systempath">
            <entry>noods</entry>
        </rule>
    </emulator>
    <emulator name="OPENMSX">
        <!-- MSX home computer emulator openMSX -->
        <rule type="systempath">
            <entry>openmsx</entry>
            <entry>org.openmsx.openMSX</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/org.openmsx.openMSX</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.openmsx.openMSX</entry>
        </rule>
    </emulator>
    <emulator name="ORICUTRON">
        <!-- Tangerine Computer Systems emulator Oricutron -->
        <rule type="systempath">
            <entry>Oricutron</entry>
        </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>
    </emulator>
    <emulator name="PANDA3DS">
        <!-- Nintendo 3DS emulator Panda3DS -->
        <rule type="systempath">
            <entry>panda3ds</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/Alber-*.AppImage</entry>
            <entry>~/.local/share/applications/Alber-*.AppImage</entry>
            <entry>~/.local/bin/Alber-*.AppImage</entry>
            <entry>~/bin/Alber-*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="PARALLEL-LAUNCHER">
        <!-- Nintendo 64 emulator Parallel Launcher  -->
        <rule type="systempath">
            <entry>parallel-launcher</entry>
            <entry>ca.parallel_launcher.ParallelLauncher</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/ca.parallel_launcher.ParallelLauncher</entry>
            <entry>~/.local/share/flatpak/exports/bin/ca.parallel_launcher.ParallelLauncher</entry>
        </rule>
    </emulator>
    <emulator name="PCSX2">
        <!-- Sony PlayStation 2 emulator PCSX2 -->
        <rule type="systempath">
            <entry>pcsx2-qt</entry>
            <entry>pcsx2</entry>
            <entry>net.pcsx2.PCSX2</entry>
        </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>
            <entry>/var/lib/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
            <entry>~/.local/share/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
        </rule>
    </emulator>
    <emulator name="PCSX2-LEGACY">
        <!-- Sony PlayStation 2 emulator PCSX2 (legacy) -->
        <rule type="systempath">
            <entry>PCSX2</entry>
            <entry>pcsx2</entry>
            <entry>net.pcsx2.PCSX2</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
            <entry>~/.local/share/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
        </rule>
    </emulator>
    <emulator name="PICO-8">
        <!-- PICO-8 Fantasy Console (game engine) -->
        <rule type="systempath">
            <entry>pico8</entry>
        </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>
    </emulator>
    <emulator name="PLASTIC">
        <!-- Nintendo NES and Famicom emulator Plastic -->
        <rule type="systempath">
            <entry>plastic</entry>
        </rule>
    </emulator>
    <emulator name="PLAY!">
        <!-- Sony PlayStation 2 emulator Play! -->
        <rule type="systempath">
            <entry>org.purei.Play</entry>
        </rule>
        <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>
            <entry>~/.local/share/flatpak/exports/bin/org.purei.Play</entry>
        </rule>
    </emulator>
    <emulator name="PPSSPP">
        <!-- Sony PlayStation Portable emulator PPSSPP -->
        <rule type="systempath">
            <entry>ppsspp</entry>
            <entry>ppsspp-emu.ppsspp-sdl</entry>
            <entry>PPSSPPSDL</entry>
            <entry>PPSSPPQt</entry>
            <entry>org.ppsspp.PPSSPP</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/PPSSPP*.AppImage</entry>
            <entry>~/.local/share/applications/PPSSPP*.AppImage</entry>
            <entry>~/.local/bin/PPSSPP*.AppImage</entry>
            <entry>~/bin/PPSSPP*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/org.ppsspp.PPSSPP</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.ppsspp.PPSSPP</entry>
        </rule>
    </emulator>
    <emulator name="PRBOOM-PLUS">
        <!-- Doom engine source port PrBoom+ -->
        <rule type="systempath">
            <entry>prboom-plus</entry>
        </rule>
    </emulator>
    <emulator name="PRIMEHACK">
        <!-- PrimeHack, fork of Nintendo GameCube and Wii emulator Dolphin -->
        <rule type="systempath">
            <entry>primehack</entry>
            <entry>io.github.shiiion.primehack</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/io.github.shiiion.primehack</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.shiiion.primehack</entry>
        </rule>
    </emulator>
    <emulator name="PROTON">
        <!-- Microsoft Windows compatibility layer Proton -->
        <rule type="staticpath">
            <entry>~/Applications/Proton/wine*.AppImage</entry>
            <entry>~/.local/share/applications/Proton/wine*.AppImage</entry>
            <entry>~/.local/bin/Proton/wine*.AppImage</entry>
            <entry>~/bin/Proton/wine*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="PUNES">
        <!-- Nintendo NES and Famicom emulator puNES -->
        <rule type="systempath">
            <entry>punes</entry>
        </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>
            <entry>/var/lib/flatpak/exports/bin/io.github.punesemu.puNES</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.punesemu.puNES</entry>
        </rule>
    </emulator>
    <emulator name="QUASI88">
        <!-- NEC PC-8800 series emulator QUASI88 -->
        <rule type="systempath">
            <entry>quasi88</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/quasi88/quasi88</entry>
            <entry>~/.local/share/applications/quasi88/quasi88</entry>
            <entry>~/.local/bin/quasi88/quasi88</entry>
            <entry>~/bin/quasi88/quasi88</entry>
        </rule>
    </emulator>
    <emulator name="REDREAM">
        <!-- Sega Dreamcast emulator Redream -->
        <rule type="systempath">
            <entry>redream</entry>
        </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>
    </emulator>
    <emulator name="ROSALIES-MUPEN-GUI">
        <!-- Nintendo 64 emulator Rosalie's Mupen GUI -->
        <rule type="systempath">
            <entry>RMG</entry>
            <entry>com.github.Rosalie241.RMG</entry>
        </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>
            <entry>~/.local/share/flatpak/exports/bin/com.github.Rosalie241.RMG</entry>
        </rule>
    </emulator>
    <emulator name="RPCS3">
        <!-- Sony PlayStation 3 emulator RPCS3 -->
        <rule type="systempath">
            <entry>rpcs3</entry>
            <entry>rpcs3-emu.rpcs3</entry>
            <entry>net.rpcs3.RPCS3</entry>
        </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>
            <entry>~/.local/share/flatpak/exports/bin/net.rpcs3.RPCS3</entry>
        </rule>
    </emulator>
    <emulator name="RUFFLE">
        <!-- Adobe Flash player Ruffle -->
        <rule type="systempath">
            <entry>ruffle</entry>
        </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>
            <entry>/var/lib/flatpak/exports/bin/rs.ruffle.Ruffle</entry>
            <entry>~/.local/share/flatpak/exports/bin/rs.ruffle.Ruffle</entry>
        </rule>
    </emulator>
    <emulator name="RYUJINX">
        <!-- Nintendo Switch emulator Ryujinx -->
        <rule type="systempath">
            <entry>Ryujinx</entry>
            <entry>Ryujinx.Ava</entry>
            <entry>ryujinx</entry>
            <entry>io.github.ryubing.Ryujinx</entry>
            <entry>org.ryujinx.Ryujinx</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/*yujinx*.AppImage</entry>
            <entry>~/.local/share/applications/*yujinx*.AppImage</entry>
            <entry>~/.local/bin/*yujinx*.AppImage</entry>
            <entry>~/bin/*yujinx*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/io.github.ryubing.Ryujinx</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.ryubing.Ryujinx</entry>
            <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>
    </emulator>
    <emulator name="SAMEBOY">
        <!-- Nintendo Game Boy and Game Boy Color emulator SameBoy -->
        <rule type="systempath">
            <entry>sameboy</entry>
            <entry>io.github.sameboy.SameBoy</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/io.github.sameboy.SameBoy</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.sameboy.SameBoy</entry>
        </rule>
    </emulator>
    <emulator name="SCUMMVM">
        <!-- ScummVM game engine -->
        <rule type="systempath">
            <entry>scummvm</entry>
            <entry>org.scummvm.ScummVM</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/org.scummvm.ScummVM</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.scummvm.ScummVM</entry>
        </rule>
    </emulator>
    <emulator name="SDL2TRS">
        <!-- Tandy TRS-80 emulator sdl2trs -->
        <rule type="systempath">
            <entry>sdl2trs</entry>
        </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>
    </emulator>
    <emulator name="SHADPS4">
        <!-- Sony PlayStation 4 emulator shadPS4 -->
        <rule type="systempath">
            <entry>shadps4</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/Shadps4-qt*.AppImage</entry>
            <entry>~/.local/share/applications/Shadps4-qt*.AppImage</entry>
            <entry>~/.local/bin/Shadps4-qt*.AppImage</entry>
            <entry>~/bin/Shadps4-qt*.AppImage</entry>
            <entry>~/Applications/Shadps4-sdl*.AppImage</entry>
            <entry>~/.local/share/applications/Shadps4-sdl*.AppImage</entry>
            <entry>~/.local/bin/Shadps4-sdl*.AppImage</entry>
            <entry>~/bin/Shadps4-sdl*.AppImage</entry>
            <entry>~/Applications/shadps4/shadps4</entry>
            <entry>~/.local/share/applications/shadps4/shadps4</entry>
            <entry>~/.local/bin/shadps4/shadps4</entry>
            <entry>~/bin/shadps4/shadps4</entry>
        </rule>
    </emulator>
    <emulator name="SHADPS4-GUI">
        <!-- Sony PlayStation 4 emulator shadPS4 (GUI) -->
        <rule type="staticpath">
            <entry>~/Applications/shadPS4QtLauncher*.AppImage</entry>
            <entry>~/.local/share/applications/shadPS4QtLauncher*.AppImage</entry>
            <entry>~/.local/bin/shadPS4QtLauncher*.AppImage</entry>
            <entry>~/bin/shadPS4QtLauncher*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="SHEEPSHAVER">
        <!-- Apple Macintosh PowerPC emulator SheepShaver -->
        <rule type="systempath">
            <entry>SheepShaver</entry>
        </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>
    </emulator>
    <emulator name="SIMCOUPE">
        <!-- SAM Coupé emulator SimCoupé -->
        <rule type="systempath">
            <entry>simcoupe</entry>
        </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>
    </emulator>
    <emulator name="SIMPLE64">
        <!-- Nintendo 64 emulator simple64 -->
        <rule type="systempath">
            <entry>simple64-gui</entry>
            <entry>io.github.simple64.simple64</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/io.github.simple64.simple64</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.simple64.simple64</entry>
        </rule>
    </emulator>
    <emulator name="SKYEMU">
        <!-- Nintendo Game Boy, Game Boy Color, Game Boy Advance and DS emulator SkyEmu -->
        <rule type="systempath">
            <entry>SkyEmu</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/SkyEmu/SkyEmu</entry>
            <entry>~/.local/share/applications/SkyEmu/SkyEmu</entry>
            <entry>~/.local/bin/SkyEmu/SkyEmu</entry>
            <entry>~/bin/SkyEmu/SkyEmu</entry>
        </rule>
    </emulator>
    <emulator name="SNES9X">
        <!-- Super Nintendo emulator Snes9x -->
        <rule type="systempath">
            <entry>snes9x</entry>
            <entry>snes9x-gtk</entry>
            <entry>com.snes9x.Snes9x</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/Snes9x*.AppImage</entry>
            <entry>~/.local/share/applications/Snes9x*.AppImage</entry>
            <entry>~/.local/bin/Snes9x*.AppImage</entry>
            <entry>~/bin/Snes9x*.AppImage</entry>
            <entry>/var/lib/flatpak/exports/bin/com.snes9x.Snes9x</entry>
            <entry>~/.local/share/flatpak/exports/bin/com.snes9x.Snes9x</entry>
        </rule>
    </emulator>
    <emulator name="SOLARUS">
        <!-- Solarus game engine -->
        <rule type="systempath">
            <entry>solarus-run</entry>
            <entry>solarus.run</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/org.solarus_games.solarus.Launcher|flatpak run --command=solarus-run org.solarus_games.solarus.Launcher</entry>
            <entry>~/.local/share/flatpak/exports/bin/org.solarus_games.solarus.Launcher|flatpak run --command=solarus-run org.solarus_games.solarus.Launcher</entry>
        </rule>
    </emulator>
    <emulator name="STEAM">
        <!-- Valve Steam -->
        <rule type="systempath">
            <entry>steam</entry>
        </rule>
    </emulator>
    <emulator name="STELLA">
        <!-- Atari 2600 emulator Stella -->
        <rule type="systempath">
            <entry>stella</entry>
            <entry>io.github.stella_emu.Stella</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/io.github.stella_emu.Stella</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.stella_emu.Stella</entry>
        </rule>
    </emulator>
    <emulator name="SUPERMODEL">
        <!-- Sega Model 3 emulator Supermodel -->
        <rule type="systempath">
            <entry>supermodel</entry>
        </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>
            <entry>/var/lib/flatpak/exports/bin/com.supermodel3.Supermodel</entry>
            <entry>~/.local/share/flatpak/exports/bin/com.supermodel3.Supermodel</entry>
        </rule>
    </emulator>
    <emulator name="TIC-80">
        <!-- TIC-80 Fantasy Computer (game engine) -->
        <rule type="systempath">
            <entry>tic80</entry>
            <entry>com.tic80.TIC_80</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/com.tic80.TIC_80</entry>
            <entry>~/.local/share/flatpak/exports/bin/com.tic80.TIC_80</entry>
        </rule>
    </emulator>
    <emulator name="TRIFORCE">
        <!-- Triforce, fork of Nintendo GameCube and Wii emulator Dolphin -->
        <rule type="systempath">
            <entry>dolphin-emu-triforce</entry>
        </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>
    </emulator>
    <emulator name="TSUGARU">
        <!-- 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>
    </emulator>
    <emulator name="VBA-M">
        <!-- Nintendo Game Boy Advance emulator VBA-M -->
        <rule type="systempath">
            <entry>visualboyadvance-m</entry>
            <entry>com.vba_m.visualboyadvance-m</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/com.vba_m.visualboyadvance-m</entry>
            <entry>~/.local/share/flatpak/exports/bin/com.vba_m.visualboyadvance-m</entry>
        </rule>
    </emulator>
    <emulator name="VICE-X64SC">
        <!-- Commodore 8-bit computer emulator VICE (x64sc accurate) -->
        <rule type="systempath">
            <entry>x64sc</entry>
            <entry>vice-jz.x64sc</entry>
            <entry>net.sf.VICE</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/net.sf.VICE</entry>
            <entry>~/.local/share/flatpak/exports/bin/net.sf.VICE</entry>
        </rule>
    </emulator>
    <emulator name="VICE-XPLUS4">
        <!-- Commodore 8-bit computer emulator VICE (xplus4) -->
        <rule type="systempath">
            <entry>xplus4</entry>
            <entry>vice-jz.xplus4</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/net.sf.VICE|flatpak run --command=xplus4 net.sf.VICE</entry>
            <entry>~/.local/share/flatpak/exports/bin/net.sf.VICE|flatpak run --command=xplus4 net.sf.VICE</entry>
        </rule>
    </emulator>
    <emulator name="VICE-XVIC">
        <!-- Commodore 8-bit computer emulator VICE (xvic) -->
        <rule type="systempath">
            <entry>xvic</entry>
            <entry>vice-jz.xvic</entry>
        </rule>
        <rule type="staticpath">
            <entry>/var/lib/flatpak/exports/bin/net.sf.VICE|flatpak run --command=xvic net.sf.VICE</entry>
            <entry>~/.local/share/flatpak/exports/bin/net.sf.VICE|flatpak run --command=xvic net.sf.VICE</entry>
        </rule>
    </emulator>
    <emulator name="VIRCON32">
        <!-- Vircon32 Virtual Console -->
        <rule type="systempath">
            <entry>Vircon32</entry>
        </rule>
    </emulator>
    <emulator name="VISUAL-PINBALL">
        <!-- Pinball simulator Visual Pinball -->
        <rule type="systempath">
            <entry>VPinballX_BGFX</entry>
            <entry>VPinballX_GL</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/VPinballX/VPinballX_BGFX</entry>
            <entry>~/.local/share/applications/VPinballX/VPinballX_BGFX</entry>
            <entry>~/.local/bin/VPinballX/VPinballX_BGFX</entry>
            <entry>~/bin/VPinballX/VPinballX_BGFX</entry>
            <entry>~/Applications/VPinballX/VPinballX_GL</entry>
            <entry>~/.local/share/applications/VPinballX/VPinballX_GL</entry>
            <entry>~/.local/bin/VPinballX/VPinballX_GL</entry>
            <entry>~/bin/VPinballX/VPinballX_GL</entry>
        </rule>
    </emulator>
    <emulator name="VITA3K">
        <!-- Sony PlayStation Vita emulator Vita3K -->
        <rule type="systempath">
            <entry>vita3k</entry>
            <entry>Vita3K</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/Vita3K*.AppImage</entry>
            <entry>~/.local/share/applications/Vita3K*.AppImage</entry>
            <entry>~/.local/bin/Vita3K*.AppImage</entry>
            <entry>~/bin/Vita3K*.AppImage</entry>
            <entry>~/Applications/Vita3K/Vita3K</entry>
            <entry>~/.local/share/applications/Vita3K/Vita3K</entry>
            <entry>~/.local/bin/Vita3K/Vita3K</entry>
            <entry>~/bin/Vita3K/Vita3K</entry>
        </rule>
    </emulator>
    <emulator name="WINE">
        <!-- Microsoft Windows compatibility layer Wine -->
        <rule type="staticpath">
            <entry>~/Applications/Wine/wine*.AppImage</entry>
            <entry>~/.local/share/applications/Wine/wine*.AppImage</entry>
            <entry>~/.local/bin/Wine/wine*.AppImage</entry>
            <entry>~/bin/Wine/wine*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="XEMU">
        <!-- Microsoft Xbox emulator xemu -->
        <rule type="systempath">
            <entry>xemu</entry>
            <entry>app.xemu.xemu</entry>
        </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>
            <entry>~/.local/share/flatpak/exports/bin/app.xemu.xemu</entry>
        </rule>
    </emulator>
    <emulator name="XENIA">
        <!-- Microsoft Xbox 360 emulator xenia -->
        <rule type="staticpath">
            <entry>~/Applications/xenia/xenia</entry>
            <entry>~/.local/share/applications/xenia/xenia</entry>
            <entry>~/.local/bin/xenia/xenia</entry>
            <entry>~/bin/xenia/xenia</entry>
            <entry>~/Applications/xenia/xenia_canary</entry>
            <entry>~/.local/share/applications/xenia/xenia_canary</entry>
            <entry>~/.local/bin/xenia/xenia_canary</entry>
            <entry>~/bin/xenia/xenia_canary</entry>
            <entry>~/Applications/xenia-canary*.AppImage</entry>
            <entry>~/.local/share/applications/xenia-canary*.AppImage</entry>
            <entry>~/.local/bin/xenia-canary*.AppImage</entry>
            <entry>~/bin/xenia-canary*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="XENIA-EDGE">
        <!-- Microsoft Xbox 360 emulator Xenia Edge -->
        <rule type="systempath">
            <entry>xenia_edge</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/xenia_edge*.AppImage</entry>
            <entry>~/.local/share/applications/xenia_edge*.AppImage</entry>
            <entry>~/.local/bin/xenia_edge*.AppImage</entry>
            <entry>~/bin/xenia_edge*.AppImage</entry>
        </rule>
    </emulator>
    <emulator name="XENIA-WINDOWS">
        <!-- Microsoft Xbox 360 emulator xenia -->
        <rule type="staticpath">
            <entry>~/Applications/xenia/xenia.exe</entry>
            <entry>~/.local/share/applications/xenia/xenia.exe</entry>
            <entry>~/.local/bin/xenia/xenia.exe</entry>
            <entry>~/bin/xenia/xenia.exe</entry>
            <entry>~/Applications/xenia/xenia_canary.exe</entry>
            <entry>~/.local/share/applications/xenia/xenia_canary.exe</entry>
            <entry>~/.local/bin/xenia/xenia_canary.exe</entry>
            <entry>~/bin/xenia/xenia_canary.exe</entry>
        </rule>
    </emulator>
    <emulator name="XM6PRO68K-WINDOWS">
        <!-- Sharp X68000 emulator XM6 Pro-68k -->
        <rule type="staticpath">
            <entry>~/Applications/XM6 Pro-68k/XM6.exe</entry>
            <entry>~/.local/share/applications/XM6 Pro-68k/XM6.exe</entry>
            <entry>~/.local/bin/XM6 Pro-68k/XM6.exe</entry>
            <entry>~/bin/XM6 Pro-68k/XM6.exe</entry>
        </rule>
    </emulator>
    <emulator name="XM6TYPEG-WINDOWS">
        <!-- Sharp X68000 emulator XM6 TypeG -->
        <rule type="staticpath">
            <entry>~/Applications/xm6_typeg/xm6g.exe</entry>
            <entry>~/.local/share/applications/xm6_typeg/xm6g.exe</entry>
            <entry>~/.local/bin/xm6_typeg/xm6g.exe</entry>
            <entry>~/bin/xm6_typeg/xm6g.exe</entry>
        </rule>
    </emulator>
    <emulator name="XROAR">
        <!-- Dragon and Tandy 8-bit computer emulator XRoar -->
        <rule type="systempath">
            <entry>xroar</entry>
        </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>
    </emulator>
    <emulator name="YMIR">
        <!-- Sega Saturn emulator Ymir -->
        <rule type="systempath">
            <entry>ymir-sdl3</entry>
            <entry>io.github.strikerx3.ymir</entry>
        </rule>
        <rule type="staticpath">
            <entry>~/Applications/ymir/ymir-sdl3</entry>
            <entry>~/.local/share/applications/ymir/ymir-sdl3</entry>
            <entry>~/.local/bin/ymir/ymir-sdl3</entry>
            <entry>~/bin/ymir/ymir-sdl3</entry>
            <entry>/var/lib/flatpak/exports/bin/io.github.strikerx3.ymir</entry>
            <entry>~/.local/share/flatpak/exports/bin/io.github.strikerx3.ymir</entry>
        </rule>
    </emulator>
    <emulator name="ZESARUX">
        <!-- Sinclair ZX Spectrum emulator ZEsarUX -->
        <rule type="systempath">
            <entry>zesarux</entry>
        </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>
    </emulator>
</ruleList>