Getting and setting window size and position
killermoehre
killermoehre at gmx.net
Tue Sep 2 11:21:38 CEST 2025
Am Dienstag, dem 02.09.2025 um 09:31 +0300 schrieb Jack:
> What is a reliable method to programmatically get and later set the exact geometry (position and dimensions) of an window under X11 on a Linux Debian XFCE4 system?
>
> I've attempted to use wmctrl, xdotool, and xwininfo without success. The results are inconsistent, or I am potentially misunderstanding their usage. Could you recommend a more straightforward solution OR clarify how to use these tools effectively by giving a simple example how to do it?
Hi,
you you have some example usage? Because `xdotool` can do what you want, probably.
[`devilspie2`](https://www.nongnu.org/devilspie2/) is a deamon doing the settings on windows create in the background.
So, what do you want to actually achieve?
BR
Silvio
More information about the Xfce
mailing list