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.

50 lines
1.1 KiB

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