What’s the best way to close a frozen application on Linux Mint?

0
32
Asked By MellowPine42 On

I'm new to Linux Mint and recently had a problem while installing something through Bottles. A pop-up appeared over a game and became unresponsive. I couldn't switch away with Alt+Tab, although the rest of the computer was still working and I could move around in the game.

I found Ctrl+Alt+F2, which switched me to a full-screen text terminal, and Ctrl+Alt+F7 returned me to the desktop. However, the game had crashed by then while Discord remained connected. What's the safest and easiest way to close a frozen window or application next time?

4 Answers

Answered By BrightCedar7 On

If the desktop is still responsive, open System Monitor and find the frozen application, then end its process. You can also use xkill: launch it from a terminal with Ctrl+Alt+T, then click the unresponsive window. Be careful, because clicking the wrong window will terminate that application.

MellowPine42 -

System Monitor is useful to know about. I’ll also look into xkill, since being able to click the problem window sounds convenient.

Answered By QuietMaple19 On

Switching to a text terminal with Ctrl+Alt+F1 through F6 is a good fallback when the graphical desktop is stuck. Log in and run `top`, `htop`, or `btop` to locate and terminate the troublesome process. Return to the graphical session with the appropriate Alt+F key; F7 is common, but the exact key depends on the setup.

SolarMoth5 -

This is essentially what I discovered with Ctrl+Alt+F2. Using htop or btop should make finding the crashed program easier than guessing its name.

Answered By NimbleOrbit_8 On

From a terminal, you can identify the program and stop it manually. Commands such as `pidof program-name` or `ps aux | grep program-name` can help find its process ID. Try `kill PID` first, since that gives the application a chance to exit cleanly; use `kill -9 PID` only if it refuses to stop. `killall program-name` is another option, but it will close every instance with that name.

Answered By CopperViolet3 On

On Cinnamon, Alt+F2 followed by `r` and Enter can restart the desktop shell without closing your applications. That’s useful when Cinnamon itself is misbehaving, but it won’t necessarily fix an individual game or program that has frozen. Ctrl+Alt+Backspace may restart the graphical session on some systems, though it can close the whole desktop session and is often disabled, so it shouldn’t be the first choice.

MellowPine42 -

Restarting Cinnamon sounds helpful if the desktop is the part that freezes. I’ll try the less disruptive options first before using anything that might end the whole session.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.