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.

54 lines
1.1 KiB

8 months ago
  1. # Calendar
  2. To use a terminal calendar the following programs are needed.
  3. | programm | description |
  4. | ---------- | ----------------------- |
  5. | khal | terminal calendar |
  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. #calendar
  13. [pair private_calendar]
  14. a = "private_calendar_local"
  15. b = "private_calendar_remote"
  16. collections = ["from a", "from b"]
  17. metadata = ["color"]
  18. [storage private_calendar_local]
  19. type = "filesystem"
  20. path = "~/.local/share/pim/calendars/private_calendar"
  21. fileext = ".ics"
  22. [storage private_calendar_remote]
  23. type = "caldav"
  24. url = "https://<url>"
  25. auth = "basic"
  26. username = "<username>"
  27. password = "<password>"
  28. ```
  29. After that initialize vdirsyncer.
  30. ```vdirsyncer discover && vdirsyncer metasync```
  31. And keep regularly syncing your data (crontab).
  32. The command to sync is the following.
  33. ```vdirsyncer sync```
  34. Finally add a ```~/.config/khal/config``` and you're ready to go.
  35. ```
  36. [calendars]
  37. [[calendars]]
  38. path = ~/.local/share/pim/calendars/*/*
  39. type = discover
  40. ```