Opensync, Nokia N95 und KDE
Spannende Frage. Wie synchronisiert man seine Kontakte, den Kalender und anderen Kram mit seinem Handy.
Opensync bietet dazu mittlerweile die Möglichkeit, wenn auch noch mit kleinen Mängeln.
Zuerst sollte man sich Opensync und ein paar Plugins aus dem Repository seiner Distribution ziehen, oder das ganz selbst kompilieren. Für Ubuntu wird das ganze hier erklärt.
Die wichtigen Plugins sind zuerst einemal:
- kdepim
- syncml
Wenn man damit fertig ist, geht es an die Konfiguration des Programmes. Ich habe bislang nur über Bluetooth synchronisiert.
Schritt 1:
msynctool –addgroup Nokia-KDE
Wir erstellen uns eine Gruppe Nokia-KDE.
msynctool –addmember Nokia-KDE kdepim-sync syncml-obex-client
Wir fügen der Gruppe zwei Plugins hinzu. einmal das KDE-Pim-Plugin und das SyncML-Bluetooth-Plugin.
Nun müssen die Plugins noch konfiguriert werden. Das KDE-Pim-Plugin bietet bislang noch keine Optionen. Anders sieht es allerdings beim SyncML-Plugin aus:
msynctool –configure Nokia-KDE 2
Es öffnet sich ein Editor (nano, oder etwas ähnliches
):
<?xml version="1.0"?>
<config>
<!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected -->
<bluetooth_address>00:1C:9A:21:94:B9</bluetooth_address>
<!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel -->
<bluetooth_channel>10</bluetooth_channel>
<!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. -->
<interface>0</interface>
<!-- The string that the plugin will use to identify itself. Some devices need a special string here. -->
<identifier>PC Suite</identifier>
<!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 -->
<version>1</version>
<!-- if the plugin should use wbxml -->
<wbxml>1</wbxml>
<!-- The username to use. Leave empty to not require a username -->
<username></username>
<!-- the password for the username -->
<password></password>
<!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth -->
<type>2</type>
<!-- If wbxml is enabled, defines wether the wbxml should use string tables -->
<usestringtable>1</usestringtable>
<!-- Never send ADD command, but send REPLACE (not needed normally) -->
<onlyreplace>0</onlyreplace>
<!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! -->
<onlyLocaltime>0</onlyLocaltime>
<!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 -->
<recvLimit>10000</recvLimit>
<maxObjSize>0</maxObjSize>
<!-- The name of the contacts db. Must be the same as the phones sends -->
<contact_db>Contacts</contact_db>
<!-- The name of the calendar db. Must be the same as the phones sends -->
<calendar_db>Calendar</calendar_db>
<!-- The name of the note db. Must be the same as the phones sends -->
<note_db>Notes</note_db>
</config>
Die Bluetoothadresse oben muss natürlich durch die des eigenen Handys ersetzt werden.
Im Handy sollte nun noch die SyncML Version von Version 1.2 auf 1.1 gestellt werden. Für die Synchronisation sollte Kontact beendet werden.
Mit dem Befehl:
msynctool –sync Nokia-KDE
lässt sich nun die Synchronisation starten.
Kontakte konnte ich bereits erfolgreich synchronisieren. Kalenderdaten gingen noch nicht. Für Tipps bin ich dankbar.