Running Kubuntu 17.04 and want to install Kvantum.
But apparently, there is no package.
So, how do I do that? May be, a PPA? May be, download a .deb file?
When I installed the Adapta-KDE theme, Kvantum manager installed automatically:
sudo add-apt-repository ppa:papirus/papirus sudo apt-get update sudo apt-get install --install-recommends adapta-kde
Hope that it helps! :-)
For Debian / Ubuntu / Linux Mint, there are deb binaries available to download but for a quite old version (Kvantum 0.10.5, released back in October, 2017).
To install the latest Kvantum in Debian, Ubuntu or Linux Mint, you can compile it from source. To do this, follow the steps below.
sudo apt install g++ cmake libx11-dev libxext-dev qtbase5-dev libqt5svg5-dev libqt5x11extras5-dev libqt4-dev qttools5-dev-tools libkf5windowsystem-dev git
mkdir -p ~/repos/tsujan && cd ~/repos/tsujan git clone https://github.com/tsujan/Kvantum.git && cd Kvantum git checkout master
cd Kvantum mkdir build && cd build cmake .. make
sudo make install
echo "export QT_STYLE_OVERRIDE=kvantum" >> ~/.profile
After this, logout and log back in. To apply Kvantum system-wide, and not just for your user, you could add
export QT_STYLE_OVERRIDE=kvantum in
/etc/environment instead of
If you want to uninstall Kvantum installed from source, start by opening a terminal, navigating to the folder where you've extracted (in the build folder from the Kvantum/Kvantum directory if you've followed our instructions) and built the source - e.g.
cd ~/repos/tsujan/Kvantum/Kvantum/build, and running this command:
sudo make uninstall
You'll also need to remove the
export QT_STYLE_OVERRIDE=kvantum line from your
~/.profile file. To do this, open
~/.profile with a text editor, e.g. kate:
And remove the
QT_STYLE_OVERRIDE=kvantum line from this file, then save it, logout and log back in.
Source: https://www.linuxuprising.com/2018/05/use-custom-themes-for-qt-applications.html with some adaptations of my own.