Re: Getting and setting window size and position
killermoehre <[email protected]> Wed, 03 Sep 2025 09:28:45 +0200
| Newsgroups | gmane.comp.xfce.user |
|---|---|
| Message-ID | <[email protected]> |
--===============4702019878413082833== Content-Type: multipart/alternative; boundary="=-1rtntEznPGUieCJmEkTF" --=-1rtntEznPGUieCJmEkTF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Mittwoch, dem 03.09.2025 um 10:17 +0300 schrieb Jack: > Unfortunately, **built-in commands cannot be used** because after using t= hem, the window size can no longer be changed programmatically (ie. from th= e scripts). This is because if you switch to another desktop and then retur= n, the window manager no longer correctly remembers the modified window siz= es. 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-gridd= er for this purpose, but abondend it, because Xfwm4 hat inbuild what I need= and it has problems with 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. --=-1rtntEznPGUieCJmEkTF Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <p>Am Mittwoch, dem 03.09.2025 um 10:17 +0300 schrieb 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'm creating my own script for this= purpose.</p> </blockquote> <p>A really long time ago I wrote https://github.com/killermoehre/window-gr= idder for this purpose, but abondend it, because Xfwm4 hat inbuild what I n= eed 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 https://wiki.xfce.org/howto/other_window_manager for this.= </p> --=-1rtntEznPGUieCJmEkTF-- --===============4702019878413082833== 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 --===============4702019878413082833==--