Open spamegg1 opened 3 months ago
Can confirm that this bug 1) occurs on update, and 2) is resolved via the .profile
addition. Unless there's a real need to remove the Qt5 settings in LM22, I think it would be great to have it installed/upgraded by default.
Also, I kept track of which applications were listed as orphaned/incompatible during the upgrade process, and qt5ct
was not listed among them.
In mint 22 somehow the qt5 config file is corrupted. Hence it can't open up and shows segfault.
do this in terminal:
mv ~/.config/qt5ct/qt5ct.conf ~/.config/qt5ct/qt5ct.conf.bck
Then start qt5ct
qt5ct
Configure qt5ct
add this to ~/.profile:
export QT_QPA_PLATFORMTHEME=qt5ct
Logout and login. Start qt app like VLC.
The defaults are mostly fine for light-themed QT5 apps, but I found that the best settings for a dark theme (tested on Kate and Okular) was Style: gtk2, icon theme: breeze dark or ePapirus dark, and all provided style sheets enabled. Specifically, if fusion-fixes.qss is not enabled, all dark theming is utterly broken. I think these were previously the defaults in LM21.3, but I'm not 100% sure.
The profile business does not stop qt5ct from crashing if one runs qt5ct as root; and one needs to run run qt5ct as root in order to theme the program KsystemLog properly. (Still, despite the crash, one can in that way theme KsystemLog correctly.)
I found that the best settings for a dark theme (tested on Kate and Okular) was Style: gtk2, icon theme: breeze dark or ePapirus dark, and all provided style sheets enabled. Specifically, if fusion-fixes.qss is not enabled, all dark theming is utterly broken.
In order to fix - or keep fixed - one element in KsystemLog, namely, its drop-downs, I find that one needs to run qt5ct as a normal user and ensure that 'fusion-fixes' is not enabled. (It remains true that one needs to run qt5ct as root in order to fix Ksystemlogs log line colours. Here, i.e. when running qt5ct as root, and when trying to fix KsystemLog, it seems that it does not matter whether 'fusion-fixes' are enabled. What a mess!)
EDIT: But I do not find that ' if fusion-fixes.qss is not enabled [as a normal user], all dark theming is utterly broken.' But then again there are not that many qt programs that I have tested.
Distribution
Mint 22
Package version
6.2.7
Graphics hardware in use
Graphics: Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series] driver: amdgpu v: kernel Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu resolution: 1920x1080~60Hz API: EGL v: 1.5 drivers: radeonsi,swrast platforms: x11,surfaceless,device API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.9-0ubuntu0.1 renderer: AMD Radeon Vega 11 Graphics (radeonsi raven LLVM 17.0.6 DRM 3.57 6.8.0-39-generic)
Frequency
Always
Bug description
(Not sure where this belongs, probably not related to Cinnamon. Sorry I could not think of any other place to report.)
Qt5 Settings, or
qt5ct
fails to launch after install.Steps to reproduce
apt install qt5ct
qt5ct
(or launch Qt5 Settings from the Menu, nothing happens).Expected behavior
No crash, should work.
Additional information
Others having the issue: https://forums.linuxmint.com/viewtopic.php?p=2500291
There IS a simple solution: add this to
~/.profile
:Log out, log back in. Problem disappears permanently.