User:Nbc

Just some notes to keep things somewhere

Contents

Customizations

agenda synchronization with kronolith/funambol

At work we use horde/kronolith for webmail/agenda and funambol 7 to sync with mobile. The funambol link is https://synchro.ddg.fr/sync. I've no access to the funambol configuration and I know almost nothing about calendar synchronization. After some tries I have a good syncevolution configuration

- install syncevolution.

Be careful, as you need to use extra-testing or extra-devel dangerous repositories you must read carefully the wiki page about them.

- use the gui to create a new source, we will use these parameters :

Service name : garone (just a private pun)
Template : Funambol
username : ...
password : ...

after creation, finish

- enter this source and edit it (in the menu)

Sync URL : https://synchro.ddg.fr/sync 
Web URL  : https://synchro.ddg.fr/
...
Contacts, Tasks and Notes synchronization : Disabled
...
Calendar database : ical
Calendar source : N900 (or another one if you've created it)
Calendar synchronization : Normal sync


- the server certificate is autosigned and syncevolution refuses this by default so you must edit /home/user/.config/syncevolution/garone/config.ini and set:

SSLServerCertificates = 0
SSLVerifyServer = 0


I've searched for a better solution but so far I've been unable to add the key to the ssl keyring.

For the moment I've seen no problem. Recurring events work, two way (normal) sync works quite well too.

That's all folks

automatic OTA sync with fcron

I like automatisation. When I wake up I want to take my n900 with fresh podcasts, a calendar synced without thinking about it. Thanks to User:Ruskie it's very easy to do that with fcron.

 cat /home/user/bin/night_sync
 #!/bin/sh
 
 # TODO: find a way to test against the wifi ESSID/network name
 HOMEIP="192.168.0.4"
 IP=`/sbin/ifconfig wlan0 | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}'`
 
 # exit if it's not my wifi network
 if [ "X$IP" != "X$HOMEIP" ]; then
 	echo "`date` not at home"
 	exit 0
 fi
 
 echo "`date` at home"
 
 # add things here
 /usr/bin/syncevolution --quiet agenor
 /usr/bin/gpo update
 /usr/bin/gpo download

and in fcron (fcrontab -e) :

 %nightly,mail(no) * 5-6 su - user -c "/home/user/bin/night_sync > /tmp/night_sync.log 2>&1"

Icons placement

Change snap_to_grid to 16 in /usr/share/hildon-desktop/transitions.ini to easily align icons.

Ref: http://talk.maemo.org/showpost.php?p=472332&postcount=6

D-Bus

Various Commands

  • automatically connect
 # find the connection name
 gconftool-2 -R /system/osso/connectivity/IAP
 # connect it
 dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"IAP" uint32:0