First off to take care of that pesky frozen program!
In a terminal (xterm, gnome-term, aterm, mrxvt...) type in ps -A | grep
ex. ps -A |grep fire (will locate any process id's that are for firefox)
It will give a line similare to the one below
3510 ? 00:00:39 firefox-bin
The first part of this line is the process id , then who owns the process then the amount of time the process has been running and finally the name of the process.
Next we get rid of that pesky frozen program with the kill command. kill
ex. kill 3510 (to kill the frozen firefox)
Run the ps command again to verify that it has indeed been killed. When successful your second ps command won't show up anything, and your browser should have already disappeared from your desktop.
To get more information about a problematic program and what it's doing try executing it from an terminal window. Simply type the name of the command in at the prompt.
ex. drivel
This will display all the messages of what the program is attempting to do and possibly give some insight as to what the problem is to be fixed. (works fantastic for finding broken dependencies and such!) It's much faster for finding easy fixes than searching the system logs, but not as complete. It can also give you a great clue as to what you're looking for in your logs!
Happy *nixing everyone!
You can also type in terminal "killall firefox"
ReplyDeleteIt'll kill all running windows of Firefox.