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.

47 lines
1.1 KiB

8 months ago
8 months ago
  1. # Calendar
  2. `khal` is a calendar you can use in your terminal.
  3. To sync calendars you'll need `vdirsyncer` aswell.
  4. ## Installation and configuration
  5. - `pacman -S khal vdirsyncer` - Install needed packages
  6. - To configure vdirsyncer edit a file in `~/.config/vdirsyncer/config`.
  7. ```
  8. [general]
  9. status_path = "~/.cache/vdirsyncer/status"
  10. #calendar
  11. [pair private_calendar]
  12. a = "private_calendar_local"
  13. b = "private_calendar_remote"
  14. collections = ["from a", "from b"]
  15. metadata = ["color"]
  16. [storage private_calendar_local]
  17. type = "filesystem"
  18. path = "~/.local/share/pim/calendars/private_calendar"
  19. fileext = ".ics"
  20. [storage private_calendar_remote]
  21. type = "caldav"
  22. url = "https://<url>"
  23. auth = "basic"
  24. username = "<username>"
  25. password = "<password>"
  26. ```
  27. - `vdirsyncer discober && vdirsyncer metasync` - After that initialize vdirsyncer.
  28. - `vdirsyncer sync` - Synchronize your data (put it in a crontab to run periodically)
  29. - Edit the `~/.config/khal/config`
  30. - Insert the following lines
  31. ```
  32. [calendars]
  33. [[calendars]]
  34. path = ~/.local/share/pim/calendars/*/*
  35. type = discover
  36. ```