Basically the solution of this requirement is to add the “geometry” paramter to the “gnome-terminal” command line, but here I get a good way to know what’s the “geometry” parameter value you want from here.
First open a gnome-terminal window, resize the window and change the position as you like. When you think the size and position is OK, run the following command in the window:
1 | xwininfo -id $(xprop -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}') |
See the final line of the output “-geometry 118x33+247-43”? Then what you need to do is to modify your shortcut of gnome-terminal by using this information:
1 | gnome-terminal --geometry=118x33+247-43 |
That’s it.
PS@20130822:
For the locked shortcut on the Unity dock of Ubuntu 12.04, if you want it have customized initial size, you can do it this way:
Use “alacarte” to open the “gnome-terminal” shortcut and modify the command as above and save;
Uncheck “Lock to Launcher” option of the shortcut on the dock;
Start a “gnome-terminal” window and check “Lock to Launcher”;
Done.