From cf9fa9351bc098df4edaf34a299bfa6c2d9249c0 Mon Sep 17 00:00:00 2001 From: benedictjohannes Date: Mon, 3 Jan 2022 12:28:04 +0700 Subject: revise sections --- Mounting-on-login-with-KDE-Wallet.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mounting-on-login-with-KDE-Wallet.md b/Mounting-on-login-with-KDE-Wallet.md index f325142..64827bb 100644 --- a/Mounting-on-login-with-KDE-Wallet.md +++ b/Mounting-on-login-with-KDE-Wallet.md @@ -43,12 +43,16 @@ Now the stored password can be accessed using kwallet-query -f Passwords -r gocryptfspass ``` +# Mounting with password from KDE Wallet + The password can be used with the `--extpass` option: ```bash gocryptfs --extpass="kwallet-query -f Passwords -r gocryptfspass kdewallet" /path/to/encyrpted/folder /path/to/plain/folder ``` +## Mounting on login + To have the mounted folder start when logging into KDE, create the a desktop file in autostart folder `~/.config/autostart` (like `~/.config/autostart/mount-gocryptfs.desktop`) with the previous command: ``` -- cgit v1.2.3