Categories
Tech

Ubuntu 9.10 (Karmic Koala) Java, Flash on Chrome + “weird sound” fix

Last night I decided to backup my harddrive and just reinstall the OS.

There were some bugs and I found the fixes, so I installed a clean copy and applied them 🙂
I also wanted to get rid of my windows partition (Windows 7) and all the ntfs partitions and partition table problems and GRUB problems -> I just don’t need that anymore. ^_^
So after the backup of my main partition I inserted the Ubuntu 9.10 and recreated the partition table 🙂
The bugs to be fixed were:
  • Google Chrome (google-chrome-beta) – Java and Adobe Flash Player problems
  • Weird sound from the sound card ( Strange sound from my laptop speakers before some real sound comes out )
Fixes:
  • Java in Chrome :
To make that work we have to copy one .so file from out JRE to the Chrome folder. I found the following line of code here.
$ sudo ln -s /opt/java/jdk1.6.0_18/jre/lib/i386/libnpjp2.so /opt/google/chrome/plugins/libnpjp2.so
Some of the directories may differ in your installation. But I hope this helps to get the idea how to get the file and where to paste it.
At this thread there is also an explanation how to make Java work in Firefox 3.6 (if it doesn’t)
  • Adobe Flash Player in Chrome ( and I think in whatever browser it will work better)
I had problems with the Flash Player – It used to not show video (youtube i.e.) only audio. and it used to freeze all the time. Especially when using it with HD Quality and on fullscreen. This bug was both on Firefox 3.6 and Google Chrome (not Chromium).
Before, in previous installations I installed ubuntu-restricted-extras + flashplugin-installer . I don’t know I did that, I just thought that it wont install automatically and I need that package as well. Still, I’m not sure if the problem was because I installed both of them, but after the reinstall last night I installed only ubuntu-restricted-extras and adobe flash player was installed automatically.
I did that because I didn’t want to install flash player yet and check if I can use some other kind of flash player alternative like gnash for example. After all I ended up with working flash and no trouble at all 🙂
  • Weird sound from speakers before normal sound:
I fixed the problem with editing one alsa-base.conf file. I found that thread here and used the instructions.
What I did was:
sudo gedit /etc/modprobe.d/alsa-base.conf

comment the last row and add a new row with enable_msi=1

Looks like this:
# Power down HDA controllers after 10 idle seconds
#options snd-hda-intel power_save=10 power_save_controller=N
options snd-hda-intel enable_msi=1


Leave a Reply

Your email address will not be published. Required fields are marked *

78 + = 79