We have moved

November 12, 2011

For those who are searching for the installation instruction for Fedora 16. Please visit my new blog at Zeal for Technology


Fixing Real Player 11 Problem in 64-bit Fedora

June 8, 2011

List below are some of the Real Player problem I’ve encountered on the web or solved.

Real Player Installation Problem

Please check out my post Install and Playing Real Player in Fedora 15 (Lovelock)

Real Player Problem: Got Audio, No Video! (Solved)

If you encounter such situation where the Real Player plays audio perfectly but there is no video. Use the solution below:

  • First you need to install the gstreamer plugins:
 $sudo yum install gstreamer-plugins-ugly
  • Since Real Player is a 32-bit application playing in 64-bit operating system, you need to install 32-bit libraries:
$sudo yum install gstreamer-plugins-ugly.i686
  • If you still do not have video after installing the plugins. In the Real Player, go to Tools >> Preference >> Hardware and toggle with “Use XVideo”. Usually the video works when the XVideo is NOT CHECKED.

Real Player Problem: Got Video, No Audio!

Personally, I’ve never encountered any problem with audio. However, I’ve learned some solution from the web:

  • Switch ALSA audio driver with OSS driver. You can do this by going to Tools >> Preference >> Hardware
  • Under Tools >> Preference >> Hardware, you can also toggle the setting “Force stereo playback”. In some situation, audio works by un-checking “Force stereo playback”.
  • Another solution is to hack the realplay script, you can get the details from here http://ubuntuforums.org/showthread.php?t=954664. I wonder if it works on Fedora.

Troubleshooting Real Player Problem

If you have any problem playing real media, you can troubleshoot Real Player problem by running Real Player from the terminal.

cd /opt/real/RealPlayer
./realplay

Check the error message from the terminal and search the web for solution if you can’t find solution in this post.

Cannot Load GTK Module

While fixing my video problem, I’ve encountered some error messages as shown below. Although I’ve fixed these problems; I found that I could still play rm files perfectly without fixing the problem.

  • Gtk-WARNING **: Unable to locate theme engine in module_path: “clearlooks”,
$sudo yum install gtk2-engines gtk2-engines.i686
  • Gtk-Message **: Failed to load module “pk-gtk-module”
$sudo yum install PackageKit-gtk-module PackageKit-gtk-module.i686
  • Gtk-Message **: Failed to load module “canberra-gtk-module”
$sudo yum install libcanberra-gtk2 libcanberra-gtk3 libcanberra-gtk2.i686
libcanberra-gtk3.i686

When All Else Failed! Use Mplayer

I found that MPlayer plays rm files quite well, you need to install all the codecs before able to play rm files.

***End***


Install and Playing Real Player in Fedora 15 (Lovelock)

June 7, 2011

Get Real Player for Linux

Download the latest Real Player for Linux at http://www.real.com/linux. Select “Download the RPM Installer”. The rpm file should be ‘RealPlayer11GOLD.rpm’

Installing Real Player (64-bit)

Since we are installing the 32-bit Player into 64-bit OS, we need to install 32-bit version of lsb as follows:

$sudo yum install -y redhat-lsb redhat-lsb.i686
$sudo rpm -ivh RealPlayer11GOLD.rpm

Note: Alternatively, you could use mplayer or vlc player instead of installing Real Player. I found that mplayer does play rm files well while vlc player play the rm files well, the image get distorted when fast forward.

Real Player Problem: No Video

If you encounter such situation where the Real Player plays audio perfectly but there is no video. Use the solution below:

  • First you need to install the gstreamer plugins:
 $sudo yum install gstreamer-plugins-ugly
  • Since Real Player is a 32-bit application playing in 64-bit operating system, you need to install 32-bit libraries:
$sudo yum install gstreamer-plugins-ugly.i686
  • If you still do not have video after installing the plugins. In the Real Player, go to Tools >> Preference >> Hardware and toggle with “Use XVideo”. Usually the video works when the XVideo is NOT CHECKED.

Automation

I’ve created a script to download and install Real Player. You can download here.

You also need to give execution permission to the script using the command

$sudo chmod +x <script name>

To run the script use the command:

$sudo ./<script name>

Troubleshooting Real Player Problem

If you have any problem playing real media, you can troubleshoot Real Player problem by running Real Player from the terminal.

cd /opt/real/RealPlayer
./realplay

Check the error message from the terminal and search the web for solution.You can also check my post Fixing Real Player Problem in 64-bit Fedora

***End***


Installing VirtualBox on Fedora 15 (Lovelock) Host

June 7, 2011

Update 16 Nov 2011

Hi, check out my new post Install VirtualBox on Fedora 16 Host. The procedure is very much the same, you can use the instructions below for Fedora 15 and Fedora 16.

Installing VirtualBox on Fedora 15 Host System Using YUM

$sudo cp virtualbox.repo /etc/yum.repos.d/
  • Install dkms using the command
$sudo yum install dkms
  • Unlike the previous practice, now you need to specify the version number in order to install VirtualBox. This allows user flexibility to install the previous version of VirtualBox instead of the latest version. The following versions are available:
  • virtualbox-4.0 (latest)
  • virtualbox-3.2
  • virtualbox-3.1
  • virtualbox-3.0
  • virtualbox-2.2
  • virtualbox-2.1
  • virtualbox-2.0
  • To install the latest version of VirtualBox use the command
$sudo yum install virtualbox-4.0

Automation

An installation script was created to automatically configures the repository file and install VirtualBox 4.0. If you would like to use earlier version of VirtualBox, please modify the script yourself. You can download the script at FC15-vbox-install-noarch

***End***


How to Open Nautilus as Root in Fedora 15 using sudo or Beesu

June 7, 2011

Quite often you will find yourself the need to write files that does not location within your home folder. In this case, you need root access to do it. There are two methods of open Nautilus (File Manager) with root privileges. The first method is to use sudo command from the terminal. The second method is to install and use Beesu with Nautilus.

Method 1: Using sudo

User must belong to the Administrators Group in order to use sudo command. If you have not add the current use to the Administrators group during the system setup, then you could add user to Administrators Group via User Account Settings.

Add Normal User to Administrator Group

Under your username, select System Settings >>  User Accounts (as shown below). Click unlock using root password and change the “Account type” from “Standard” to “Administrator”.

Opening Nautilus from Terminal

Open a terminal and issue the command:

$sudo nautilus

If you want to be able to continue using the terminal, you can start the Nautilus command in the background as follows:

$sudo nautilus &

Method 2: Using Beesu

Installing Beesu

Open a terminal and install the following packages:

$sudo yum install beesu
$sudo yum install nautilus-beesu-manager

Configuring Beesu

After you have installed the packages above, you run $nautilus-beesu-manager to configure how you want to use Beesu.

The most useful settings are:

  • Edit with gEdit
  • Execute/Execute Application
  • Files and Folders/Delete Selected Files
  • Files and Folders/New File Here
  • Files and Folders/New Folder Here
  • Open Terminal Here

Using Beesu

  • Open up Nautilus (under Applications >> Accessories >> Files)
  • Navigate to the file or folder you want to manage, Right-Click the mouse, select Scripts >> beesu and a list of options which you have configure earlier was available.
  • Please note that some options worked on folders and some options worked on files while some worked on both.

***End***


Installing Adobe AIR in Fedora 15 (Lovelock)

June 6, 2011

Update 15 Nov 2011

Please note that Adobe has decided not to support Adobe Air for Linux any more. The installation instructions below is no longer applicable. You could still install the last version of Adobe Air for Linux (version 2.6) from Adobe Archive. Although this version of Adobe works well with most Air apps, please note that you will not be getting any security updates. 

Please check my post Install Adobe Air on Fedora 16 for the installation instructions.

***************************************************************************************************

You need to install Adobe AIR (64-bit) in order to run some Tweeter applications such as TweetDeck and Twhirl. The following is a step by step instructions to install Adobe AIR in Fedora 15 (64-bit):

Configuring Adobe Yum Repository File

  • Please note that you can skip this section if you have already done this part when installing other Adobe products such as Adobe Flash Player. Please continue if you have never configured Adobe repository file for Linux.
  • Download the rpm file yum configuration from http://get.adobe.com/air/ and select “YUM for Linux”.
  • Save the rpm file “adobe-release-i386-1.0-1.noarch.rpm” and close your browser.
  • Use the following command, to install Adobe Flash Player:
$sudo rpm -vhi adobe-release-i386-1.0-1.noarch.rpm
$sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
  • The above command setup the Adobe repository so that you could use yum to download the latest Adobe AIR from Adobe repository.
  • To verify the setup of the repository data make sure that the file /etc/yum.repos.d/adobe-linux-i386.repo is available

Install 32-bit and 64-bit Libraries

  • Before you install Adobe AIR, you need to ensure that all the necessary libraries (32-bit and 64-bit) are properly installed in the system. The command is (single line):
$sudo yum install -y ld-linux.so.2 gtk2-devel.i686 libdbus-glib-1.so.2
libhal.so.1 rpm-devel.i686 libXt.so.6 gnome-keyring-devel.i686
libDCOP.so.4 libxml2-devel.i686 nss-devel.i686 libxslt.i686
xterm rpm-build

Installing Adobe AIR

  • After you have ensure that all the necessary libraries are downloaded and installed, you can proceed to install Adobe AIR using the command:
$sudo yum install -y adobeair

Automation

I have included a simple script for installing Adobe AIR. You can download the script here. Please read the note before running the script.

You also need to give execution permission to the script using the command

$sudo chmod +x <script name>

To run the script use the command:

$sudo ./<script name>

(Update) Additional Problem Running TweetDeck

After installing Adobe AIR, I could install Twhirl and TweetDeck on my system. However, I encountered additional problem when using Tweetdeck. It produce the following error:

Sorry, Adobe AIR has a problem running on this computer.
TweetDeck is having trouble storing your passwords securely..... etc

Following the instructions from Adobe does not help either. The solution is you need to install the following 32-bit library before running Tweetdeck:

$sudo yum install libgnome-keyring.i686

***End***


									

Software Application Installation and Configuration of Fedora 15 (Lovelock)

June 6, 2011

Update 14 Nov 2011

Please check my latest post

Fedora Software Installation and Configuration Guide (Fedora 15/16)

Updating Fedora 15 (64-bit)

  • Updating Fedora is as easy as Windows. After you start using Fedora for a while, you will notice a message indicating that you need to update the OS.
  • Follow the direction in the message will bring you to the update manager. Follow the instruction in the update manager.
  • You can also use command yum to update the system. Open a terminal window, type
$sudo yum update
  • You need to reboot the system if you have installed new kernel.

Installation and Configuration of Commonly used Applications (64-bit)

  • Most of the popular applications are preloaded with Fedora; you might need to add some plug-ins.
  • For additional software you can install using Activities >> Applications >> System Tools >> Add/Remove Software. The utility will search for the application you intended, download it and install it automatically.
  • You can also use command line (yum) to install the software packages.
  • Fedora uses yum to install and update its software. When connected to the internet it will automatically determine all application dependencies.

Configuring Yum

  • Yum automatically connect to the official mirror sites of Fedora to retrieve latest software packages.
  • You might want to add additional repositories that provide additional software. Two additional sites are recommended, one is rpmfusion.org, the other is livna.org
  • To setup repos from rpmfusion:
$sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/
rpmfusion-free-release-stable.noarch.rpm
$sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/
rpmfusion-nonfree-release-stable.noarch.rpm
  • Setting up repos from livna.org
$sudo rpm -ivh http://rpm.livna.org/livna-release.rpm
$sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna

Using Yum

  • To install software using yum just use the command:
$sudo yum install <software packages>
  • To find out details about the software packages use the command:
$sudo yum info <keyword or software packages>
  • You can also perform group install using
$sudo yum groupinstall <group software packages>

Web Browsing

Productivity Suite

  • We don’t use OpenOffice now. The existing developers have start a new project called LibreOffice.
  • However, LibreOffice is not included in the “Desktop Edition” (LiveCD). To install it go to Activities >> Applications >> System Tools  >> Add/Remove Software.
  • Type libreoffice in the search box and click find. With the list given, select the package you want.
  • You also can use command line as follows:
$sudo yum install -y libreoffice-based
$sudo yum install -y libreoffice-writer
$sudo yum install -y libreoffice-calc
$sudo yum install -y libreoffice-draw
$sudo yum install -y libreoffice-impress
$sudo yum install -y libreoffice-math

Utilities

There are some useful utilities such as:
  • Wget is a utility that allows you to download http files from the web using command line. This is a useful tools for automating download.
$sudo yum install -y wget
  • Gparted is a utility that manages disk partition. You can resize your disk partition on the fly. To install this software:
$sudo yum install -y gparted
  • Gnochm is a chm viewer. The command to install this utilities is:
$sudo yum install -y gnochm
  • Unrar is a utility to unpack rar compressed folders. Issue the command:
$sudo yum install -y unrar
  • GCC is GNU C/C++ compiler. Kernel-devel is the kernel headers required to compile kernel files. Both files are required to rebuilt kernel or install drivers.
$sudo yum install -y gcc kernel-devel

PDF Document

  • Fedora has default PDF reader so no installation is required.
  • Fedora has built-in PDF writer; here is the direction of how to use it.
  • For Firefox, select Print >> Print to File, make sure you specify the document type as PDF and also specify the filename and location of the file.
  • For LibreOffice, use ‘Export to PDF’ function.
  • You will need a PDF writer if you intend to use it on any other application that do not have print to PDF or export to PDF capabilities. In this case, you need to install cups-pdf.
  • The command line to install is $sudo yum install -y cups-pdf. PDF writer usually tie to the print function. You just need to use the print function and select PDF writer as the printer. Please search the web if you encounter any problem.

Playing Multimedia Files

  • To play the most common multimedia formats, including mp3, mpeg, rm, QuickTime, WMA and WMV, you need to install additional codec.
  • I would recommend VLC Media Player. When you install VLC Media Player, it includes all the necessary codec.
  • Installing VLC Media Player
$sudo yum install -y vlc
  • To set VLC as the default player, right-click any media file. Select “Properties” and go to “Open With” tab. Click “Show other Application”. Highlight the application you want to set and click “Set as Default”

Installing DvD Playing Applications

  • Playing DVD is more complicated because it involves restricted format. In addition to media player,  you need to install CSS Packages.
  • To check your region setting you need the package “regionset”.
$sudo yum install -y regionset
  • After installation, use the command $regionset. Your region setting will be shown.
  • To install the CSS packages use the command:
$sudo yum install -y libdvdcss

DVD Ripping

  • In the event you need to rip or backup your DVD; you can install various DVD ripper.
  • In this section we will install k9copy
$sudo yum install -y k9copy
  • Please search for k9copy on direction of usage.

Additional Applications

For additional applications, please check my other post:

Automation (For Advanced User)

As I am repeating this process whenever I need to install Fedora in a new system. I’ve created a script to automate the installation.

  • You can download the script FC15-software-install-noarch.
  • After downloading the script, please read the script carefully and hash (#) out any installation option or command that you do not want to use. Any command with a hash (#) in front will not be executed.
  • My script also includes installation of Dropbox and Google Chrome.
  • You need to change the permission to executable by using the command:
$sudo chmod +x FC15-software-install-noarch
  • To run the script use the command:
$sudo ./FC15-software-install-noarch

***End***