Re: Getting and setting window size and position

Jack <[email protected]> Wed, 3 Sep 2025 10:43:11 +0300
Newsgroups gmane.comp.xfce.user
Message-ID <CAH8MQ5x-H+QjwtsfdrC3TnANfXwnOsyRGBCR3OeCiAz-6-Vcdg@mail.gmail.com>
--===============6408136746274924533==
Content-Type: multipart/alternative; boundary="000000000000596bc1063de0c27d"

--000000000000596bc1063de0c27d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I have three monitors running six virtual desktops, all filled with
applications some are tiled and some are floating. I'm currently writing a
script to manage them, but it's making me consider just switching to i3 :)

On Wed, Sep 3, 2025 at 10:29=E2=80=AFAM killermoehre <[email protected]>=
 wrote:

> Am Mittwoch, dem 03.09.2025 um 10:17 +0300 schrieb Jack:
>
> Unfortunately, *built-in commands cannot be used* because after using
> them, the window size can no longer be changed programmatically (ie. from
> the scripts). This is because if you switch to another desktop and then
> return, the window manager no longer correctly remembers the modified
> window sizes. This is precisely why I'm creating my own script for this
> purpose.
>
> A really long time ago I wrote
> https://github.com/killermoehre/window-gridder for this purpose, but
> abondend it, because Xfwm4 hat inbuild what I need and it has problems wi=
th
> client side decorations.
>
> You can use it at a starting point.
>
> But IMHO it sounds like you want more of a tiling WM and not a floating
> one, right? Xfce allows to simply *replace* the current WM with another
> one. I wrote https://wiki.xfce.org/howto/other_window_manager for this.
> _______________________________________________
> Xfce mailing list
> [email protected]
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org
>

--000000000000596bc1063de0c27d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">I have three monitors running six virtual=
 desktops, all filled with applications some are tiled and some are floatin=
g. I&#39;m currently writing a script to manage them, but it&#39;s making m=
e consider just switching to i3 :)</div><br><div class=3D"gmail_quote gmail=
_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Sep 3, 2025=
 at 10:29=E2=80=AFAM killermoehre &lt;<a href=3D"mailto:[email protected]=
t">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><p>Am Mittwoch, dem 03.09.2025 um 10:17 +0300 schrie=
b Jack:</p>
<blockquote type=3D"cite">
<p>Unfortunately, <strong>built-in commands cannot be used</strong> because=
 after using them, the window size can no longer be changed programmaticall=
y (ie. from the scripts). This is because if you switch to another desktop =
and then return, the window manager no longer correctly remembers the modif=
ied window sizes. This is precisely why I&#39;m creating my own script for =
this purpose.</p>
</blockquote>
<p>A really long time ago I wrote <a href=3D"https://github.com/killermoehr=
e/window-gridder" target=3D"_blank">https://github.com/killermoehre/window-=
gridder</a> for this purpose, but abondend it, because Xfwm4 hat inbuild wh=
at I need and it has problems with client side decorations.</p>
<p>You can use it at a starting point.</p>
<p>But IMHO it sounds like you want more of a tiling WM and not a floating =
one, right? Xfce allows to simply <em>replace</em> the current WM with anot=
her one. I wrote <a href=3D"https://wiki.xfce.org/howto/other_window_manage=
r" target=3D"_blank">https://wiki.xfce.org/howto/other_window_manager</a> f=
or this.</p>
_______________________________________________<br>
Xfce mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a><br>
<a href=3D"https://mail.xfce.org/mailman/listinfo/xfce" rel=3D"noreferrer" =
target=3D"_blank">https://mail.xfce.org/mailman/listinfo/xfce</a><br>
<a href=3D"http://www.xfce.org" rel=3D"noreferrer" target=3D"_blank">http:/=
/www.xfce.org</a><br>
</blockquote></div></div>

--000000000000596bc1063de0c27d--

--===============6408136746274924533==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Xfce mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce
http://www.xfce.org

--===============6408136746274924533==--