Thank you for the assistance in this topic, particularly with xwininfo.
I've resolved the Anydesk issue with a small bash script, which I
execute via an alias to close Anydesk.

---

#!/bin/bash
window_id=$(xwininfo -root -tree | grep -E "200x200" | grep -E "\(has no 
name\)" | awk '{print $1}')
if [ ! -z "$window_id" ]; then
    flatpak kill com.anydesk.Anydesk > /dev/null 2>&1 &
    xdotool windowclose $window_id
fi

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell-extension-appindicator
in Ubuntu.
https://bugs.launchpad.net/bugs/2012388

Title:
  X11 window (usually AnyDesk) at top-right of the screen is invisible
  and steals mouse clicks

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell-extension-appindicator/+bug/2012388/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to