Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Monday, April 28, 2008

Evolve to become Thunderbird

This trick intends to share the e-mails between Evolution and Thunderbird email clients.

Steps.

1. Install Thunderbird from here or use your personal package installer e.g. yum, synaptic etc. :).

Please back-up your mail data before trying below tips. To back-up do

cp -rf ~/.thunderbird thunderbird_backup

2. Launch Thunderbird and create folders or folder where you want to keep shared data. For example I created "work" folder under Inbox.

3. In my case suppose I want to keep evolution's work folder shared with thunderbird..

4. Now go to thunderbird's Local Folder directory which normally resides in your home directory under your profile's path. Mine is

cd ~/.thunderbird/i4hj1uue.default/Mail/Local Folders/Inbox.sbd/

4. Inbox.sbd may not exist untill you haven't created folder in Thunderbird

5. Make a soft link to evolution mail data files which normally resides in your home directory. My evolution's files are at ~/.evolution/mail/local/Inbox.sbd/

rm work

ln -s ~/.evolution/mail/local/Inbox.sbd/work work

7. Restart Thunderbird. All your evolution's work folder's mails should be appearing under work folder!!

8. You may use Evolution or Thunderbird on your wish. All the mails in the work folder will be visible in both.

If you want to import all evolution mails to thunderbird then link your Thunderbird's folder to Evolution's Inbox. i.e.

ln -s ~/.evolution/mail/local/Inbox

9. I guess you got the trick. Now you can choose what to share what to not!!

10. To import address book. Please read this.

11. If things are working well now then you can remove the back-up.

Live USB

This article will show how to create Live USB stick with Ubuntu Hardy Heron. Read more on live USB.

Requirement: USB bar > 700 MB. Any working Linux machine.

1. Get Ubuntu Hardy iso image as per your CPU requirement (x86, AMD64 etc).


2. Format USB stick to ext2
using Gparted or fdisk . Set the boot flag too.

( If you have extra space then you may choose to create another partitions too.)

3.Mount downloaded iso as loopback from root privileges.
#mount -o loop downloaded.iso /mount_dir

4.Copy iso's content in to USB.

#cd /mount_dir

#cp .disk/ casper/ dists/ install/ pics/ pool/ preseed/ README.diskdefines ubuntu /path_to_usb/

NOTE: Please note .disk is hidden directory. Copying *.exe and isolinux is not required as we shall use extlinux as boot loader for USB.

5. Create extlinux dir in USB.

#mkdir /path_to_usb/extlinux

6. Install extlinux at USB. This requires extlinux utility on your box. If you dont have this then please install syslinux package using your package manager ie yum/apt-get/synaptic/emerge etc.

#extlinux -i /path_to_usb/extlinux

7.Create /path_to_usb/extlinux/extlinux.conf and write below content in that.

DEFAULT /casper/vmlinuz
GFXBOOT bootlogo
APPEND file=/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz quiet splash --

Thats it!!
Now you can boot any machine which is USB boot capable from Live-USB by selecting "Boot from USB" or "Boot from ZIP-HDD" from bios boot menu.

For more info on extlinux/isolinux/syslinux bootloaders please visit extlinux wiki .