Category Archives: Uncategorized

Installing Aftershot Pro on Kubuntu 64-bit

Yet another problem when I installed Aftershot Pro on Kubuntu 13.10 64-bit.

I happily downloaded Aftershot Pro 64-bit installation package from Corel’s site and tried to install it by:

$> sudo dpkg -i AfterShotPro_amd64.deb

The package manager complained about ia32-libs was not installed.
I looked all over to find out how to install the ia32-libs lib on 64-bit but all solutions failed.

Then I stumbled over a forum thread asking the stupid question:

"Why not install the 32-bit version?" 

and the answer from the user was:

"It worked, thanks a lot!"

To install the 32-bit version of Aftershot Pro on 64-bit Kubuntu you have to run the command:

$> sudo dpkg -i --force-architecture ./AfterShotPro_i386.deb

You also have to do the same for all updates.

Yet another problem to be solved…

I have 3 monitors attached to my graphics card, a Nvidia 650ti, and in my new installation everything seemed to working fine except the screen saver.

When the screen saver was activated then 2 monitors was flashing on and off and the last monitor on the HDMI connection was turned off and would not get alive when it went of screen saver mode.

I found out when I configured the graphic card to use separate X screens the problem was solved.

To do that:

1. Start the nvidia-settings and under 
   "X Server Display Configuration"->Configuration 
2. select "Separate X screen (requieres X restart)" 
3. Also Enable Xinerama under "X Server Display Configuration"

You can’t just apply these setting and you will have to save it in “/etc/X11/xorg.conf” configuration file and restart the X-server.

If you don’t have xorg.xonf file then one can be generated by running:

$> sudo nvidia-xconfig

I prefer to reboot after this change but it can also be done by restarting the X-server.
On Kubuntu (save everything as your session will be killed):

$> sudo service lightdm restart.

Now once the X-server is restarted you might have the same problem as I do: Only English keyboard layout.

The can be fixed by either change the xorg.conf file or by running the command:

$> setxkbmap -model pc105 -layout dk,us -option grp:alt_shift_toggle

This will setup a 105pc keyboard and have both Danish (dk) and American (us) keyboard layout and to change between the 2 press the <Alt> and <Shift> simultaneously.

This will of cause be reset every time the computer reboot so I added the command to (if you are running KDE as on Kbuntu):

/home/<user name>/.kde/env/setlocale.sh

Problem with Nvidia 331.20 (64-bit) and Ubuntu updates start 2014

After the latest updates from Ubuntu my system would not start the X server when booting up. I found a answer at askubuntu by the user darent (http://askubuntu.com/questions/399153/after-apt-get-upgrade-system-always-boot-to-low-graphics-mode):

I had this same problem just a few hours ago, the latest 331 is broken. Downgrading to the previous driver or any other, included the open-source nouveau won’t work, the only solution is uninstall all nvidia packages and install the driver from the .run you can download from the nvidia website.

http://www.nvidia.com/Download/index.aspx?lang=en-us

There, select your graphic card, architecture, etc, and download the installer. When it’s done, you’ll need to install it from the command line without X running. Pres Ctrl+Alt+F1 and after login:

sudo service lightdm stop
# (change this line to match the drivers you have installed
# or simply sudo apt-get purge nvidia*).
sudo apt-get remove nvidia-319 nvidia-331 

Now, assuming your driver has been downloaded to the “Downloads” folder:

cd Downloads
chmod +x NVIDIA*
sudo ./NVIDIA*.run

I’ve used the asterisk here because I can’t know if the driver you downloaded is the exact same name as mine, since it depends on your GPU. You could use autocompletion with the tab key to use the exact .run name.

Follow the on screen instructions. When you finish, reboot:

sudo shutdown -r now

If after rebooting you see the same problem, log again in a TTY and try:

sudo nvidia-xconfig

This should regenerate a new /etc/X11/xorg.conf

Just a quick update for anyone who used my solution: Today a new update of some gl libraries has broken my system again. I’ve had to re-install the NVIDIA run package, it complained about some of its libraries being altered and restored them to its working state. There seems to be a compatibility problem between libraries from the official repositories and the ones packaged in the driver. This is the reason I don’t like to install things from outside packagers… To reinstall the driver, kill the X with

sudo service lightdm stop

and reinstall the .run with

sudo ./NVIDIA....run 

NVidia drivers on Ubuntu…

The installation of new NVIDIA drivers can be a problem sometimes, especially if you are not accustomed to the way things usually work on a Linux operating system.

There are just a couple of ways of installing the NVIDIA driver on an Ubuntu system: the easy way and the hard way. The easy way is also the most straightforward, but it requires a working Internet connection. This method will also introduce you to the beautiful world of PPAs.

Ubuntu 13.10, just like its predecessors, benefits from a large repository, but Canonical developers don’t upload the most recent version of the driver for several considerations. The most important is that it they don’t risk uploading a piece of software that has yet to be proven stable.

Fortunately, there is a PPA that makes available the latest versions of the drivers, a day or two after the launch. Just enter the following command in a terminal (you will need root access):

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-331

If you already have an older version of the driver you will need to replace the last command with:

 sudo apt-get dist-upgrade

After the process is finished, restart the computer and you’re set. The next time NVIDIA releases a new driver, you will only have to update the system, without adding the PPA.

The second method is a little more complicated, but you don’t need an Internet connection (you will need to download the driver at some point, but you don’t need the connection during the installation). We will be using the 64-bit driver as an example. I did not have a big success with this method

You will have to enter the virtual console with Ctrl + Alt + F1 and login into the system with the user name and password. There, you need to navigate to the location of your driver (for example Downloads) and enter the following commands

sudo service lightdm stop
sudo chmod a+x NVIDIA-Linux-x86_64-331.20.run
sudo ./NVIDIA-Linux-x86_64-331.20.run
sudo reboot

This is it. Whatever method you choose, enjoy the latest NVIDIA drivers.

An American tourist was at the pier of a small coastal Mexican village when…

a small boat with just one fisherman docked.

Inside the small boat were several large yellow-fin tuna. The tourist complimented the Mexican on the quality of his fish and asked how long it took to catch them.

The Mexican replied, “Only a little while.”

The tourist then asked, “Why didn’t you stay out longer and catch more fish?”

The Mexican said, “With this I have more than enough to support my family’s needs.”

The tourist then asked, “But what do you do with the rest of your time?”

The Mexican fisherman said, “I sleep late, fish a little, play with my children, take siesta with my wife, Maria, stroll into the village each evening where I sip wine and play guitar with my amigos, I have a full and busy life.”

The tourist scoffed, ” I can help you. You should spend more time fishing; and with the proceeds, buy a bigger boat: With the proceeds from the bigger boat you could buy several boats. Eventually you would have a fleet of fishing boats. Instead of selling your catch to a middleman you would sell directly to the processor; eventually opening your own cannery. You would control the product, processing and distribution. You could leave this small coastal fishing village and move to Mexico City, then Los Angeles and eventually New York where you could run your ever-expanding enterprise.”

The Mexican fisherman asked, “But, how long will this all take?”

The tourist replied, “15 to 20 years.”

“But what then?” asked the Mexican.

The tourist laughed and said, “That’s the best part. When the time is right you would sell your company stock to the public and become very rich, you would make millions.”

“Millions?…Then what?”

The American said, “Then you would retire. Move to a small coastal fishing village where you would sleep late, fish a little, play with your kids, take siesta with your wife, stroll to the village in the evenings where you could sip wine and play your guitar with your amigos.”

Based on the “Hallelujah, I’m a bum” by anarchist folk singer Utah Phillips

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)
.