gnome-terminal is Always 80x24. No global or per-profile setting available.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vte (Ubuntu) |
Invalid
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
It seems that every new gnome-terminal window is fixed at 80x24. The --geometry command line option can be used, e.g. "--geo =100x40" but this only affects the window opened by that invocation of gnome-terminal. Altering the command executed by an icon or menu item to use --geo isn't sufficient since typing Ctrl-Shift-N or selecting the "Open Terminal" menu item results in the new window being 80x24; it doesn't copy the window executing the command. I also understand that gnome programs, including gnome-terminal, don't honour any Xt resources, so they can't be used. I've examined gnome-terminal's settings in gconf-editor and there doesn't seem to be anything to help.
How can I change the default window size for a profile such that it be used for all new windows of that profile type? I suspect this should be a wishlist bug.
In theory, I should be able to do
echo -n '^[[8;40;100t'
to set the terminal to 100x40. xterm supports this and vte's vteapp.c has resize_window() which is called on the appropriate signal but it doesn't work in gnome-terminal. Neither does
echo -n '^[[4;200;200t'
which also works in xterm to set the terminal to 200x200 pixels. Again, vte has code to support this escape sequence.
This is on a standard Ubuntu 7.10, gnome-terminal 2.18.2-0ubuntu1.
As you can't cut and paste those echo(1)s above, here's some printf(1) equivalents.
$ printf '\x1b[8;40;100t'
$ printf '\x1b[4;200;200t'