A Wayland native snapshot editing tool, inspired by Snappy on macOS
MIT License
1.06k
stars
39
forks
source link
[BUG] Failed to register: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gtk.Actions” on object at path /me/jtheoof/swappy #147
I've started using swappy on Sway (Wayland I3WM's equivalent).
I use it like so :
takeScreenshot() {
FILE=$1
GEOM=$2
OUTPUT=$3
if [ -n "$OUTPUT" ]; then
grim ${CURSOR:+-c} -o "$OUTPUT" "$FILE" || die "Unable to invoke grim"
elif [ -z "$GEOM" ]; then
grim ${CURSOR:+-c} "$FILE" || die "Unable to invoke grim"
else
grim ${CURSOR:+-c} -g "$GEOM" "$FILE" || die "Unable to invoke grim"
fi
}
takeScreenshot - "$GEOM" "$OUTPUT" | swappy -f - || die "Clipboard error"
However recently due to an upgrade, I'm not sure if it's of xdg-desktop-portal or anything else.
When I take a screenshot, swappy does not show up unless I manually run into a terminal swappy, wait for like 1 min at most, and then see the dialog of the previous screenshot open and in the terminal I see the following error :
Failed to register: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gtk.Actions” on object at path /me/jtheoof/swappy
Any idea on how to fix this issue ? Or any debug logs I could provide here so that you could have a better idea of what's going on ?
I've started using swappy on Sway (Wayland I3WM's equivalent).
I use it like so :
However recently due to an upgrade, I'm not sure if it's of
xdg-desktop-portal
or anything else.When I take a screenshot,
swappy
does not show up unless I manually run into a terminalswappy
, wait for like 1 min at most, and then see the dialog of the previous screenshot open and in the terminal I see the following error :Any idea on how to fix this issue ? Or any debug logs I could provide here so that you could have a better idea of what's going on ?