Since about 20% of our lab are N9 users, it seems worth maintaining a page for sharing tips and tricks.
If you do not want to entrust your data to The Cloud, you can sync the N9 directly to the desktop. Here is the most functional way I found:
syncevo-http-server -q http://localhost:9000/syncevolution.
I do not miss Bluetooth sync much, as I need to keep the USB cable around for recharging anyway.
Notes stored in plain text files can be sync'ed both ways as follows:
git. On the N9, create a bare git repository.2)
pushon the N9
pullon the host
pushon the host
pullon the N9
Voilà. Much better than conventional solutions, since notes are sync'able even if they are simultaneously edited on both sides. And you get to keep your entire history.
The drawback is lack of integration with the N9. Editing notes can be tedious. You can alleviate this a bit by configuring5) the N9 to open text files with an editor instead of the document viewer.
Warning: I have not yet tried what happens in case of a merge conflict. In any case, they will require manual fixing.
Many people carry sensitive data around with them, such as passwords. There are various keyring, wallet etc. programs out there to maintain these in an encrypted fashion, but I did not find a good solution for the N9, at least none that allowed any straightforward way of sync'ing such data with the desktop. But here is a simple solution that covers most use cases:
Voilà. Much better than any keyring/wallet program, at least for Emacs users. To consult a password on the N9, simply open the file in a file manager, and it will pop up the terminal, ask for your passphrase, and dump the record to the screen.
I have a little script that pulls a URL with prerequisites using
wget, cleans the pulled HTML files with
tidy, and strips out all
ssh firstname.lastname@example.org "sh -l -c 'syncevolution -q client-for-laptop addressbook'"
giton the N9 can be avoided entirely by
sshfs-mounting the N9 and doing all of the following on the host system.
PATH=$PATH:/usr/libexec/git-core cd $1 git status | grep 'nothing to commit (working directory clean)' if [ $? != 0 ] ; then git add -A git commit -m "sync commit" git push fi
PATH=$PATH:/usr/libexec/git-core cd $1 git pull
/home/user/.local/share/applications/defaults.list, to the
[Default Applications]section, add the line
text/plain=nano.desktopor create this if it does not exist.
/usr/share/applications/decrypt.desktopon the N9:
[Desktop Entry] Name=Decrypt Comment=Display GPG-encrypted text/plain files Exec=/usr/bin/meego-terminal -e sh -c "/usr/bin/gpg --decrypt %U ; read" Type=Application MimeType=application/pgp-encrypted;