Monday, September 15, 2014

The mysterious shrinking terminal window

Terminator is a nice little tool for managing multiple gterm sessions within a single window.  I find the use of split screens very comfortable.  Terminator allows the creation of layout profiles to automate the setup of a particular tab/split configuration.  These can be selected with the --layout option when launching Terminator.  The problem with this is that at least under my current environment (Mint 14/XFCE), the resultant window spawns and then shrinks down as small as possible.  It's hard to describe, so maybe i should include a graphic. 

Whaaaaaat
I recall having read about this phenomenon elsewhere, though i don't recall if a solution or workaround had been revealed at the time.  Since i was issuing these commands primarily via a long, ugly session recovery script, my first hack-around solution was to use wmctrl to subsequently restore the window geometry.  This was fun to watch, but the better workaround is to just use the gnome geometry options from the start.
terminator --layout="yourlayoutname" --geometry=1280x977 
That was a pretty simple solution to a rather comical problem.

No comments:

Post a Comment