[Shr-User] How to flush the whole pim
Tom Hacohen
tom at stosb.com
Sun Mar 28 14:42:56 CEST 2010
On Sun, Mar 28, 2010 at 12:18 PM, Pierre Bernhardt <
pierre at starcumulus.owl.de> wrote:
> Hello,
>
> how I can flush the whole pim, please?
>
> Is it completely now only stored in
> /etc/freesmartphone/opim/pim.db
>
> I looks like only opimd contacts use this. If I flush the contacts
> with
>
> delete from contacts
> go
> delete from contacts_email
> go
> delete from contacts_fields
> go
> delete from contacts_generic
> go
> delete from contacts_name
> go
> delete from contacts contacts_phone number
> go
>
> the contacts are gone from opimd contacts. But in normal contacts
> there are still available.
>
>
> Are the other db's still used under same dir?
>
> root at om-gta02:~# ls -l /etc/freesmartphone/opim/
> -rw-r--r-- 1 root root 150528 Mar 28 11:06 pim.db
> -rw-r--r-- 1 root root 25600 Mar 14 18:31 sqlite-calls.db
> -rw-r--r-- 1 root root 47104 Mar 27 10:15 sqlite-contacts.db
> -rw-r--r-- 1 root root 8192 Jan 15 10:32 sqlite-dates.db
> -rw-r--r-- 1 root root 17408 Mar 14 18:39 sqlite-messages.db
> -rw-r--r-- 1 root root 7168 Jan 15 10:32 sqlite-notes.db
> -rw-r--r-- 1 root root 7168 Jan 15 10:32 sqlite-tasks.db
>
> I've to delete the entries in sqlite-contacts.db but afterwards in contacts
> the entries are still shown.
>
> I'm completely confused.
>
> MfG..
> Pierre
>
> phoneuid caches the contacts, and if you delete them straight from sql, you
have to
killall phoneuid and start it again (/etc/X11/Xsession.d/80phoneuid) to
remove the cache.
When you delete correctly with opimd, opimd sends a signal about deletion,
and updates phoneuid correctly.
--
Tom.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shr-project.org/pipermail/shr-user/attachments/20100328/e2d27c4c/attachment.htm>
More information about the Shr-User
mailing list