This Krunner plugin allows you to easily mount/unmount configured Veracrypt volumes.
Additionally it provides pass integration.
Info: This plugin has been rewritten and now uses the KRunner DBus API and has some more optimizations, please go to https://github.com/alex1701c/krunner-veracryptrunner/ for details
Debian/Ubuntu:
sudo apt install cmake extra-cmake-modules build-essential libkf5runner-dev libkf5textwidgets-dev qtdeclarative5-dev gettext xdotool wmctrl
openSUSE
sudo zypper install cmake extra-cmake-modules libQt5Widgets5 libQt5Core5 libqt5-qtlocation-devel ki18n-devel ktextwidgets-devel kservice-devel krunner-devel gettext-tools xdotool wmctrl
Fedora
sudo dnf install cmake extra-cmake-modules kf5-ki18n-devel kf5-kservice-devel kf5-krunner-devel kf5-ktextwidgets-devel gettext xdotool wmctrl
The easiest way to install is:
curl https://raw.githubusercontent.com/alex1701c/VeracryptRunner/master/install.sh | bash
Or you can do it manually:
git clone https://github.com/alex1701c/VeracryptRunner
cd VeracryptRunner
mkdir build
cd build
cmake -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins` -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install
kquitapp5 krunner 2> /dev/null; kstart5 --windowclass krunner krunner > /dev/null 2>&1 &
# Launch system settings module to configure Volumes
kcmshell5 kcm_plasmasearch &