Bug Report: KDE-Services (for Dolphin contextual menus) dependency checks fail on Wayland via Global Shortcuts

Mark Fernandes <[email protected]> Wed, 18 Feb 2026 14:30:12 +0000
Newsgroups gmane.comp.kde.devel.general
Message-ID <CAFotBOi+23VN3hdTj5d3+6sd0gAZqiVp9KbM8kF+Xyk01MyS4Q@mail.gmail.com>
I am reporting an issue with the KDE-Services package (by geobarrod) where
dependency checks in .desktop files fail on Wayland when Dolphin is
launched via a global shortcut (Meta+E).
Issue: The shortcut environment lacks a full PATH, causing which [command] to
return a non-zero exit code even when the utility is installed.
Fix: Replacing which [command]; if [ "$?" != "0" ] with a direct file check
like if [ ! -f /usr/bin/[command] ] resolves the issue and is more robust
for Wayland sessions.



------------------------------

   Mark J. Fernandes
   Glass Pebble Songwriting   www.glasspebble.uk

   Member of:

                  ⬥ Ivors Academy <https://ivorsacademy.com/> *(the UK
trade body for songwriters & composers)*

                  ⬥ Guild of International Songwriters & Composers
<https://songwriters-guild.org/> (*MEMBERSHIP #238231*)

   📞# being updated      [email protected]

   Essex, UK

   *Privacy notice is on website*