This is not a duplicate of: Command for restoring minimized windows. (The answer is incorrect on that question and I don't know how to contact the mods to have it unmarked as accepted. I did find this discussion on what to do and have commented on the OP's question (https://meta.stackoverflow.com/questions/343324/how-to-flag-wrong-answers)).
Heres what Ive found out so far:
- In the accepted answer to the question above, using xdotool, the link, to EasyStroke commands, provided doesnt have a Restore function listed.
- In the script in this answer (https://askubuntu.com/a/631467/795299) wmctrl doesnt use a restore function none of the other answers from that question (Saving and restoring window positions) use and kind of restore function.
- There is an xdotool use (https://unix.stackexchange.com/questions/287363/why-xdotool-is-not-clicking-when-restoring-position) to use the mouse to click the restore button. This means it has to exist in the internals. Anyone know where that is?
Does anyone know if there is a command to restore a window, if not where is the code for the window button?
EDIT1: my specific question really is to find a shell command to use in a keyboard shortcut that I can map to a mouse gesture, to be the opposite of a maximize gesture. It would also be helpful to know if there is a command for 'restore from minimized' because there is one for Windows, without using a user script to cycle through the z order of windows. This could help to find the command for the Restore button.