Can I move focus and swap windows from the command line? #851
-
I (believe I) want to be able to trigger directional activation and movement of windows from a script or command. Is this possible? As a secondary issue I want to get the title of the focused window, but I know I can do that with external tools if necessary. My specific usage: I use Emacs, with its own internal "window" (aka "pane") management. I bind keys to a script that passes the request to Emacs if it's focused but otherwise passes them on to the WM. Also when I hit the edge of Emacs I pass the request out to the WM. I've done this in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
At the moment this is not possible. And unfortunately (as far as I know) Gnome doesn't really provide an easy to use mechanism to do it. I have been experimenting a bit with DBus. See #774 That would allow you to do what you want. But it's still just a proof of concept. |
Beta Was this translation helpful? Give feedback.
-
I think my workaround may be to set up obscure bindings I'll never manually type, and having |
Beta Was this translation helpful? Give feedback.
At the moment this is not possible. And unfortunately (as far as I know) Gnome doesn't really provide an easy to use mechanism to do it.
I have been experimenting a bit with DBus. See #774 That would allow you to do what you want. But it's still just a proof of concept.