Experiments with Fedora

Its been long since i posted anything.. well to sum it up.. the days went by in lazying around as usual 🙂

Anyways, have been experimenting with quite a few things in Fedora, like setting up CUPS server, CVS server, etc etc.. will be giving a detailed information on these soon.

Also, with Fedora 13 coming up, lots of excitement building up, in and around me! Being at one of the hosting locations for Fedora repo, I am sure going to enjoy “Goddard” much before major part of the world.. IITM repo rocks !

All said and done, i’ll be updating the web-log soon.. till then.. enjoy

Fedora 13’s Feature List..

Yum presto plugin rocks!!

Magic of Yum presto plugin

Magic of Yum presto plugin

The Delta rpm feature in yum rocks! Gone are the days when you had to wait, and wait, thanks to the limited net speed available to many amongst us, for the updates to download and then install.. Delta rpm feature enabled by the yum plugin” Presto”, downloads only the changes (in terms of mathematics, the “DELTA” change ) of a package from the earlier version present in your system.

For installing this plug-in, just type in the terminal :

su -c ‘yum install yum-presto’

Once installed, a change is to be made in the fedora-updates.repo, as given below:

nano /etc/yum.repos.d/fedora-updates.repo

NOW, comment the mirrorlist line by preceding it with ‘#’ sign and add the following line:


And, your done!! The screenshot above shows the immense power of Delta rpms.. For more information, visit:


Database Error while running Yum

Quite a few times, my patience runs out with the net connection provided to us, and in my frustration, i use the magical Ctrl+C combinations to cancel a currently going on yum updating process. And to my horror, the next yum update process results in something like this :

dB Berkeley Error…  Refresh the database.. etc etc

and yum doesnt work only after that.

If your facing a similar problem, not to worry.. yum will be back to square one and onto its effacing best, by running the following commands:

rm -f /var/lib/rpm/__db*        # eliminate cache and locks
rpm –rebuilddb -vv              # recreate primary key indicies

The 2nd command will take sometime to run.. chill.relax and run yum install process or update process without any worries next time 🙂

Converting OOXML format to Open Document Format

NOVELL has produced an easy get around to the problem of viewing OOXML formats in Linux environment.Just follow the procedure given below and enjoy:

  1. Install the programs rpm2cpio and cpio. If you run a system such as Fedora, run this command:sudo yum -y install cpio rpmIf you run Ubuntu, run this command:sudo apt-get install rpm libgif4
  2. Download odf-converter-1.1-7.i586.rpm for i386 systems or odf-converter-1.1-7.x86_64.rpm for x86_64 systems.
  3. Open terminal and change to the directory containing the rpm and unpack the rpm you just downloaded using commands like the following (log in as root in the terminal) –

cd '/home/download/'

rpm2cpio odf-converter*rpm | cpio -ivd

sudo cp usr/lib/ooo-2.0/program/OdfConverter /usr/bin

4. The ODF converter is ready to be used.Whenever format convertion is required, simply open the terminal window, change to the directory containing the file and type –

OdfConverter /i filename.docx

5. The Open Document version of the OOXML file will get generated in the same parent folder as the original file.Please Note that even .pptx, .xlsx files can also be converted using the same procedure.

Amarok Now Playing as Pidgin status message

Media being played in Amarok can be set as the status message in Pidgin. First of all, you will need to download an Amarok Script (its a script file that gets added as a plug-in into Amarok) from the following link –AmarokPidgin Plug-in
Once done, simply follow these steps –

  1. Open Amarok’s main window. Go to Tools -> Script Manager.
  2. Click on “Install Script”
  3. Browse for the tarball file you just downloaded and click on it.
  4. Click on the General Options in the left side of the window.Find “AmarokPidgin” under it
  5. click on it and then click on run on the right side.

That’s it… next time you start Pidgin, you will see an extra Status message(detailing the Now Playing Media)to choose from in the list.

Enabling Compiz Fusion in Fedora

Fedora does not come shipped with compiz settings.Hence, for the aesthetic lovers (esp the ones migrating from Ubuntu environment), follow the following steps and enjoy the effects :

  1. First, log in as root in terminal.install compiz fusion as follows:
    yum install compiz compiz-gnome compiz-bcop compiz-fusion compiz-fusion
    compiz-fusion-extras compiz-fusion-extras-gnome compiz compizconfig-python
    libcompizconfig libcompizconfig-devel gnome-compiz-manager
  2. That will install compiz fusion, and all of the extras that go with it. Next, we need to get some files. First, we will get CCSM from Koji, the server for Fedora Development. Then we’ll install the backends so that they work. Run the following: rpm -Uvh http://koji.fedoraproject.org/packages/ccsm/0.6.0/3.fc8/noarch/ ccsm-0.6.0-3.fc8.noarch.rpm
  3. FOR GNOME; to install the backends, type the following:rpm -Uvh http://koji.fedoraproject.org/packages/compizconfig-backend-gconf/ 0.6.0/2.fc8/i386/compizconfig-backend-gconf-0.6.0-2.fc8.i386.rpm
  4. FOR KDE; to install the backends, type the following:

rpm -Uvh http://koji.fedoraproject.org/packages/compizconfig-backend-kconfig/ 0.6.0/1.fc8/i386/compizconfig-backend-kconfig-0.6.0-1.fc8.i386.rpm

And trallah!!!! your done.. go to System -> Appearances -> Look & Feel -> Compiz settings manager and customize the desktop with the best of your abilities!

Grub rescue upon Win XP reinstallation

Well..finally this blog starts.Of late,I have become a full fledged Open-Source fan.So,here i am..with my 1st post on the same.

(Please note:Lines written within \\….\\ specify comments)

Without wasting anymore time..i’ll be explaining two ways of Grub rescue.Follow the method you find convenient-

1)Reboot with a Live CD

  • log in as root in the terminal window
  • type: /sbin/grub
  • in the grub promt that comes..type: find /boot/grub/stage2
  • you will get a response like (hd0,?) \\where ? is a number showing where your controlling distro is\\
  • continue typing in the grub prompt: root (hd0,?) \\type in the number returned above by your system corresponding to ?\\
  • type: setup (hd0)

and..your done!!!reboot and enjoy..

2) Reboot with a Rescue CD

For Fedora 8 Rescue CD..follow the link: Fedora 8 Rescue CD ISO

  • when you get the command prompt,type: chroot /mnt/sysimage
  • type: grub-install /dev/hda

and your done…reboot and enjoy!!

Well..So much for my 1st post..Bye All!