Editing User:Nbc

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
Just some notes to keep things somewhere
Just some notes to keep things somewhere
-
 
-
= Some scripts =
 
-
 
-
* [[User:Nbc/W32g]] auto toggle to 2g/3g when wifi is connected/disconnected
 
=Customizations =
=Customizations =
Line 13: Line 9:
https://synchro.ddg.fr/sync. I've no access to the funambol
https://synchro.ddg.fr/sync. I've no access to the funambol
configuration and I know almost nothing about calendar
configuration and I know almost nothing about calendar
-
synchronization. After some tries I have a good syncevolution configuration
+
synchronization. After some tries I have a good syncevolution
 +
configuration
-
- install [http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/syncevolution/0.9.2-4/  syncevolution].
+
- install syncevolution and use the gui to create a new source,
-
 
+
-
Be careful, as you need to use extra-testing or extra-devel dangerous repositories you must read carefully [http://wiki.maemo.org/Extras-testing the wiki page about them].
+
-
 
+
-
- use the gui to create a new source,
+
we will use these parameters :
we will use these parameters :
Line 40: Line 33:
  Calendar synchronization : Normal sync
  Calendar synchronization : Normal sync
-
Last but not least, here comes the last steps in order to be able to Verify the server certificate against the CA cert.
 
-
$ cd /home/user/.config/syncevolution/garone \
 
-
  && wget -OCA.pem --no-check-certificate https://url_of_CA_cert \
 
-
  && perl -pi -e 's|^(SSLVerifyServer\s*=\s*)0|${1}1|' config.ini \
 
-
  && perl -pi -e 's|^(SSLServerCertificates\s*=\s*).*|$1/home/user/.config/syncevolution/garone/CA.pem|' config.ini
 
-
You can check the whole thing with:
+
- the server certificate is autosigned and syncevolution refuses this by
 +
default so you must edit /home/user/.config/syncevolution/garone/config.ini and set:
-
$ grep ^SSL config.ini
+
  SSLServerCertificates = 0
-
  SSLServerCertificates = /home/user/.config/syncevolution/garone/CA.pem
+
  SSLVerifyServer = 0
-
  SSLVerifyServer = 1
+
-
...and obviously if you fire up a synchronization. Starting with MicroB, you'll be able to browse sync logs at file:///home/user/.cache/syncevolution/
 
-
At the moment I've seen no problem. Recurring events work, two way (normal) sync works quite well too.
+
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
That's all folks
-
 
-
== automatic OTA sync with fcron ==
 
-
 
-
I like automation. 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 ==
== Icons placement ==
Line 92: Line 54:
Ref: http://talk.maemo.org/showpost.php?p=472332&postcount=6
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
 
-
 
-
* is there a phone call now ?
 
-
 
-
dbus-send --system --dest="com.nokia.csd.Call" --print-reply=literal "/com/nokia/csd/call/1" "com.nokia.csd.Call.Instance.GetStatus"
 
-
  uint32 0
 
-
 
-
If this command return is 0 there's a call online.
 
-
 
-
* [[User:Jebba/DBUS]]
 
-
 
-
= Reminders =
 
-
 
-
Some things I want to keep in mind
 
-
 
-
== un-ignore package update ==
 
-
 
-
  rm ~/.hildon-application-manager/{seen,tapped}-updates
 
-
 
-
== how to not index podcast in mediaplayer
 
-
 
-
Add /home/user/MyDocs/Podcasts/ to the NoWatchDirectory line in the tracker config file/home/user/.config/tracker/tracker.cfg
 
-
 
-
Ref: http://www.gossamer-threads.com/lists/maemo/users/62052#62052
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)