Quitting apps and Force Quit
What it is
Closing an app's window and quitting the app are different things. Some apps, such as Music and Radio, keep playing after the window is closed. To end an app, use Quit. If an app is stuck and does not answer any key, Force Quit ends it by force. Anything you had not saved in that app may be lost.
How to use it
- Quit: right-click (or press and hold) the app's icon in the Dock and choose Quit.
Ctrl+Qdoes the same. If a program is running in the Terminal, it asks "Running: name — Terminate the program and close the window?". Terminate ends the program and closes the window; Cancel does nothing. - Not responding: when a program in an app leaves typed keys unread for more than 3 seconds, the app is shown as Not responding. The Dock menu's Quit then turns into Force Quit by itself. At any other time, holding
Option(Alt) while opening the menu shows Force Quit too. - The Force Quit window: choose Force Quit… in the bolt menu at the far left, or press
Super+Alt+Esc. It lists the open apps; one that does not answer is tagged Not responding. Pick the app and press the Force Quit button.Escor Cancel just closes the window. - After a force quit, a one-line note in the notifications says what happened, for example that the Terminal was ended by force and unsaved work may be lost.
How it works
NanumOS remembers the number (PID) of every program an app started. Force Quit never looks programs up by name: it ends exactly the programs that app started, by their numbers, and leaves others with the same name alone. Then it closes the app's window without asking.
- Force quit:
gui_app_quit(app, true)collects the live PIDs of the app's jobs withposix_app_pids(app), sends each oneSIGKILL, then closes the window. The Terminal's foreground job is recorded as the Terminal's too (gui_run_owner). - Not responding:
gui_app_unresponsive(app)is true once keys the foreground job has not read (posix_fg_keys_pending) have waited 3 seconds since the first one; it clears as soon as they are read. - Log lines:
GUI forcequit open|row|pick|close,GUI dock force-quit <app> pids=N …,GUI dock kill <PID> ok,GUI forcequit notice …. - The shortcut sheet entry
forcequit(SC:forcequit) namesSuper+Alt+Esc.
NanumOS 0.1.8349 · 2026-11-16