Category Archives: Uncategorized

Mythtv, HDHomeRun and Yousee on Linux (Ubuntu)

I have created a video for the ones who have problems with MythTV.The video handles some of the most common errors when installing MythTV the first time.
It also contain the installation of the HDHomeRun drivers from Silicondust on Ubuntu.
For users having the Yousee cable provider is instruction how to get it up and running on Linux (the information can be used on MS Windows as well).

In the video I also refer to a spreadsheet with all the frequencies for Yousee: dtv_multiplex

http://www.youtube.com/watch?v=sfKy0uBCnF4

Hope you will have use of this video (at least I got repeated the installation process)
.

Netflix and Linux

My god I was almost spaming Netflix with complaints about there lack of support on Linux 👿
But then I found out you can’t easily write to them 🙄

I searched the net and found Netflix Desktop a tool to run Netflix in mono :mrgreen:

1. Install the repo
sudo apt-add-repository ppa:ehoover/compholio

2. Do a repo update
sudo apt-get update

3. Install Netflix Desktop and a special version of Wine (Compholio)
sudo apt-get install netflix-desktop wine-compholio

And you are up and running.  😀
The above have installed Silverlight and Firefox for Windows

I had a problem finding out how to run the Netflix Desktop, I could not find it in menus but simply type:

netflix-desktop

in a terminal will do the magic.

Another problem is I have 3 monitors and Netflix Desktop start in full screen on the first monitor.
To move to another monitor simple use the F11 button to get Firefox out of full screen and move the window to another screen.

More information of Netflix Desktop and Mono Comphoilio

Aftershot Pro

For editing my photos I have found Corel Aftershot Pro.

Yes, it cost money but I think is cheap compared to other solutions.

The work flow is simple and very easy to use.

But there is some flaws and here have Dieter Steiner created some great plug-ins.

I’m especially happy with the Wavelet Denoise and AutoLevels created by roland65.free.fr/asp

I made a small donation to Dieter and he asked me how felt about his plug-in and here it is:

Hi Dieter,

Your are welcome. I already feel the donation is way to small.

I just moved from Windows/Adobe Lightroom/Photoshop to Linux/Darktable/GIMP/Aftershot Pro.

In the start I was a bit disappointed with Darktable, it was too geeky, but I found Aftershot Pro and felt right away more comfortable.

But something was missing and I started looking at the plug-ins and found your great plug-ins.

I can only say 1 thing: Wahooo, I have been so comfortable with my edits that Adobe is gone from my mind.

My favorite plug-in is the Wavelet Denoise, now I can remove noise without loosing image quality, or maybe its the AutoLevels plug-in, with 1 click I have a clear image with good balance. I can’t decide.

If I have to give a bit of critique then a tutorial for Wavelet Sharpen plug-in would really help as I have a hard time getting good results but I’m sure its just as great as the the other plug-ins.

What you have created is simply marvelous!!! Keep up the great work!!!

Best Regards,

Hans

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

Kubuntu and Timezones

If you have a problem with the timezone and the local time in Kubuntu you might try this:

sudo dpkg-reconfigure tzdata

Current default time zone: 'Europe/Copenhagen'
Local time is now:      Thu May 23 08:06:38 CEST 2013.
Universal Time is now:  Thu May 23 06:06:38 UTC 2013.

Multiple Display Config and AMD

If you have multiple display and a AMD grahics card and want to expand the desktop to all displays you might get a message like :

required virtual size does not fit available size: requested=
(3200, 1200), minimum=(320, 200), maximum=(1920, 1920)

To solve this you have to run the AMD display configuration:

sudo aticonfig --initial

to re-initialize your configuration files. You might have to restart (I did)

Now run:

sudo amdcccle

and you’ll be able to configure dual display.

Go to Display Manager and choose Multi-display desktop with display(s)… in Multi-Display tab for both monitors.

Restart Ubuntu after this, Then disable the “Mirror monitors” option in the Ubuntu display settings.

You might have to move the display around in the Ubuntu display setting to get things right.

Mount extern NFS filesystem

1. You need to install nfs-command package as follows (open terminal and type the following command):

$ sudo apt-get update
$ sudo apt-get install nfs-common

2. See The List Of All remote shares

$ showmount -e server-Ip-address
$ showmount -e 10.25.1.132

Sample outputs from my 10.25.1.132 NFS server:

Export list for basil:

/volume1/Photo     *
/volume1/Video     *
/volume1/NetBackup 10.25.1.*
/volume1/Music     10.25.1.*

3. Mount Shared Directory

Now mount /Music directory as follows:

$ sudo mkdir /mnt
$ sudo mkdir /mnt/Basil
$ sudo mkdir /mnt/Basil/Music
$ sudo mount -o soft,intr,rsize=8192,wsize=8192 10.25.1.132:/volume1/Music /mnt
$ df -h

Output from df command

Filesystem                   Size  Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root   24G  6.0G   16G  28% /
none                         4.0K     0  4.0K   0% /sys/fs/cgroup
udev                         4.1G  4.0K  4.1G   1% /dev
tmpfs                        824M  800K  824M   1% /run
none                         5.0M     0  5.0M   0% /run/lock
none                         4.1G  160K  4.1G   1% /run/shm
none                         100M   56K  100M   1% /run/user
/dev/sda1                    228M   30M  187M  14% /boot
10.25.1.132:/volume1/Music   7.2T  3.8T  3.4T  53% /mnt/Basil/Music

4. How Do I Mount NFS Automatically After Reboot?

Edit /etc/fstab, enter:

$ sudo vi /etc/fstab

Append the following line:

10.25.1.132:/volume1/Music  /mnt/Basil/Music noauto,soft,intr,rsize=8192,wsize=8192

Save and close the file.

5. How Do I Remove Mounted NFS Directory (unmount NFS)?

Type the following command:

$ cd
$ sudo umount /nfs
$ df -h