09/20/2011, 01:48 AM
Okay, so I'm playing with the new Hulu 'fix', thinking there's GOT to be a way to get the system to reload the libWebKitLuna.so after it's been modified (ncinerate's method) or switched (my method) so that a reboot isn't necessary. So, I go hunting for it.
This is how to do it....
This is an advanced method, so you need to be familiar with using the Unix/Linux command line, 'ps' and 'kill'.
Start a terminal (with the Touchpad, you'll have to use Xecutah/Xserver/Xterm). Look for the BrowserServer process by sending it this command:
ps ax | grep BrowserServer
Send it a HUP. Look at the process number (pid) and send it a HUP signal to get it to restart/reload its libs:
kill -HUP <pid>
If you do another 'ps', you'll see that a new one starts and the old one dies(it gets a new PID). If you already have a browser window open, you'll see that it immediately does a refresh.
Now you don't have to reboot when you switch User Agents!!!!
I added this to my script when I change user agents.