I can also be found at Diaspora…

As Facebook is selling my sole for manna and I prefer to use software made by the people for the people i decided to move to Diaspora*.

So, please, come and join our free community at:

https://diasporafoundation.org/

I really enjoy Diaspora and think you will as well.

But remember it’s not Facebook but a similar community which need to develop and mature.

Only we, the people, have the power to make it what we want it to be.

A coulple of GNU/Linux commands

Many of these command have options to give more specific details but use the man or info command to get more details…

$ man id
ID(1)                   User Commands                            ID(1)

NAME
       id - print real and effective user and group IDs

SYNOPSIS
       id [OPTION]... [USERNAME]

DESCRIPTION
       Print user and group information for the specified USERNAME,
       or (when USERNAME omitted) for the current user.

       -a     ignore, for compatibility with other versions
...

If you need to know your user id (uid) or group id(gid) then the command id will help you:

$ id
uid=1003(abbas) gid=544(users) groups=544(users)
,29(audio),44(video),125(vboxusers),130(mythtv),512(Domain Admins),
513(Domain Users)

If you need to know which dusk systems you have on your compuer then the command fdisk can help you

$ sudo fdisk -l
 [sudo] password for abbas: 

Disk /dev/sda: 1999.3 GB, 1999307276288 bytes
255 heads, 63 sectors/track, 243068 cylinders, total 3904897024 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005c6c8   
Device Boot      Start         End      Blocks   Id  System
/dev/sda1         2048  1413574655   706786304   83  Linux
/dev/sda2   1413574656  3904897023  1245661184   83  Linux
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! 
The util fdisk doesn't support GPT. Use GNU Parted.

The command lsusb will show all connected devices on the usb bus:

$ lsusb
Bus 003 Device 002: ID 045e:006d Microsoft Corp. eHome Remote Control
 Keyboard keys
Bus 003 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 009 Device 002: ID 046d:0b06 Logitech, Inc. 
Bus 009 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 004: ID 046d:c71b Logitech, Inc. 
Bus 009 Device 005: ID 046d:c71c Logitech, Inc. 
Bus 009 Device 006: ID 046d:08c1 Logitech, Inc. QuickCam Fusion
Bus 009 Device 007: ID 056a:00bc Wacom Co., Ltd 
Bus 009 Device 008: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 009 Device 009: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 009 Device 014: ID 0424:4060 Standard Microsystems Corp. Ultra 
Fast Media Reader
Bus 009 Device 013: ID 0424:2640 Standard Microsystems Corp. USB 2.0 
Hub
Bus 009 Device 010: ID 085c:0400 ColorVision, Inc. 
Bus 009 Device 011: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 009 Device 012: ID 0424:2514 Standard Microsystems Corp. USB 2.0 
Hub

Install RMP package on ubuntu

Install alien and other necessary packages:

$ sudo apt-get install alien dpkg-dev debhelper build-essential

Run the alien command.

$ sudo alien packagename.rpm

Install the package,

$ sudo dpkg -i packagename.deb

The package is installed, if it’s compatible with your system 😉

More will come as I go 🙂

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.