Linux – Terminal resizes itself

gnomegtklinux-mintterminalxfce

I've recently installed Linux Mint 12 ("Lisa", i.e. not the KDE or Debian version) on a Zotac Mini-PC (Which has an AMD Video card. I'm not using the proprietary drivers as they don't work very well). Almost immediately after this, I decided to use Xfce 4.8 instead of GNOME so I found a build/install script to grab everything it needs and install it.

Everything seems to work fine except I have just noticed that Terminal will re-size itself when it launches. First it will shrink horizontally until you can just see the caret position in the Terminal window. The height of the window does not change from what it is when it initially opens up.

After you try to change the size of the Terminal window, it will again re-size itself horizontally but shrink vertically as well. Subsequent attempts at changing the window size produce "random" results – sometimes it will start shrinking in both directions, sometimes it won't shrink. I also occasionally see a video stutter, as if the Terminal is trying to stay at the height and width it was at is but is being forced to shrink.

What gives? I suspect it might be an issue with GTK 2.x (which I believe Xfce 4.8 uses) and GNOME 3 which uses GTK 3, but why would these processes be running at the same time if I'm not currently in a GNOME session? I'm no Linux expert by any stretch of imagination…

XTerm doesn't seem to have this issue. The terminal I'm referring to is "Terminal Emulator" run by: "exo-open –launch TerminalEmulator"

Any ideas?

Best Answer

Check in Settings > Preferred Applications, under the utilities tab to see exactly which terminal program is being run by exo-open. I suspect that it's gnome-terminal, for which this is a known bug. The fix landed pretty recently, so maybe it's not in your distribution (even though Mint 12 just came out). Alternately, maybe the fix doesn't completely address the problem in some circumstances.

As a workaround, try switching to XFCE Terminal (a.k.a just Terminal, with a capital T). This has its own set of bugs, but at least not this one.

Related Question