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
Settings save automatically. Configure retention, Quick Pick, privacy filters, startup, backups, storage, and appearance from the app, with config-file editing available for advanced Linux workflows.
~/.local/share/yanklog/history.db~/.config/yanklog/config.toml~/Library/Application Support/YankLog/history.db~/Library/Application Support/YankLog/config.tomlAdvanced 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 = []Backups include the selected history and its metadata. They are written only to the location you choose and can be used to move history between direct and Mac App Store builds.
macOS stores the database key in Keychain. Linux uses the desktop Secret Service when available, with a restrictive-permission local key file as a compatibility fallback. Backup passwords are not stored by YankLog.
Error: "Failed to initialize database: file is not a database"
This can mean an older or damaged database is present. Quit YankLog, preserve the data directory first, then contact support or move the directory aside so the app can create a fresh database. Do not delete the original until you have recovered or intentionally discarded its history.
# Linux — preserve the originalmv ~/.local/share/yanklog ~/.local/share/yanklog-backup# macOS — preserve the originalmv "$HOME/Library/Application Support/YankLog" "$HOME/Library/Application Support/YankLog-backup"