Data paths
- Linux database:
~/.local/share/yanklog/history.db - Linux config:
~/.config/yanklog/config.toml - macOS database:
~/Library/Application Support/YankLog/history.db - macOS config:
~/Library/Application Support/YankLog/config.toml
Configure retention, preview sizes, Quick Picker behavior, privacy filters, storage, and appearance with GUI settings or direct config file edits.
~/.local/share/yanklog/history.db~/.config/yanklog/config.toml~/Library/Application Support/YankLog/history.db~/Library/Application Support/YankLog/config.toml
Advanced users can edit settings directly in config.toml.
max_history_size = 1000
poll_interval_ms = 500
max_preview_length = 100
window_width = 500
window_height = 600
retention_days = 0
theme = "system"
[keybindings]
quick_pick = "Ctrl+Shift+V"
quick_pick_items = 10
quick_pick_opacity = 0.95
[privacy]
ignore_secret_like = true
ignore_one_time_codes = false
min_text_length = 1
max_text_length = 0
ignored_patterns = [] Error: "Failed to initialize database: file is not a database"
This usually means older unencrypted data is still present. Remove the old local data directory and start fresh.
# Linux rm -rf ~/.local/share/yanklog # macOS rm -rf "$HOME/Library/Application Support/YankLog"