My Dominant Hemisphere

The Official Weblog of 'The Basilic Insula'

Posts Tagged ‘Howto

Tech bytes: Konqueror and Java – Opera on Kubuntu 8.04

with one comment

Source, Author and License

Today’s tech bytes:

Some very nice people over at Kubuntu’s tech support IRC channel brought my attention to the fact that Kubuntu 8.04 doesn’t have an LTS version. Apparently, both the KDE 3.5.9 and KDE4 versions have not been given that status as KDE development has been in flux lately. So people, all those Powered by Kubuntu 8.04 LTS post-scripts in my previous posts stand corrected as …Kubuntu 8.04 (KDE 3.5.9).

Ever found the fact that from a fresh install of Kubuntu 8.04, Konqueror’s java behavior is a tad odd? No matter what you do, when you enable Tools>HTML Settings>Java, the java setting never sticks. It stays on the website you’re visiting but that’s it. As soon as you go to some other website, that java setting resets back to disabled. Furthermore, when you restart Konqueror, it’s the same deal again.

One nice person over at Kubuntu’s IRC channel was kind enough to share his solution. Goto Settings>Configure Konqueror>Java & Javascript>Java Runtime Settings. Uncheck/disable the option ‘Use Security Manager’. Click ‘Apply’>’OK’. Now enable java under Tools>HTML Settings>Java. Restart Konqueror. Yay! It sticks! Now, go back to Settings>Configure Konqueror>Java & Javascript>Java Runtime Settings. Check/enable the option ‘Use Security Manager’. Click ‘Apply’>’OK’. It’s a little weird but doing so doesn’t cause the funny java behavior to turn back on again and having any sort of security on a web browser is good 🙂 .

Tried the latest Opera 9.5 Beta 2/weekly snapshot on Kubuntu/Ubuntu? If you live outside of the US, there’s a good chance that your system locale settings are set to use something other than English US by default. It so happens that this causes Opera 9.5b2 to crash with a segmentation fault. In order to enjoy Opera 9.5b2, make sure you have Sun Java set as the default Java version (use this howto) and set your locale to English US (en_US). On Kubuntu 8.04 (KDE 3.5.9) do the following as discussed here :-

  1. Goto System Settings>Regional & Language>Country/Region & Language
  2. Click on the ‘Locale’ tab
  3. Click on ‘Select System Language’ and choose ‘English US’
  4. Click ‘Apply’
  5. Restart KDE (log out and then log in) for settings to take effect

I have found the flash support to be a little flaky, at least with Opera 9.5b2. Opera, for me, often suffers from this grey box phenomenon. One moment a flash video works perfectly, other times I’d find grey boxes with audio but no sound. This becomes particularly the case when I’d have two or more tabs with flash video open in them and keep switching between them.

Quick user tip: To set your middle-click options, press the Shift key and then middle-click.

Is it just me or does Firefox 3 RC1 seem faster on Windows XP than on Ubuntu/Linux? For me, FF3RC1 on Kubuntu 8.04 still seems to take a lot more memory than on Windows. I guess their Linux development is slow or something.

Google announced their Google Health service recently. Privacy concerns abound.

That’s it for today folks. See ya!

Copyright © 2006 – 2008 Firas MR. All rights reserved.

Written by Firas MR

May 25, 2008 at 1:21 pm

Howto – Play Embedded Real Player Media in Konqueror Using KMplayer

with 3 comments

[Caption: 1st spot! Yay!]

Hi! Getting the plugin that comes with RealPlayer 11 Gold to work with Konqueror 3.5.9 is downright painful.

I figured out a way to make KMplayer work with Konqueror to view RealPlayer files. KMPlayer is nifty in that it can use multiple backend engines – not to mention xine and mplayer. This howto works for Kubuntu 8.04 (KDE 3.5.9).

Let’s get on with the howto:-

  • Download and install Real Player 11 Gold for Linux from here. Follow the instructions in this howto to do so.
  • Next install MPlayer and KMplayer from the repositories. Make sure you have all of the repositories enabled before doing so. Once you’ve done that, In a terminal just do the following:

    sudo apt-get install mplayer kmplayer

  • Now grab MPlayer’s binary codecs from here. The download is actually a single zipped file. Use Ark to extract it.
  • We need to copy all of the codecs to /usr/lib/codecs . Next we need to copy/overwrite some of these codecs with those that came with RealPlayer 11 Gold. RealPlayer’s codecs reside in the /path-to-realplayer-installation/codecs folder. Copy them into the /usr/lib/codecs folder. You can accomplish all of this graphically for this process to be more intuitive. For all of this, Konqueror needs to be run with sudo privileges. So in a terminal do:

    sudo konqueror

    Goto /usr/lib and create two folders under /usr/lib – codecs and win32. Now goto /path-to-realplayer-installation/codecs and copy all of the files to /usr/lib/codecs . Konqueror will prompt you that you’re attempting to overwrite. Have no fear! Proceed 🙂 !

  • Next we need to create symbolic links (shortcuts) to all of the files you just copied to /usr/lib/codecs in /usr/lib/win32 . To do so we do the following in a terminal (although you could try doing it graphically):

    cd /usr/lib/win32

    sudo ln -s /usr/lib/codecs/* .

    Don’t forget that dot! It’s not a typo 🙂 .

  • Now we need to configure the xine engine so that it knows where to look for the codecs. Open up Kaffeine. Goto Settings > Xine Engine Parameters > Decoders and enter either /usr/lib/codecs or /usr/lib/win32 in both fields. Click Apply and then OK. We have configured xine.
  • Now we need to configure Konqueror to use KMplayer to play Real Player files. Goto Settings > Configure Konqueror > File Associations. In the list under Known Types click on audio and select vdn.rn-realaudio. Click on the tab called Embedding. Click on Add and select Embedded player for KDE (kmplayer_part). You might be having other selections already in your Services Preference Order. So remember to place Embedded player for KDE at the very top. Repeat the whole thing with vdn.rn-realaudio, x-pn-realaudio and x-pn-realaudio-plugin all of which also lie under audio and for vdn.rn-realvideo which comes under video. Do the same for vdn.rn-realmedia, vdn.rn-realmedia-secure, vdn.rn-realmedia-vbr, vdn.rn-realplay, vdn.rn.realsystem-rmj, vdn.rn.realsystem-rmx under applications. Konqueror is now configured to use KMPlayer to play embedded Real Player media. Click on Apply and then OK. Restart Konqueror.
  • Test it all out! When an embedded media opens up, an embedded instance of KMplayer should start. You can then specify either xine or mplayer as the engine KMPlayer should use for the media. I’ve found mplayer to be more reliable.

Note that this workaround isn’t perfect and your mileage may vary. You’ll do alright for the most part though 🙂 . Readers are welcome to send in their comments! Cheereo 🙂 .

Readability grades for this post:-

Kincaid: 4.9
ARI: 5.2
Coleman-Liau: 11.0
Flesch Index: 78.7/100
Fog Index: 7.4
Lix: 29.6 = below school year 5
SMOG-Grading: 8.0

Powered by Kubuntu 8.04

Copyright © 2006 – 2008 Firas MR. All rights reserved.

Written by Firas MR

April 29, 2008 at 3:09 pm