• Re: Can I maximize a window in Linux?

    From Nicolas Robert@21:1/5 to All on Mon Oct 3 10:52:51 2022
    Le lundi 3 octobre 2022 à 19:24:06 UTC+2, Luc a écrit :
    Can I maximize a window in Linux?

    I am on Linux and wm state $::w zoomed doesn't work.

    There really is no way to maximize an application in Linux, is there?

    TIA

    --
    Luc


    try : wm attributes $::w -zoomed 1

    Nicolas

    Ps: I don’t have Linux to test

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luc@21:1/5 to Nicolas Robert on Mon Oct 3 15:05:53 2022
    Oh, yes. That works. That's a good surprise.

    Merci beaucoup!

    --
    Luc

    **************************
    On Mon, 3 Oct 2022 10:52:51 -0700 (PDT), Nicolas Robert wrote:

    Le lundi 3 octobre 2022 à 19:24:06 UTC+2, Luc a écrit :
    Can I maximize a window in Linux?

    I am on Linux and wm state $::w zoomed doesn't work.

    There really is no way to maximize an application in Linux, is
    there?

    TIA

    --
    Luc


    try : wm attributes $::w -zoomed 1

    Nicolas

    Ps: I don’t have Linux to test

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luc@21:1/5 to All on Mon Oct 3 14:24:01 2022
    Can I maximize a window in Linux?

    I am on Linux and wm state $::w zoomed doesn't work.

    There really is no way to maximize an application in Linux, is there?

    TIA

    --
    Luc


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Heller@21:1/5 to [email protected] on Mon Oct 3 18:15:45 2022
    At Mon, 3 Oct 2022 14:24:01 -0300 Luc <[email protected]> wrote:


    Can I maximize a window in Linux?

    I am on Linux and wm state $::w zoomed doesn't work.

    from man wm, under wm state:

    "... or (Windows and Mac OS X only) zoomed"


    There really is no way to maximize an application in Linux, is there?


    proc zoom {w} {
    set maxwidth [winfo screenwidth $w]
    set maxheight [winfo screenheight $w]
    wm geometry $w [format {=%dx%d+0+0} $maxwidth $maxheight]
    update idle
    }


    TIA


    --
    Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
    Deepwoods Software -- Custom Software Services
    http://www.deepsoft.com/ -- Linux Administration Services
    [email protected] -- Webhosting Services

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)