Re: Getting and setting window size and position

killermoehre <[email protected]> Tue, 02 Sep 2025 11:21:38 +0200
Newsgroups gmane.comp.xfce.user
Message-ID <[email protected]>
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
_______________________________________________
Xfce mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce
http://www.xfce.org