Thursday, October 13, 2011

Firefox always hang/stuck after close flash video ( youtube ) in ubuntu

In fact the problem is caused by the flashplugin in firefox that is not working properly.

to solve the problem, you can just kill the flashplugin process, the firefox will work fine again.

if  you to automatically kill the flashplugin process copy my script below and save as

$findpid = `ps aux | grep -i flash`;
@flashpid = split(/ +/,$findpid);
for $pid (@flashpid)

     $killpid[$i] = $pid;
system("kill $killpid[1]");

- then copy the to /bin
- after that make it executable by
#chmod 777 /bin/
- when the firefox hang, you just type then the firefox will be back to normal

No comments:

Post a Comment