Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

http://invisible-island.net/xterm/ctlseqs/ctlseqs.html

http://rtfm.etla.org/xterm/ctlseq.html

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 unix.stackexchange.com/questions/48984/… –  TuKsn Jul 21 at 13:10
    
@Tuknutx This is a good solution, thank you. –  fruse Jul 21 at 13:42
    
Try wmctrl, can be found in repos. –  mreq Sep 18 at 9:29

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.