Open Jopp-gh opened 1 month ago
I'm confused as to what information you're trying to get. Can you give an example of what you're trying to get? Like maybe a screenshot of a folder, the name of it, and what you'd like to see xdotool extract for you.
usually we open applications to display some sort of content, like when you open a simple txt file you'll see the file content of that txt file, rendered in a window. Xdotool is able to extract "only" window titles, but not file paths.
I would need a option to extract file paths from open windows, as paths are more robust than window titles.
If I'm understanding you right, you want to know, like, what files that Nautilus is showing, or what file is open in a text editor? If that's the case, xdotool isn't built for that. You might have some luck with xprop
on a case-by-case basis, if I'm understanding you right. If you can't see the info in xprop
, possibly use a dbus explorer to see if there's an interface that shows what you want.
Thanks for your infos. Alright, so we can close this issue.
I checked:
I'm still at the starting point and cannot figure out how to extract file or folder paths from Nemo/Nautilus windows. (Ubuntu flavors, file navigation)
Parsing window names isn't the max and pretty fragile, even if you get a lot of info. Paths are much more robust and unique.
Maybe I did oversee something but I guess the feature I'm looking for doesn't exist in xdotool. If so, would it be possible to implement this feature ?