Archive for kde

How to install Opera and Thunderbird and share the profiles between Windows, Ubuntu, Fedora and openSuse

Posted in fedora, Linux (Ubuntu), opensuse with tags , , , , , , , , , , , , on March 26, 2009 by HydTech

Mozilla thunderbird saves the settings in a file called profile.ini. This file contains the location of the folder which has all your mail and settings. When first installed and loaded, thunderbird creates a random folder like diy1bg1t.default.

Opera settings are stored in Opera6.ini. This has information for the location of other settings files, like wand passwords, plugin locations, etc.

I installed these programs on Windows first and kept the default settings and locations for these files. After installing Ubuntu, I had to figure out a way to share the profiles, but back then people were suggesting to make a common FAT32 partition and keep these files there so Linux could have read and write access to them. With NTFS-3G, this became much easier and I just left the files on the NTFS partition. Later on I installed Fedora and openSuse on the same machine and used the same directions like Ubuntu. (Check here to see my post about Quad Booting my Thinkpad with Windows, Ubuntu, Fedora, and openSuse)

The first step was to make sure the NTFS partition was mounted at start up. I made a folder for the mount:

sudo mkdir /media/sda1

On startup, the system looks for partitions to mount in fstab. If you need more information on mounting and fstab, I recommend this post at ubuntuforums.org

opened fstab for editing:

sudo gedit /etc/fstab

added the following entry to fstab because my Windows partition is at /dev/sda1:

# My windows partition
/dev/sda1 /media/sda1 ntfs-3g defaults, locale=en_US.UTF-8 0 0

fstabfedora
Save file, restart.

Once Linux loaded back up and the Windows partition was automatically mounted, I got the packages for Opera and thunderbird and installed them with this:

In Ubuntu:
sudo apt-get install opera mozilla-thunderbird

Thunderbird In Fedora:
su
(enter password)
yum install thunderbird

installthunderbirdfedora
Thunderbird in openSuse:
used the yast2 graphical package manager.

packagemanageropensuse

installthunderbirdsuse

Opera in Fedora and openSuse:
downloaded rpm package from http://www.opera.com onto desktop

rpm -ivh /home/(user)/Desktop/opera-9.64.gcc4-shared-qt3.i386.rpm

installoperafedora

The mozilla profile.ini file will be under
/home/(user)/.mozilla-thunderbird for Ubuntu
/home/(user)/.thundebird for openSuse and Fedora

The folders that start with a dot are hidden and you can unhide them in Nautilus (Gnome) with “Alt+H” and in Dolphin (KDE) with “Alt+.”

The profile.ini in Linux should be something like this pointing to the folder which has your mail:

[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=0
Path=/media/sda1/Documents and Settings/(windows user)/Application Data/Thunderbird/Profiles/diy1bg1t.default

Make sure that isRelative=0 and replace the diy1bg1t with the appropriate foldername

Now when I opened up Thunderbird, I had my mail !!!!

Moving on to Opera:

After Opera was installed in Linux, I copied the opera6.ini from windows to the opera folder in Linux located at /home/(user)/.opera

opened up the new opera6.ini for editing:

sudo gedit /home/(user)/.opera/opera6.ini

and replaced all the paths C:\Program Files\Opera 9\profile with /media/sda1/Program Files/Opera 9/profile

opera6

and deleted the session folder in /.opera and created a symbolic link to point to the session folder in windows.

sessions

Opened up Opera and was happy to discover all my tabs and settings!!

Lenovo Thinkpad X60 with Fedora 10, openSuse 11, Ubuntu 9.04 and Windows XP

Posted in fedora, Linux (Ubuntu), opensuse with tags , , , , , , , , , , on March 26, 2009 by HydTech

I’ve been using Ubuntu dual booted with windows for quite a while now, but due to driver compatibility issues and lack of knowledge used windows for the most part. Since Ubuntu 8.10, I’ve completely switched over to Ubuntu and love it. Mostly because it’s FREE! Windows is still hanging around in case I might need it for some program in the future. I use Thunderbird as my email client and Opera as my web browser. One of my main concerns was sharing the profiles for these programs, but NTFS-3G has made life easier.

After feeling comfortable with Ubuntu, I decided I needed to expand my knowledge by learning to use KDE; different package managers like yum and yast; and the possibility of having multiple Linux Oses on single partitions. After doing some research, I decided I should either go with openSuse or Fedora. Then, I figured: “Why not both?” and leave Ubuntu and Windows intact. I downloaded the Live CD’s for both Oses. The Live CD installation has less programs and tools installed compared to the DVD installation.

I opened Gparted on Ubuntu to make extra partitions for Fedora and openSuse, but I realized I can’t have more than 4 primary partitions without hacking the MBR. I deleted the Linux Swap partition because I already have 2GB of RAM. I resized my Windows and Storage partitions and made one extra partition on which I would install both Fedora and openSuse. I split the partition into 2 logical partitions of about 5GB each.

gparted

Since my Lenovo does not have an optical drive, I had to use an external USB drive and allow the BIOS to boot from it

Popped in the Fedora Live CD and installed Fedora. I selected the first logical partition and set this location as “/” (root) and opted not to use a swap space. When it asks to install GRUB, you can choose not to or to install it at the beginning of the Root partition and not at the beginning of the whole hard drive because Ubuntu has already installed GRUB there and you might not want to write over it. I chose not to install GRUB. It was a painless install. Restarted and booted into Fedora to make sure it worked.

Next, I popped in the openSuse Live CD and installed it to the second logical partition also without swap space. Again, chose not to install GRUB. Install was again pretty simple. Booted into openSuse to make sure it worked.

Now, I had to update my GRUB to include the other Oses. I could have done it manually, but I chose to upgrade my 8.10 Intrepid to 9.04 Jaunty by hitting “Alt+F2” and typing “upgrade-manager -d”, which updated the entries in GRUB automatically.

updatemanager

.

.

.

Still one more issue: How to install Opera and Thunderbird and share the profiles between Windows, Ubuntu, Fedora and openSuse. This call for a new blog entry.

.

.

.

.

.