I was working normally and suddenly one program collapsed: it got unresponsive and its window went grey. After that it did appear this message asking what to do: close the program or wait for it to respond.
I selected close the program, but it didn't worked as intended: the whole ubuntu did freeze up and I couldn't do anything.
I realize then that typing Ctrl + Alt + t
I could open the terminal, and it did worked: it opened the terminal. But I didn't know what to do next.
So my question is: What to do from the terminal if a program freezes up? In my case it was nautilus (I was connecting to a remote server, using it as an FTP program) and I ended up rebooting the machine with sudo reboot
.
It sucks. It would have been far better to close the unresponsive program, but how may I do that? And what if I don't know the unresponsive program's name?
FYI, I've read this topic "UI elements become completely unresponsive" and I don't think it's the same case here, because I don't normally have this issue, it's sometwhat uncommon, and the memory is working fine, and the machine is a pretty new one (intel Core i7, 8 Gb ram).