Monthly Archives: June 2013

Javs plugin for firefox on Linux 64-bit

Install

The instructions below are for installing version Java 7 Update 7 (7u25). If you are installing another version, make sure you change the version number appropriately when you type the commands at the terminal.

Example: For Java 6u35 replace 7u25 with 6u35. Note that, as in the preceding example, the version number is sometimes preceded with the letter u and sometimes it is preceded with an under-bar, for example, re1.7.0_25.

  1. Change to the directory in which you want to install. Type: For example, to install the software in the /usr/local/java/ directory, Type:cd /usr/local/java/Note about root access: To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install the Java in your home directory or a subdirectory for which you have write permissions
  2. Move the .tar.gz archive binary to the current directory.
  3. Unpack the tarball and install Java
    tar zxvf jre-7u25-linux-i586.tar.gz

    The Java files are installed in a directory called jre1.7.0_25 in the current directory.
    In this example, it is installed in the /usr/local/java/jre1.7.0_25 directory.
    When the installation has completed, you will see the word Done.

  4. Delete the .tar.gz file if you want to save disk space.

Enable and Configure

To configure the Java Plugin follow these steps:

  1. Exit Firefox browser if it is already running.
  2. Uninstall any previous installations of Java Plugin.Only one Java Plugin can be used at a time. When you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.
  3. Create a symbolic link to the libnpjp2.so file in the browser plugins directory (On kubuntu 13.04: /usr/lib/firefox-addons/plugins)Go to the plugins sub-directory under the Firefox installation directorycd <Firefox installation directory> /pluginsCreate the symbolic link (/usr/local/java/jre1.7.0_25)

    ln -s <Java installation directory> /lib/amd64/libnpjp2.so

  4. Note: If you are upgrading your Java version then before creating new symbolic link you should remove old symbolic link to enable latest downloaded Java.

Myth TV and Yousee finally up and running

Got Myth TV and and Yousee (Copenhagen) to play together with HDHomeRun.

Multiplex info can be found in the dtv_multiplex spreadsheet (you can upload it to the mysql database).

If you would like to run Mythtv frontend in a window then from a Term run:

mythfrontend -w -geometry 960x600

This will also help debugging as the fronted write debug info to the console.

I also recommend to manually stop the back end before running mythtv-setup:

sudo service stop mythtv-backend
mythtv-setup
sudo service start mythtv-backend
mythfilldatabase 

And finally… if mythtv-backend have problems connecting to the database then grant  access to mythtv on mythconverg scheama in the database:

?> mysql --user=root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 244
Server version: 5.5.32-0ubuntu0.13.04.1 (Ubuntu)

Copyright (c) 2000, 2013, Oracle and/or its affiliates. 
All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current 
input statement.
mysql> connect mysql
mysql> GRANT ALL PRIVILEGES on mythconverg to 'mythtv'@'localhost' 
IDENTIFIED BY '<mythtvs password>';
mysql> GRANT ALL PRIVILEGES on mythconverg to 'mythtv'@'%' 
IDENTIFIED BY '<mythtvs password>';
mysql> exit

A very good source for setting up MythTV is MythTV-HOWTO – 0.26: section 9