From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 0bbd86cf for ; Fri, 9 Aug 2019 20:38:16 +0000 (UTC) Received: (qmail 21135 invoked by alias); 9 Aug 2019 20:38:05 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24141 Received: (qmail 19175 invoked by uid 1010); 9 Aug 2019 20:38:05 -0000 X-Qmail-Scanner-Diagnostics: from mail-ot1-f50.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25531. spamassassin: 3.4.2. Clear:RC:0(209.85.210.50):SA:0(-2.0/5.0):. Processed in 4.141572 secs); 09 Aug 2019 20:38:05 -0000 X-Envelope-From: julien.nicoulaud@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.210.50 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y/10GxeMKYfkk+3g44t9kRUfb1jMca6HSo9oj3sRiZY=; b=FVySq4Tu1avMeEBi4Wjq92XVLjTwaxLFGjeloCSo2jd8sYtM/XSRcnt06azTIAgQNd Fn+Mfj51mXgdkB/ApbMfZE0WDqayU6zLSj/+lZrNLzIIqVgzTSIlBVuCbycqCxPgUMpH CodMyYRX8ric9p206XlErpqvUkyoFqZUUFQTuKn/ul2Ejdbr8iqX55ywwU//yWZ240Cc nvzURFOM25mfCvro97dlP5zxep1LCMBcHcR0XmVtWhCySwdzHYeBBA5m4r3KSYmb8MyC DpR9MpadN2XPyxI2fiBqqEkPjrwTq0NPGKW0lWRGOWGoYgM6Ye5Mc4g0qcuiIVDzMiaA RBvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y/10GxeMKYfkk+3g44t9kRUfb1jMca6HSo9oj3sRiZY=; b=kd402K47GKVGjhrnJAAbU53x9VT18yYsEdlCY6X9159LgSU0mZnIMdOT0Q45BOHF5L LFTZvvUbj6neCWuMOAEOg6z4jpN51QVVB40gr90gqoGY3x97Jqow1dEGpWdgO03cFzIb vvNDGAqW/S6TjskCXv2jiCtXaX6FqmnQlx/3n4SYK2ZsIgzi1hr7guawV1nGacpM1RQd t37i3gEuPciLRuJAxDytpyWwPPiR/UKrfnXRluVulb/AN7SEsQwaNjAn85LJiE4jhW6J Jne+Qd3JsFYhpEPRGjcLpcCPqKGPxZXVxzEOWnNiCvfADWREt2TnjIbYG2vAepT1TRm0 440A== X-Gm-Message-State: APjAAAVC+2VbEfOIx7vYXikpTU3oCKwhdw2M/8ho/+TM1XqPH7HTtXDc fej+NtoQnTKWZ2LCOrxNNGxUSBHg9FW5jANS+Ik= X-Google-Smtp-Source: APXvYqyjeHSs61jmPdEw2yjCYOUWXaeCALEC4myy0eRjaRDRbgvSViACkBQ1Nv59K5ek7i8iyJ9Bmla8l8WX9sMp99o= X-Received: by 2002:a6b:fb0f:: with SMTP id h15mr6286494iog.266.1565383047068; Fri, 09 Aug 2019 13:37:27 -0700 (PDT) MIME-Version: 1.0 References: <1564874612.1163.0@gmail.com> In-Reply-To: From: Julien Nicoulaud Date: Fri, 9 Aug 2019 22:36:50 +0200 Message-ID: Subject: Re: Center terminal on screen? To: Alwyn Kik Cc: Mailing-list zsh-users Content-Type: multipart/alternative; boundary="000000000000754197058fb52441" --000000000000754197058fb52441 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Positioning windows is the job of the window manager, not the shell or terminal emulator. You should be able to do it using wmctrl if your window manager implements the EWMH API, which Xfce does: https://linux.die.net/man/1/wmctrl See this answer for examples: https://askubuntu.com/a/104190/898 Le lun. 5 ao=C3=BBt 2019 =C3=A0 09:48, Alwyn Kik a =C3= =A9crit : > Fairly sure that's dependent on the terminal emulator you're using, not > the shell you use in it. > > In your case, you would need to look up the possibility to do this with > xfce4-terminal or install xterm and use that instead. > > On 8/4/19 1:23 AM, johnywhy@gmail.com wrote: > > hi, > > > > is there a command to center the terminal window on the screen? On > > arch linux / xfce, with zsh. > > > > This tip offers an escape sequence for positioning the window on > > upper-left, but changing the values has no effect. > > printf '\e[3;0;0t' > > < > https://apple.stackexchange.com/questions/33736/can-a-terminal-window-be-= resized-with-a-terminal-command/47841#47841 > > > > > > > > Thx! > > > > > Cheers, > > Alwyn > > --000000000000754197058fb52441--