-
@AppLee For syncing the information from Palm Pilot with the desktop application JPilot, the program pilot-link was used.
[edit]
Well, the stuff below about "SyncEvolution" was wrong. Not a solution.
[/edit]I notice that Evolution has its own syncing program, called SyncEvolution, which is described as being able to, "Sync personal information data using SyncML and CalDAV/CardDAV (CLI)".
1.) Ubuntu package for SyncEvolution
2.) Homepage of SyncEvolutionWell, I'll give this a try, but I doubt it will work. Likely, as others have said, some sort of "Cloud" service needs to be set up (though I've tried using the localhost on my desktop in the past to set up some sorta syncing thing, and that failed).
-
Hi,
I used to sync my desktop (thunderbird+lightning) with my ubuntu touch phone through radicale.
This post of Jonathan, shows the walk-through very well.
It worked well, but I no longer use it because I needed to have it available even without a phone and finally use the Horde server of our mail system (similar to what is done with Nextcloud).
At the time, I also could not sync with ssh enabled. But without ssh it worked well.
aimar -
@AppLee With my LineageOS phone, I tried exporting my Calendar entries to my desktop (IE, to Orage, the XFCE calendar, or Lightning, the Thunderbird calendar), and it worked. But, subsequent imports by the desktop calendar programs resulted in duplicate entries. It just looked very sloppy after a while.
-
Warning: what's written below is something I've done on my own phone, but others have suggested it's a bad idea (see following comment from UniSuperBox). For me it's the easiest way to directly have a copy of a calendar on both my desktop computer and my phone, and thus I share it as a possible solution. But, I acknowledge that others with more experience advise against it. And, I also acknowledge that some people hate command-line programs, so what I suggest below may simply not be of interest.
Command-line Linux programs work on Ubuntu Touch. So, a possible solution would be to install something like calcurse (it's available as a package) on both your Ubuntu phone and (presumably) Ubuntu desktop. Then simply "sync" by replacing the "todo" and "apts" files, via a file manager, as needed (IE, whenever one of these files has been altered on either the phone or desktop). These files are located in the following directory of both the phone and the desktop: ~/.calcurse
To install it, run the following from your desktop while your phone is plugged in via USB:
mark@debian:~$ adb shell * daemon not running; starting now at tcp:5037 * daemon started successfully phablet@ubuntu-phablet:~$ sudo mount -o remount,rw / [sudo] password for phablet: phablet@ubuntu-phablet:~$ phablet@ubuntu-phablet:~$ sudo apt update phablet@ubuntu-phablet:~$ sudo apt install calcurse phablet@ubuntu-phablet:~$ sudo mount -o ro,remount /
And that should install it. The last command is to leave the system as read only (ro), which I gather is important. I obtained the commands to allow for usage of APT from the description on installing Anbox (see here: https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html)
Afterthoughts:
If you don't mind command-line programs, the following are ones that I find useful.
Midnight Commander (known as "mc") is a recommended command-line file manager. Also, "locate", which helps with finding files after running "sudo updatedb", is also a useful command-line program. -
No, remounting the system as read-only is not undone after the terminal is closed. It's also more possible to break the system when it is mounted read-write and OTA updates may erase your changes. Overall, I think you'll be very upset with using the system this way.
The best way to install packages from the Ubuntu archives on your device is with Libertine: https://docs.ubports.com/en/latest/userguide/dailyuse/libertine.html
-
@UniSuperBox Thanks for the feedback. I got the commands from the instructions on setting up Anbox. See https://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html
Regarding it not being "undone" after the terminal is closed, yes, I see in these instructions that they do specify explicitly remounting as "ro" before exiting (at least in the "Troubleshooting" section, though odd that the command wasn't included in the prior sections). So yes, best to include this. As you say, best probably to stick with Libertine (though given its failure, at least on my phone, to run GUI applications, I sorta forgot about it). [edited to add] I tried to install a command-line program on Libertine, and there's no way that I can see to run it. Libertine seems to be exclusively for GUI programs.
Anyway, I'm guessing that given the instructions for Anbox (which does involve installing from APT) that installing a small command-line program can't be any more harmful, provided the system is returned to read-only status. Regardless, I did update my comment above to (a) make sure read-only status was returned to and (b) to include a warning based upon your feedback.
-
@UniSuperBox Just to add, I did try installing xterm on Libertine, and it works. But, there's no keyboard. So, there's no way to enter commands. So, I'm guessing that Libertine as a space to run commandline programs simply will not work.
-
@MarkG_108
Since you mention synchronizing a Palm Pilot (had one as well!) from the desktop PC, wouldn't it be much simpler to sync the UT phone from the desktop too? I'm thinking of the rsync command. Once the commands are figured out, a simple bash file could be created and a desktop launcher linked to it to make it even quicker to use.I'm surprised syncevolution didn't work, I recall reading about it on the forum, although I didn't test it.
-
@MarkG_108 said in Calendar synchronization of Ubuntu and Ubuntu Touch:
I got the commands from the instructions on setting up Anbox.
I'm not 100% sure but I think anbox is more deeply integrated that in fact it has to be in the real rootfs and wouldn't work when installed in a libertine container.
Besides that, anbox is early alpha, so I wouldn't take things necessary there as a pattern/template to do more standard things.
Once anbox is stable - whenever that might be - all the tampering with the rootfs wouldn't be needed anymore. -
@normandc Regarding syncevolution, I only briefly dabbled with it. It may be possible to get it working, but that's beyond my capabilities.
-
How to setup Google Calendar synchronization via CalDAV on the Ubuntu smartphone
Overview
Google allows a Google Calendar account to synchronize via the CalDAV service. To add a Google Calendar account using Generic CalDAV perform the following stepssteps:Select Accounts > Add New online Account > Generic CalDAV.
On the CalDAV screen:
Enter the full email address in the Username fields.
Enter the password used to access Google Calendar in the Password field.
In the Server Address field, enter https://www.google.com/calendar/dav/<emailaddress>/events where <emailaddress> is the Google email address.
Click Save.