These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.2 KiB

8 months ago
  1. # Contacts
  2. To use a terminal addressbook the following programs are needed.
  3. | programm | description |
  4. | ---------- | ----------------------- |
  5. | khard | terminal addressbook |
  6. | vdirsyncer | sync tool for calendars |
  7. ## Installation and configuration
  8. To configure vdirsyncer edit a file in ```~/.config/vdirsyncer/config```.
  9. ```
  10. [general]
  11. status_path = "~/.cache/vdirsyncer/status"
  12. #contacts
  13. [pair private_contacts]
  14. a = "private_contacts_local"
  15. b = "private_contacts_remote"
  16. collections = ["from a", "from b"]
  17. [storage private_contacts_local]
  18. type = "filesystem"
  19. path = "~/.local/share/pim/contacts"
  20. fileext = ".vcf"
  21. [storage private_contacts_remote]
  22. type = "carddav"
  23. url = "https://<url>"
  24. username = "<username>"
  25. password = "<password>"
  26. auth = "basic"
  27. ```
  28. After that initialize vdirsyncer.
  29. ```vdirsyncer discover && vdirsyncer metasync```
  30. And keep regularly syncing your data (crontab).
  31. The command to sync is the following.
  32. ```vdirsyncer sync```
  33. Now you just need to add and configure the config and youre done.
  34. ```
  35. mkdir ~/.config/khard
  36. cp /usr/share/doc/khard/khard.conf.example ~/.config/khard/khard.conf
  37. ```
  38. ## Mutt
  39. It is possible to use your khard-addressbook in mutt.
  40. To see how it works check out the [Mutt](/#arch/mail.md).