Re: Scripting window position

heapifyman heapifyman <[email protected]> Sun, 13 May 2018 15:20:27 +0200
Newsgroups gmane.comp.gnome.general
Message-ID <[email protected]>
Maybe devilspie2 could help: http://www.nongnu.org/devilspie2/
It allows you to position and resize application windows as they are created.


> Am 13.05.2018 um 15:09 schrieb [email protected]:
> 
> Hello,
> 
> Is it possible to modify a window's position from an external program
> such as a python script?
> 
> For example, I would like a script to move my current Firefox window to
> the left bottom corner of the Desktop and have a size of 400x400.
> 
> I'm not sure if this is going in the right direction, but I found the
> GTK library has functions to get and set window positions, but I'm not
> sure how to specify the particular window instance, such as the Firefoxwindow in the example above.
> 
> Any help would be greatly appreciated.
> 
> -Renan C.
> _______________________________________________
> gnome-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-list

_______________________________________________
gnome-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-list
signature.asc (application/pgp-signature, 235 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iF0EARECAB0WIQT0kmISQpaZOTTM9cJ9wBMuD8Y4NgUCWvg7mwAKCRB9wBMuD8Y4
Nn8sAJ9f8/CnBBwybZ4fabhRBrp72Y4dOQCgrc/P3WKe5wsFJh35+mC8FsyBTto=
=Gfe3
-----END PGP SIGNATURE-----