I have used a keyboard short calling shutter -s
and making an rectengular area screenshot under Ubuntu-MATE 16.04 for many years. No problems ever. Of course, shutter was already running... the redundant call would simply do it's job of captuing (and or tell the original instance, either way, no problem, proper capture, proper display in shutter window)
Now, under Ubuntu-MATE 21.04 and with shutter 0.94.3 this is no longer working. Running shutter -s
get's me:
ln: failed to create symbolic link '/home/frank/snap/shutter/27/.config/gtk-`enter code here`2.0/gtkfilechooser.ini': File exists
Gtk-Message **: Failed to load module "appmenu-gtk-module" at /snap/shutter/27/usr/lib/x86_64-linux-gnu/perl5/5.22/Gtk2.pm line 126.
WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!
(shutter:74252): Unique-DBus-WARNING **: Error while sending message: Message recipient disconnected from message bus without replying
INFO: There is already another instance of Shutter running!
- „screenshots of websites will be disabled“ has been around for years and should not be related
- not so sure what this symbolic link-warning is about...
- maybe the very last „INFO“ is a problem now, maybe it isn't?
What does work 90% of the time (as a script in keyboard shortcuts) is this workaround, but hey...
sh -c "killall shutter ; sleep .2; shutter --delay=2 -s &"
... ist there a better way to do this? Or a known bug on shutter's end?
(there were some suggestions out there to use shutter -s -e
, but it is not helping)