I am new to mxlinux and this is my first question here. Hello to all.
I'm on MXLinux XFCE.
I've setup the qt5ct app on xfce before, but not on mx. In another distro I added a line to /etc/environment, but that did nothing in mx. so I was getting this message at the top of the QT5 settings app (qt5ct).
So I searched this forum and found a post in which I read that I should take a look at /etc/X11/Xsession.d/56xfce4-qtconfig. So that's what I did.QT_QPA_PLATFORMTHEME environment variable is not set(required value: qt5ct
After having read the contents of that file I created ~/.config/MX-Linux/qt_plugin.conf, pasted
Code: Select all
qt5ct
Logged out but no change, so back into /etc/X11/Xsession.d/56xfce4-qtconfig. In here I changed the last line of this chunk:
Code: Select all
#set qt environment variables to follow user chosen platform
#default plugin is gtk2
#$HOME/.config/MX-Linux/qt_plugin.conf can hold a user settable value
file="$HOME/.config/MX-Linux/qt_plugin.conf"
plugin="gtk2"
Code: Select all
#set qt environment variables to follow user chosen platform
#default plugin is gtk2
#$HOME/.config/MX-Linux/qt_plugin.conf can hold a user settable value
file="$HOME/.config/MX-Linux/qt_plugin.conf"
plugin="qt5ct"
After a reboot finally the QT5 app lost the error message and I was able to use kvantum to theme a coupld of kde apps I use.
So at the moment all is well, but I am wondering if I have wrongly configured an important system file that will cause some kind of system breakage after a future update. Or should it be ok? Sorry for the basic question. I am a big fan of linux but not a big expert.