![](http://habrastorage.org/getpro/habr/avatars/246/840/845/24684084599d4effe2cc65e3aa83a898.png)
Sync KDE4 Kontact and mobile
I was always worried about the issue of synchronizing the contacts / calendar of the mobile phone and OS. But all did not reach the hands. I decided to address the issue. In fact, everything turns out to be very simple. Let me give you an example with Ubuntu 9.04 and a Nokia mobile phone.
In jaunty, the kdepim plugin for opensync was miraculously forgotten. Package for amd64
Create a synchronization group between kdepim and the SyncML device.
We are looking for a phone (do not forget to make sure that it is available for search):
It will turn out something like:
The editor will open. You need to fill out something like this:
As for bluetooth_channel, it can change for different phone models. Therefore, it is worth looking with sdptool and looking for the channel number for “Nokia SyncML Client” in the output.
If Kontact is running, close. If there is no pairing with the phone, it can be displayed via Kdebluetooth4. Sync: Done. Those who wish can dream up on the topic of how to automate this (cron, autostart, etc.).
Install software
In jaunty, the kdepim plugin for opensync was miraculously forgotten. Package for amd64
sudo apt-get install opensync-plugin-syncml multisync-tools
wget launchpad.net/~holy.cheater/+archive/ppa/+files/opensync-plugin-kdepim_0.22-4hcppa1_i386.deb
sudo dpkg -i *kdepim*.deb
Configure msync
Create a synchronization group between kdepim and the SyncML device.
msynctool --addgroup n72-kde
msynctool --addmember n72-kde kdepim-sync
msynctool --addmember n72-kde syncml-obex-client
Determine the MAC of the phone
We are looking for a phone (do not forget to make sure that it is available for search):
hcitool scan
It will turn out something like:
01: 23: 45: 67: 89: ab PhoneName
Customize SyncML Plugin
msynctool --configure n72-kde 2
The editor will open. You need to fill out something like this:
01: 23: 45: 67: 89: ab eleven 0 PC Suite 1 1 2 1 0 0 0 0 Contacts Calendar
As for bluetooth_channel, it can change for different phone models. Therefore, it is worth looking with sdptool and looking for the channel number for “Nokia SyncML Client” in the output.
sdptool browse aa:bb:cc:dd:ee:ff
Synchronization
If Kontact is running, close. If there is no pairing with the phone, it can be displayed via Kdebluetooth4. Sync: Done. Those who wish can dream up on the topic of how to automate this (cron, autostart, etc.).
msynctool --sync n72-kde