Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I move/resize xfce4-terminal by command line

The problem is that the command echo -ne '\e[3;0;0t' does not re-position my xfce4-terminal and has no apparent affect. man xfce4-terminal and other answers suggest it should.

xfce4-terminal emulates the xterm application developed by the X Consortium. In turn, the xterm application emulates the DEC VT102 terminal and also supports the DEC VT220 escape sequences.

The goal is to write a script that creates a few terminals and sets up my working environment without needing to click and resize my terminals to my comfort.

What does work is echo -ne '\e[8;40;80t' which the causes the terminal to resize correctly. So why not moving the window?

Other information that I am unsure may affect anything:

I have tried other numbers such as the sequence '\e[3;100;100t' but nothing seems to relocate the terminal window.

I am actually running ubuntu and installed and launch with xfce4 after unity started having issues from an update.

xfce4-terminal 0.6.3 (Xfce 4.10)

share|improve this question
xfce4-terminal supports the --geometry option, you can use it like this… – TuKsn Jul 21 '14 at 13:10
@Tuknutx This is a good solution, thank you. – fruse Jul 21 '14 at 13:42
Try wmctrl, can be found in repos. – mreq Sep 18 '14 at 9:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.