0

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:

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.

  • 1
    This question probably belongs on meta.askubuntu.com , but I don't think mods unmark an answer as accepted, the OP (original poster) can I believe change their mind and select a better answer for them. (Sorry I have almost no experience asking questions here) – guiverc Apr 21 at 23:57
  • @guiverc, sorry, posted the wrong link about the incorrect marking.. updated.. it is from meta – alchemy Apr 22 at 0:04
  • I hope you don't mind but I feel there's too much background and not enough actual "question" in your question. For example, we don't know your distro, its version, your desktop environment, or the window manager in use. You mention gestures without any specifics. I think your question would benefit from a rewrite as well as from additional information. Don't focus too much on it being a duplicate of another question with a possibly incorrectly accepted answer. That can be litigated in meta 😃 – DK Bose Apr 22 at 1:58
  • Follow-up on the removed answer: I am afraid you are missing the point on what is programmatically needed. "I challenge you claim there is no simple call, because the OS is doing something with the Restore button" - What do you think the button runs? And no, (0) is not the first window, it is the timestamp argument Wnck needs. I am afraid I can't give you what you are looking for. Removing the answer. – Jacob Vlijm Apr 22 at 17:52
  • 1
    Well, I suppose Ill have to ask the mods what to do in this case, if you are closing discussion about it. sheesh – alchemy Apr 22 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.