Is it possible to share the local folders from one Evolution client to another? How? Thanks.
According to your descriptions both clients are connected locally to the same storage, one using the internal harddisk and the other an attaches USB drive. Only one client is active at a time (never both at the same time), so simultaneous write-access should not happen.
I cannot give any guarantees for the following, since I've never tried (and also will not try, at least in the nearer future), but using symbolic links, the following should be possible -- provided the userIDs (of the user on both machines) match.
Let's call the machine with the "internal disk"
local, and the one primarily using the USB disk
external. On both machines, your user is
local, your home directory such should be
/home/willie, and let's assume the USB drive is mounted at
/mnt/usbdrive with willie's external account such being at
/mnt/usbdrive/home/willie when looking from
Setting it up:
- make sure userIDs match: when logged in as "willie", on each machine at a shell prompt enter the command
id. Output should start with
uid=1000(willie) gid=1000(willie). Make sure
external, same for the
gid. Otherwise you will certainly run into a permissions problem.
- just in case: make a backup on
external, it cannot hurt either). You might want to run an export from Evolution, but at least do a
cp -R ~/.local/share/evolution/mail/local ~/backup/mail_localwhile Evolution is shut down (of course, you might want to use a different target).
- now remove the local mail on
rm -rf ~/.local/share/evolution/mail/local
- and create a symlink from the USB disk:
ln -s /mnt/usbdrive/home/willie/.local/share/evolution/mail/local ~/.local/share/evolution/mail/local
That should be it. For
willie@external, nothing has changed -- so everything should still work as before. For
willie@local things might be a little different: local mail now comes from the USB disk (if Evolution accepted the symlink). Provided local mail doesn't use any "external configuration" in
~/.config/evolution/mail, it should work. Hopefully, it uses only the symlinked directory (it certainly does for folder organization, as it saves its
Good luck, and please report back! Though I do not intend to have use for this kind of solution in the near future, others might :)