Fixing keyboard issues in VMWare 2.0 on Linux

June 7, 2009

I managed to sort this out originally, but never put it up on my blog. So here it is!

It’s a pretty simple thing to fix. More info here.

Simply add this line to /etc/vmware/config

xkeymap.nokeycodeMap = true

RealPlayer on Ubuntu - Take 2

OK, I’ve found the problem, but not necessarily the solution.

For someone looking for a nice, plain English way of installing Real Player, looky-here: http://elearning.ibc.ac.th/node/36

While poking around in Firefox, I’ve needed to change a value in about:config. When you open this, you’ll get a scary error message. Just open it, search for plugin.expose_full_path, and set to TRUE (double-click).

I’ve got this working, after tying myself in knots, by following the instructions above to the letter. The three lines at the bottom were what fixed it for me.

So, I’m going to pop them here as well. I normally don’t do this, but I definitely don’t want to lose this info!

The following steps show how to install Real Player 11 and Mozilla Plugin for Firefox 3.0 browsers running on Hardy Heron.

Download Real Player 11 from:
www.real.com/linux

Open a terminal and change to the directory where the file was downloaded. Grant execute permissions and run the setup using the following commands:

chmod 770 RealPlayer11GOLD.bin
sudo ./RealPlayer11GOLD.bin

Use the following default installation directory during the installation:
/opt/real/RealPlayer

The installer will copy the files and create menu shortcuts. Then run the following commands.
cd /usr/lib/firefox-addons/plugins
sudo ln -s /opt/real/RealPlayer/mozilla/nphelix.xpt nphelix.xpt
sudo ln -s /opt/real/RealPlayer/mozilla/nphelix.so nphelix.so
sudo mv /usr/lib/totem/gstreamer/libtotem-complex-plugin.so ~/.

Open Firefox and type about:plugins in the address bar. Scroll down and look for the following entry.

Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
File name: /opt/real/RealPlayer/mozilla/nphelix.so
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.4005 built
with gcc 3.4.3 on Feb 25 2008

If found, your Real Plugin is installed properly!

sudo: unable to resolve host blahblah

This is something I’ve come across before, fixed, and now it’s happened again after the rebuild.  What happens is when you try to become su, you get the message:

sudo: unable to resolve host {hostname}

This is an easy fix though:

1. open /etc/hosts in your favorite text editor.  You’ll need to do this as root, so try:

gedit /etc/hosts

2. find the line that says:

127.0.1.1   {hostname}.{domain.name}
this will be acccording to your local domain setup etc.  It might be
127.0.1.1   mypc.mylocaldomain.com

3. Remove the domain name.  eg, change mypc.mylocaldomain.com to mypc

4. save the file, and restart networking:
sudo /etc/init.d/networking restart

 

And you’re done!

 

Real Player on Ubuntu

I need RealPlayer so I can listen to BBC Radio 1 streaming.
I was hoping the Medibuntu repos would mean I don’t have to install RealPlayer. I just don’t like Real, never have…
Basically, you’re stuck with Real’s package from what I can see.
To install, I’ve selected the .deb package from here: http://www.real.com/linux , downloaded and opened it with the default in Firefix (GDebi).&nFollow the prompts, let it do it’s stuff, and you’re done.

(update) - The above all sounds good in theory, only it didn’t work.
I’m going to do the .bin installer, found these instructions http://onlyubuntu.blogspot.com/2008/05/how-to-install-realplayer-on-ubuntu.html

1. Download the player from http://www.real.com/linux/ (.bin version)
2. Open a terminal as root
3. chmod a+x RealPlayer11GOLD.bin (to make executable)
4. Execute with ./RealPlayer11GOLD.bin

(Another Update)
- none of this is working at the moment - BBC Radio 1 still keeps saying I don’t have it installed, and I can’t see it in about:plugins in Firefox. I’ll make another post once I’ve figured out something that works!

Medibuntu Repository

 

From the site: http://www.medibuntu.org/

 

Medibuntu (Multimedia, Entertainment & Distractions In Ubuntu) is a repository of packages that cannot be included into the Ubuntu distribution for legal reasons (copyright, license, patent, etc).

Some of these packages include the libdvdcss package from VideoLAN and the external binary codecs package (commonly known as w32codecs) used by MPlayer and xine.

I actually haven’t used this yet, so I’m going to give it a go for stuff like RealPlayer codecs and stuff.

To add it to your repo list:

1. Add this line to /etc/apt/sources.list
deb http://packages.medibuntu.org/ hardy free non-free #Medibuntu - Ubuntu 8.04 LTS “hardy heron”

2. Then run this command in a terminal:

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

I want to install the w32codecs package, which from what I can see installs a lot of the proprietary stuff you tend to need (quicktime and the like).  To do this, once you have the repo’s installed, you run:

sudo apt-get install w32codecs