Friday, August 21, 2009

Install Flash Plug-in for Google Chrome on Ubuntu

How to Enable Flash Support in Google Chrome in Ubuntu

Locate the flash plug-in:
$ locate libflashplayer.so
/usr/lib/flashplugin-installer/libflashplayer.so

Copy it to Chrome's plug-in foler:
$ sudo mkdir /opt/google/chrome/plugins
$ sudo cp /usr/lib/flashplugin-installer/libflashplayer.so /opt/google/chrome/plugins

Right click the Applications menu and choose "Edit Menus".
Open "Properties" for Google Chrome, and add "--enable-plugins" into the Command field:
/opt/google/chrome/google-chrome --enable-plugins %U

Monday, August 10, 2009

VPNC setting problem on Ubuntu 9.04

I upgraded to Ubuntu 9.04. VPNC on Network Manager didn't work with an error message "VPN Connection failed because there were no valid VPN secrets." After searching the net, I found this is a bug reported in https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/360818
Patrick Healy's patch solved this problem:

--- nm-vpnc-service.conf.fixed 2009-04-18 17:56:45.000000000 -0500
+++ nm-vpnc-service.conf 2009-04-18 17:57:37.000000000 -0500
@@ -6,6 +6,10 @@
<allow own="org.freedesktop.NetworkManager.vpnc">
<allow send_destination="org.freedesktop.NetworkManager.vpnc">
</policy>
+ <policy user="at_console">
+ <allow own="org.freedesktop.NetworkManager.vpnc">
+ <allow send_destination="org.freedesktop.NetworkManager.vpnc">
+ </policy>
<policy context="default">
<deny own="org.freedesktop.NetworkManager.vpnc">
<deny send_destination="org.freedesktop.NetworkManager.vpnc">