On Thursday 28 Apr 2005 04:23, Jim Flanagan wrote:
I was wondering if anyone has, or would it be possible, to make a version of Kmail that is portable. By that I mean made so that you could have it on a CD, or usb drive that you could take with you. Mail and settings could be stored and saved there, and would not be kept on the workstation. Like thunderbird I guess.
Hi Jim, This is not that difficult, you can use kmail as it is, if you are able to make a few symlinks. I'm constantly moving my kmail from desktop to notebook and back. In kde3.4 your mails are in ~/.kde/share/apps/kmail/mail/ Some settings etc. are in ~/.kde/share/apps/kmail/ and some in ~/.kde/share/config/kmailrc Here in kmailrc you can also specify where your mail folder is (default to ~/.kde/share/apps/kmail/mail/ ) Before kde3.4 the mails had been usually in ~/Mail/ All you need now is to put the complete content of ~/.kde/share/apps/kmail/ in a folder on your usb drive, and also the file ~/.kde/share/config/kmailrc Then symlink the folder on your usb drive to ~/.kde/share/apps/kmail/, and the file ~/.kde/share/config/kmailrc to the kmailrc on your usb drive, and fire up kmail. If you use kde < 3.4 you might need to do the same with the folder ~/Mail/ Put it on your usb drive and symlink it to ~/Mail/ This procedure works fine for me. Instead of having it on an usb drive, you can also copy it with rsync to the second PC, while you work with that one, and after copy it back with rsync to the main PC. To make the copy quickly and have it also delete the mails on the target PC which you deleted or moved while working on the second PC use this rsync options: rsync -avz --stats --delete-excluded --progress --exclude '*.ids' --exclude '*.sorted' --exclude '*.index' /mnt/Mail/ /home/yourname/Mail However kmail will then take some time when started, because it rebuild the index files. Which might make sense anyway especially when using different kmail versions on the 2 PCs. HTH, Matt