Terminal taking up 1/3 screen

Karl Auer kauer at biplane.com.au
Sun Jul 24 04:05:53 UTC 2016


On Sat, 2016-07-23 at 23:37 -0400, Scott Blair wrote:
> I'm using Ubuntu 16.04. I was , as usual, fat-fingering the keyboard,
> and now on monitor 1 I have a terminal open that takes up the top 
> third of my screen. I tried exit and doesn't go away. Any ideas?

Do you still have control inside the terminal? That is, you can issue
commands like "ls" in that terminal window and they work?

If you DO still have a working terminal, try "exit" (or CTL-D) a few
more times, just in case you have nested shells. You could also click
the window-close widget at top left of the window - that will close an
non-nested shell, and give you a warning if it's nested or contains a
running command.

If those don't work OR if the terminal is unresponsive, run this
command in a different terminal

   ps ax | grep bash

... and then kill the terminal process thusly:

   kill -TERM pid

... where "pid" is replaced by the particular process ID oc course. If
that doesn't work, get a bit more aggressive:

   kill -KILL pid

If you don't know which particular instance is your misbehaving
terminal, or you don't care about any other terminals you may have
open, you could also just do this:

   killall -TERM bash

If that doesn't work, try this:

  killall -KILL bash

And if that doesn't work, reboot :-)

Regards, K.

PS: If you have any window-spread mechanisms, use them to see if there
is a modal dialogue preventing you from operating the terminal
normally. Alternatively, drag all windows to the bottom of the screen
to see if that exposes a dialogue waiting for input. However, if you
were able to input "exit" I would guess there isn't.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4







More information about the ubuntu-users mailing list