mirror of https://github.com/tiyn/wiki
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.
52 lines
1.1 KiB
52 lines
1.1 KiB
5 years ago
|
# Khal
|
||
5 years ago
|
|
||
5 years ago
|
`khal` is a calendar you can use in your terminal.
|
||
|
To sync calendars you'll need `vdirsyncer` aswell.
|
||
5 years ago
|
|
||
5 years ago
|
## Setup
|
||
|
|
||
|
### Arch-Linux
|
||
5 years ago
|
|
||
5 years ago
|
- `pacman -S khal vdirsyncer` - Install needed packages
|
||
|
|
||
5 years ago
|
### Configuration
|
||
|
|
||
5 years ago
|
- To configure vdirsyncer edit a file in `~/.config/vdirsyncer/config`.
|
||
|
|
||
5 years ago
|
```
|
||
|
[general]
|
||
|
status_path = "~/.cache/vdirsyncer/status"
|
||
|
|
||
|
#calendar
|
||
|
[pair private_calendar]
|
||
|
a = "private_calendar_local"
|
||
|
b = "private_calendar_remote"
|
||
|
collections = ["from a", "from b"]
|
||
|
metadata = ["color"]
|
||
|
|
||
|
[storage private_calendar_local]
|
||
|
type = "filesystem"
|
||
|
path = "~/.local/share/pim/calendars/private_calendar"
|
||
|
fileext = ".ics"
|
||
|
|
||
|
[storage private_calendar_remote]
|
||
|
type = "caldav"
|
||
|
url = "https://<url>"
|
||
|
auth = "basic"
|
||
|
username = "<username>"
|
||
|
password = "<password>"
|
||
|
|
||
|
```
|
||
5 years ago
|
|
||
|
- `vdirsyncer discober && vdirsyncer metasync` - After that initialize vdirsyncer.
|
||
|
- `vdirsyncer sync` - Synchronize your data (put it in a crontab to run periodically)
|
||
|
- Edit the `~/.config/khal/config`
|
||
|
- Insert the following lines
|
||
5 years ago
|
```
|
||
|
[calendars]
|
||
5 years ago
|
|
||
5 years ago
|
[[calendars]]
|
||
|
path = ~/.local/share/pim/calendars/*/*
|
||
|
type = discover
|
||
|
```
|