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

Mark Fernandes mjf.donotmail.for.weak.sec.envs at gmail.com
Wed Feb 18 14:30:12 GMT 2026


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      mark at glasspebble.uk

   Essex, UK

   *Privacy notice is on website*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20260218/c339991d/attachment.htm>


More information about the kde-devel mailing list