Disable Middle Click to Close in XFCE4-Terminal

XFCE-4.4-1 desktop showing an open terminal window

If you’ve used XFCE4 Terminal as a terminal emulator on the desktop you may have noticed an odd behavior. Every so often a tab will inexplicably close while you’re using it or floating the mouse pointer by it on the desktop.

As it turns out this is a middle mouse button click to close. In my case it happens when I’m using the track pad. Or not using the track pad, as the case may be, and instead nailing it with my palms while typing.

At one point the setting was stored in ~/.config/Terminal/terminalrc and on some older installations this may still be the case. On the current (through updates) Ubuntu install that I’m running it’s located in ~/.config/xfce4/terminal/terminalrc and in either case the option in question is MiscTabCloseMiddleClick=TRUE which needs to be changed to MiscTabCloseMiddleClick=FALSE

Hopefully this will save you from the headache of having your work or connection unexpectedly disappear!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

Time limit is exhausted. Please reload CAPTCHA.

Lost Password