On Sun, Jan 28, 2024 at 2:31 PM Neal Gompa <ngompa13@xxxxxxxxx> wrote: > > On Sun, Jan 28, 2024 at 7:04 PM Go Canes <letsgonhlcanes0@xxxxxxxxx> wrote: [...] > > - remote *application*, not desktop. I.e X over a ssh tunnel. [As I > > understand it, there is a tool to handle remote applications available > > (or in development)] > > This has worked for years, just nobody knew it existed. > > $ waypipe ssh <user>@<host> Yes - that is what I have seen but couldn't remember. > > - ability to control windows using tools such as xdotool, wmctrl, etc. > > - change focus, send mouse clicks and keypresses [I saw something > > recently that seemed to suggest that this can be done using dbus?] > > > > KWin has its own APIs and tools for this, I am unfamiliar with them, > but I do know they exist as part of KWin itself. The articles I see on KWin don't seem to show it as a command-line tool. "dnf info" only says it is a window manager (and maybe my terminology is out-of-date, but I always thought KDE was the window manager). > There is also the package "ydotool" which can help replace xdotool. ydotool only appears to do part of what xdotool does. As a generic example, I do the following today: - identify a running application to gets its PID - use the PID with xdotool to get the list of window IDs - determine which window ID is the "main" window using xprop (this is not always straightforward) - with the proper window ID, use xdotool move the mouse to a window-relative position - use xdotool to send a mouse click, etc. to further interact with the application - i.e. select from menus et.al. Of the above, at a glance ydotool only appears to handle the mouse movement, clicks, etc., and using absolute coordinates (which doesn't help if I don't know where the window is located). So similar to automated testing type of things, only in this case it is day-to-day use (basically adding capability to programs). I thank you for the suggestions anyway! -- _______________________________________________ kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue