A standard feature of most of the document editors like TexMaker or Kile is auto-saving as you type. Of course this is generally considered a good thing, but if I'm editing a document that's already synced with Ubuntu One, Ubuntu One syncs the file every time the editor auto-saves. In addition to eating resources, this also usually results in u1conflict files, and at some point I have to log into Ubuntu One via a web browser to remove the file (there are problems building the pdf from the tex source otherwise).
I know I can temporarily disable Ubuntu One, or temporarily move the document being edited to a folder that's not synced, but it's a bit of a pain to have to take these extra steps every time I want to work on a paper. Is there some way to maybe write a script to disable Ubuntu One automatically while a file is open, and wait until I'm finished editing before syncing?