Always open a window at the same position in GNOME
For something I'm working on, it would be incredibly useful to open a program (qemu, specifically), and have the window by default reside at a set position (in this instance, on the second monitor in the upper left corner). I can do this with gnome-terminal, but that seems to be the only application to have a feature like this this.
Is it possible to do this independent of the application itself, so that it would work with any application? (GNOME 3 on Fedora 15) |
Yes, you can do this with the wmctrl command in a script. You can install wmctrl from the standard repositories (yum install wmctrl). For example:
Code:
#!/bin/bash Update: If you have trouble finding wmctrl, you can get the latest Fedora 15 version from the Fedora build system (Koji) here. |
All times are GMT -5. The time now is 03:06 PM. |