Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Center terminal on screen?
- X-seq: zsh-users 24141
- From: Julien Nicoulaud <julien.nicoulaud@xxxxxxxxx>
- To: Alwyn Kik <alwyn@xxxxxxxxxxx>
- Subject: Re: Center terminal on screen?
- Date: Fri, 9 Aug 2019 22:36:50 +0200
- Cc: Mailing-list zsh-users <zsh-users@xxxxxxx>
- 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==
- In-reply-to: <f5902d41-f477-d1fc-409b-370aa210d9fd@proteon.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1564874612.1163.0@gmail.com> <f5902d41-f477-d1fc-409b-370aa210d9fd@proteon.com>
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ût 2019 à 09:48, Alwyn Kik <alwyn@xxxxxxxxxxx> a écrit :
> 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@xxxxxxxxx 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
>
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author