When I launch an application / a game and while I'm using it, it hangs up and I can't quit to return to desktop by Alt+Tab or something like this.
I want to return to desktop, open a terminal and kill the app / game.
Do you have any solution?
When I launch an application / a game and while I'm using it, it hangs up and I can't quit to return to desktop by Alt+Tab or something like this.
I want to return to desktop, open a terminal and kill the app / game.
Do you have any solution?
You can open a TTY by pressing Ctrl+Alt+F1.
It'll look like a terminal, just login as usual with your login name and password.
Then two options to stop the game:
ps -aef
to identify the process id of your game (it should be one of the last entries) and kill it with kill -9 <pid>
pkill <game name>
Once the game process is killed, you can reopen the Desktop session by pressing Ctrl+Alt+F7. (Note that opening a TTY did not stop or close your active sesssion)
You can use the Ubuntu "Desktop" shortcut. Press Ctrl+Super+d on your keyboard.
kill -15
instead – c0rp Oct 14 '14 at 10:55