You are not logged in.
Hello !
I have installed Apper for manage software, but I have a problem, I don't have icons¹ (Screenshot : 1)
I have try to install Qt5ct and set QT_QPA_PLATFORMTHEME=qt5ct its work (Screenshot : 2) and launch (QT_QPA_PLATFORMTHEME=qt5ct apper) : Its work.
BUT, problem is here :
I try to set QT_QPA_PLATFORMTHEME to qt5ct but this env var is set as q4ostde. I have try several methods :
→ Set variable in .bashrc and .profile (I don't have .bash_login) in my home directory. QT_QPA_PLATFORMTHEME is set as qt5ct if I launch konsole, but not from session manager.
→ Modify /etc/X11/Xsession.d/99qt5ct for force set : Don't set.
Do you know where QT_QPA_PLATFORMTHEME is set as q4ostde ?
Thank's
# Enable qt5ct by default unless another PLATFORMTHEME option is set
# or KDE is running.
#if [ -z "$QT_QPA_PLATFORMTHEME" ] && [ "$XDG_CURRENT_DESKTOP" != "KDE" ]
#then
export QT_QPA_PLATFORMTHEME=qt5ct
#fi
Screenshots :
1 :
2 :
Last edited by Aristide (2021-03-27 12:33)
Offline
So, I add informations :
I have try to add a script shell (and chmod +x) for set variable into ~/.trinity/env and ~/.trinity/Autostart too : Same problem.
I use trinity Desktop
Offline
What desktop profile do you apply at install phase ?
You shouldn't modify the "QT_QPA_PLATFORMTHEME" variable, as it defines theme for QT5 applications to integrate in Trinity. We would recommend you just to install "oxygen-icon-theme" package to add the needed icons:
$ sudo apt install oxygen-icon-theme
The QT_QPA_PLATFORMTHEME is defined in "/opt/trinity/env/50_q4loginscr01.sh", however we wouldn't recommend you to modify it, as noted above. You can also edit the file "$HOME/.configtde/q4tde/q4tde.conf" file to change QT5 settings in Trinity, it's the recommended way.
Offline
Hello !
Thank's for your response
I use breeze theme icon (sorry, I forget to specify).
OK. I try to edit this file but I have same problem (try after logoff/logon).
[General]
icon_theme=breeze
;single_click_activate=false
;theme=light
;tool_button_style=ToolButtonTextUnderIcon
[Mouse]
cursor_theme=breeze_cursors
[Qt]
;doubleClickInterval=400
;font="Droid Sans,9,-1,5,50,0,0,0,0,0"
;style=Fusion
;wheelScrollLines=3
user@q4os-desktop:/usr/share/icons$ ls
Adwaita Breeze_Snow desktop-base hicolor Tango
breeze cab_extract.png DMZ-Black locolor vendor
breeze_cursors cab_view.png DMZ-White oxygen Waterleaf
breeze-dark default gnome q4os-nuvola
For profile, I have selected « TDE » desktop with full desktop set.
Last edited by Aristide (2021-03-26 09:58)
Offline
Well, the applications seems to not respect the icon settings. So, please try to uncomment the "style" line in the "q4tde.conf" file.
Offline
Hm. Ok. I have try to edit q4tde.conf (both style=Fusion (default) and QtCurve, and Breeze : Same problem).
App theme is changed (in direct live), but not icon (I have again try to logoff/logon).
But its strange, because only « Apper » is impacted by this problem.
Kdevelop is loaded correcly with icons.
Offline
You could also try to run affected applications from terminal and check the terminal output for errors.
Offline
Hm. Maybe this « pixmap » error :
user@q4os-desktop:~$ apper
QCommandLineParser: option not defined: "install-provide-file"
kf5.kwidgetsaddons: Invalid pixmap specified.
kf5.kwidgetsaddons: Invalid pixmap specified.
apper:
apper:
This error not appear with qt5ct :
user@q4os-desktop:~$ QT_QPA_PLATFORMTHEME=qt5ct apper
qt5ct: using qt5ct plugin
QCommandLineParser: option not defined: "install-provide-file"
apper:
apper:
Offline
We will investigate the issue and post back on updates.
Offline
It would be also helpful, if you summarize the issue and create a new report at our bug tracker https://sourceforge.net/p/q4os/tickets/ . Thanks for reproting.
Offline
We conclude it's a Debian upstream bug. The same issue shows at a clean pure LXQT Debian installation https://cdimage.debian.org/debian-cd/cu … 4-lxqt.iso , so it would be appropriate to report that as a Debian bug.
Offline
Hello.
Thank's for your response
Offline
Getting qt5 apps to behave can be a pain. Getting them to behave in TDE is even more of a pain to impossible.
However, the assumption that it is a bug may be incorrect.
Installed Debian LXQT as above.
Installed qt5ct (the style plugins are already installed)
Run
env QT_QPA_PLATFORMTHEME=qt5ct qt5ct
It takes a few moments to load.
Configure using Fusion, Sans/Mono, Oxygen Icons and save.
Install apper
Run apper - it glitches as previously described
So, you need to set the environment on launching the program
env QT_QPA_PLATFORMTHEME=qt5ct apper
All good. You can fit this into a custom launcher.
As regards doing this in TDE - well I find it easier to use a VM running LXDE (LXQT or XFCE will do) to create the ~/.config/qt5ct folder and just drop it where I need it.
Offline