[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #3195: Gambas does not detect correct icon theme under lxqt desktop
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #3195: Gambas does not detect correct icon theme under lxqt desktop
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Fri, 24 Jul 2026 15:47:24 GMT
- To: tmorehen@xxxxxxxxxxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.3195&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- Gambas does not detect correct icon theme under lxqt desktop Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- I recently switched to a lxqt desktop theme (cachyos) and noticed that Gambas did not detect the system icon theme. All icons in the ide and in my programs were from the stock theme no matter what I set the system icon theme. Setting the ide icon theme to desktop did nothing. Setting the ide to the specific icon theme got the correct icons but only for the ide. My program icons were remained the stock icons. I found the reason for this. Apologies for stating what you already know, In gb.form/stock.class, SearchTheme looks through the various desktop environment's configuration files for the current icon theme. Unfortunately, lxqt's configuration is not searched, so the default icon theme is used. Adding the following code should fix this: Case "lxqt" If Not sTheme Then aFind = FindInConfigFile([User.Home &/ ".config/lxqt/lxqt.conf","/usr/share/lxqt/lxqt.conf"], "icon_theme=*") If aFind Then sTheme = Trim(aFind[0]) Endif If sTheme Then GetAllThemePath("gnome", $aRoots, sTheme) 'AddGlobalPath("gnome", "oxygen") AddGlobalPath("gnome", "gnome") 'AddGlobalPath("gnome", "hicolor") BTW, Oxygen seems to be the preferred icon theme for lxqt on cachyos. It provides all the icons that lxqt-specific programs specify in their desktopfiles. My other icon themes do not. Would it be helpful to uncomment AddGlobalPath("gnome",oxygen) and AddGlobalPath("gnome", "hicolor") in the above code? System information ------------------ [System] Gambas=3.22 OperatingSystem=Linux Distribution=Manjaro Linux Kernel=6.18.26-1-MANJARO Architecture=x86_64 Cores=16 Memory=61165M Language=en_CA.utf8 Platform=x11 Desktop=XFCE DesktopResolution=96 DesktopScale=9 WidgetTheme=breeze-dark Font=Monospace,12 DarkTheme=True [Programs] clang=clang version 22.1.3 gcc=gcc (GCC) 15.2.1 20260209 git=git version 2.54.0 msgmerge=msgmerge (GNU gettext-tools) 1.0 [Libraries] Cairo=libcairo.so.2.11804.4 Curl=libcurl.so.4.8.0 DBus=libdbus-1.so.3.38.3 GDK3=libgdk-3.so.0.2420.32 GStreamer=libgstreamer-1.0.so.0.2802.0 GTK+3=libgtk-3.so.0.2420.32 OpenGL=libGL.so.1.7.0 Poppler=libpoppler.so.159.0.0 QT5=libQt5Core.so.5.15.18 QT6=libQt6Core.so.6.11.0 RSvg=librsvg-2.so.2.62.1 SDL=libSDL2-2.0.so.0.3200.66 SQLite3=libsqlite3.so.3.53.0 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DEBUGINFOD_URLS=https://debuginfod.archlinux.org DESKTOP_SESSION=gbde DISPLAY=:0 EDITOR=/usr/bin/micro GB_GUI=gb.gtk3 GDMSESSION=gbde GDM_LANG=en_CA.utf8 GTK2_RC_FILES=<home>/.gtkrc-2.0 GTK3_MODULES=xapp-gtk3-module:xapp-gtk3-module GTK_MODULES=canberra-gtk-module:canberra-gtk-module GTK_OVERLAY_SCROLLING=0 GTK_THEME=Breeze-Dark HOME=<home> LANG=en_CA.utf8 LANGUAGE=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME=<user> MAIL=/var/spool/mail/<user> MOTD_SHOWN=pam PATH=<home>/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD=<home> QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LOGGING_RULES=*.debug=false QT_QPA_PLATFORMTHEME=gtk2 SHELL=/bin/bash SHLVL=0 TZ=:/etc/localtime USER=<user> VISUAL=/usr/bin/gbTE XAUTHORITY=<home>/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user> XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=gbde XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----
| [Gambas-bugtracker] Bug #3195: Gambas does not detect correct icon theme under lxqt desktop | <bugtracker@xxxxxxxxxxxxxx> |
| [Gambas-bugtracker] Bug #3195: Gambas does not detect correct icon theme under lxqt desktop | <bugtracker@xxxxxxxxxxxxxx> |
| [Gambas-bugtracker] Bug #3195: Gambas does not detect correct icon theme under lxqt desktop | <bugtracker@xxxxxxxxxxxxxx> |
| [Gambas-bugtracker] Bug #3195: Gambas does not detect correct icon theme under lxqt desktop | <bugtracker@xxxxxxxxxxxxxx> |