diff options
-rw-r--r-- | Mounting-on-login-with-KDE-Wallet.md | 4 |
1 files changed, 4 insertions, 0 deletions
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: ``` |