Package: grimshot
Version: 1.10-contrib.0-1

grimshot tries to send a notification by default which results in the 
following error on systems without a notification service:


GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.freedesktop.Notifications was not provided by any .service files


Upon inspection, this seems to be a bug on line 127:


   when "$notify_disabled" "return"


If we replace the line by:


   if eval $notify_disabled; then
          return
   fi

This works.


This makes sense because the "return" will step out of the "when" 
command instead of the notifyOK one
-- 
Ploum - Lionel Dricot

Blog: https://www.ploum.net
Bikepunk: https://bikepunk.fr/

Reply via email to