← Back to team overview

ubuntu-phone team mailing list archive

Re: ownCloud app.

 

With Thunderbird + Lightning, I can also sync my notes/memo/task/todo over CalDAV. I can't see any app basing its database on syncevolution, saddly.

*Vincent*
http://influence-pc.fr/

Le 04/07/2015 13:37, Mitchell Reese a écrit :
That makes sense - I'll have to give it a try.

Here's another owncloud sync guide for people (in english) I wrote - covers calendar, contacts, and files, minus cron: http://mitchellreese.id.au/owncloud-sync-on-ubuntu-touch

It would be good for someone to hack together a ui for this, and publish it to the open app store (no apparmor restrictions). At least until there's better support for carddav and caldav protocols in the main system, some more user friendly way of managing this would be great. My time is limited right now (in between several large theatre projects), however I'm happy to work with someone else keen to get this happening. UI's are not my strong point...

Mitchell

On Saturday, 4 July 2015 9:20:48 PM AEST, Vincent wrote:
yes, I was not able to work with cron without exporting this two environment variables.

*Vincent*
http://influence-pc.fr/

Le 04/07/2015 13:00, Mitchell Reese a écrit :
Hi Vincent, whats the reason for exporting the display with the bash script? I.e., I'm able to sync both contacts and calendar without it - is it just for using cron?

Thanks,

Mitchell

On Saturday, 4 July 2015 7:34:23 PM AEST, Vincent wrote:
Okay it was a little bit harder than that!

Create a bash script in /home/phablet:

#!/bin/sh
export DISPLAY=:0.0
export DBUS_SESSION_BUS_ADDRESS=$(ps -u phablet e | grep -Eo 'dbus-daemon.*address=unix:abstract=/tmp/dbus-[A-Za-z0-9]{10}' | tail -c35)
syncevolution owncloud contacts
syncevolution owncloud calendar
exit 0


chmod +x /home/phablet/syncevolution.sh
sudo crontab -u phablet -e


0 0,6,12,18 * * * sh /home/phablet/syncevolution.sh >/dev/null 2>&1


*Vincent*
http://influence-pc.fr/

Le 02/07/2015 23:21, Vincent a écrit :
Yes, and you can do that with:
|sudo mount /dev/loop0 / -o remount,rw|

*Vincent*
http://influence-pc.fr/

Le 02/07/2015 20:16, Sam Bull a écrit :
On Thursday, 2 July 2015 17:31:23 BST, Vincent wrote:
I agree with you, but know that crontab is installed on your device and should work as excepted for the automatic side.

No, it requires making the filesystem writable to edit the crontab.













Follow ups

References