Got a error with themes for GTK

That is what I got when I just try to pick any GTK theme in systemsettings:

╭─astro@garuda in ~
╰─λ systemsettings
qml: Page SubCategoryPage_QMLTYPE_122(0x5ac12e6aca60) is already in the PageRow
qml: Pushed pages do not conform to the rules. Please check the documentation.
qml: push (file:///usr/lib/qt6/qml/org/kde/kirigami/PageRow.qml:223)
onActiveSubCategoryRowChanged (qrc:/qt/qml/org/kde/systemsettings/SubCategoryPage.qml:180)
expression for onClicked (qrc:/qt/qml/org/kde/systemsettings/CategoriesPage.qml:207)
qml: Page SubCategoryPage_QMLTYPE_122(0x5ac12e6aca60) is already in the PageRow
qml: Pushed pages do not conform to the rules. Please check the documentation.
qml: push (file:///usr/lib/qt6/qml/org/kde/kirigami/PageRow.qml:223)
onActiveSubCategoryRowChanged (qrc:/qt/qml/org/kde/systemsettings/SubCategoryPage.qml:180)
expression for onClicked (qrc:/qt/qml/org/kde/systemsettings/SubCategoryPage.qml:215)
fish: Job 1, 'systemsettings' terminated by signal SIGSEGV (Address boundary error)

And when I do the same thing in GIMP:

╭─astro@garuda in ~
╰─λ  gimp

(script-fu:869022): LibGimpBase-WARNING **: 17:06:36.919: script-fu: gimp_wire_read(): error
fish: Job 1, 'gimp' terminated by signal SIGSEGV (Address boundary error)

Please. help!

╭─astro@garuda in ~
╰─λ garuda-inxi
System:
Kernel: 6.9.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=f53b173c-2c57-4e5c-b506-ac412b1c7f3a rw rootflags=subvol=@
quiet loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.1.2 tk: Qt v: N/A info: frameworks v: 6.3.0
wm: kwin_wayland vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: H610M S2H V2 DDR4 v: -CF
serial: <superuser required>
Mobo: Gigabyte model: H610M S2H V2 DDR4 v: x.x
serial: <superuser required> uuid: <superuser required> UEFI: American
Megatrends LLC. v: F26 date: 08/31/2023
CPU:
Info: model: 12th Gen Intel Core i5-12400F bits: 64 type: MT MCP
arch: Alder Lake gen: core 12 level: v3 note: check built: 2021+
process: Intel 7 (10nm ESF) family: 6 model-id: 0x97 (151) stepping: 5
microcode: 0x35
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 480 KiB desc: d-6x48 KiB; i-6x32 KiB L2: 7.5 MiB desc: 6x1.2 MiB
L3: 18 MiB desc: 1x18 MiB
Speed (MHz): avg: 811 high: 937 min/max: 800/4400 scaling:
driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 799 4: 800
5: 800 6: 800 7: 800 8: 800 9: 798 10: 801 11: 937 12: 800 bogomips: 59904
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA GP104 [GeForce GTX 1060 3GB] driver: nvidia v: 555.58.02
alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current (as of
2024-06; EOL~2026-12-xx) arch: Pascal code: GP10x process: TSMC 16nm
built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none
off: HDMI-A-1 empty: DP-1, DP-2, DP-3, DVI-D-1 bus-ID: 01:00.0
chip-ID: 10de:1b84 class-ID: 0300
Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
compositor: kwin_wayland driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
display-ID: 0
Monitor-1: HDMI-A-1 res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia
x11: drv: zink inactive: device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 555.58.02
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1060
3GB/PCIe/SSE2 memory: 2.93 GiB display-ID: :1.0
API: Vulkan v: 1.3.279 layers: 14 device: 0 type: discrete-gpu name: NVIDIA
GeForce GTX 1060 3GB driver: nvidia v: 555.58.02 device-ID: 10de:1b84
surfaces: xcb,xlib,wayland device: 1 type: cpu name: llvmpipe (LLVM
18.1.8 256 bits) driver: mesa llvmpipe v: 24.1.3-arch1.1 (LLVM 18.1.8)
device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Audio:
Device-1: Intel Alder Lake-S HD Audio vendor: Gigabyte driver: snd_hda_intel
v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:7ad0 class-ID: 0403
Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
chip-ID: 10de:10f0 class-ID: 0403
API: ALSA v: k6.9.8-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.2.0 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd
Drives:
Local Storage: total: 3.78 TiB used: 1.54 TiB (40.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 model: DGSM3001TS33T size: 953.87 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
tech: SSD serial: <filter> fw-rev: V1013A0 temp: 44.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10EARS-00Y5B1
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
tech: N/A serial: <filter> fw-rev: 0A80 scheme: MBR
ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD10EZEX-00BN5A0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
fw-rev: 1A01 scheme: MBR
ID-4: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD10EZEX-00RKKA0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s tech: N/A serial: <filter> fw-rev: 0A80
scheme: MBR
ID-5: /dev/sdd maj-min: 8:48 model: SSD 128GB size: 119.24 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter>
fw-rev: 6313 scheme: MBR
Partition:
ID-1: / raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 132.56 GiB (13.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 132.56 GiB (13.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 132.56 GiB (13.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 132.56 GiB (13.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.18 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
ID-2: swap-2 type: partition size: 119.24 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sdd1 maj-min: 8:49
Sensors:
System Temperatures: cpu: 45.0 C mobo: 35.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB available: 31.19 GiB used: 5.91 GiB (18.9%)
Processes: 359 Power: uptime: 3h 56m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.43 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 2071 libs: 599 tools: octopi,pamac,paru
Compilers: gcc: 14.1.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: konsole inxi: 3.3.35
Garuda (2.6.26-1):
System install date:     2024-07-04
Last full system update: 2024-07-10
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       No/Undetected
Failed units:

=> Looks like both qt and gtk are screwed for you.
Have you tried to :

  1. Update your system
  2. Change your theme
    ----> #Install gsettins and try
    gsettings set org.gnome.desktop.interface gtk-theme "Adwaita"
    #. To revert at least back to Adwaita

Probably add

export QT_QPA_PLATFORMTHEME="qt5ct"
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

to .profile

Just wrote this assuming its the themes that are screwing you up. You could probably look at your .history and see where you messed up.

I created a new user and tried to change a theme in GIMP. I got the same error. So, it’s not in my home directory, i think.
gsettings-qt and gsettings-desktop-schemas are both installed.
Anyway, I’ve done everything above with no result.

I know, that is not good but that’s what I did. Because there is a conflict between sweet-gtk-theme and plasma5-themes-sweet-full, I had to manually download sweet theme from gnome-look.org and install files in my ~/.config directory. That works fine but I can’t use systemsettings to change gtk themes and I hope that will be fixed sooner or later)

And what about GIMP, I edited ~/.config/GIMP/2.10/ themerc using a text editor. But GIMP rewrites themerc file every time I run it, so I had to use command chmod 555 to prevent rewriting. Criticize me, please, idk what else I can do.

Everything is good now since my system have been updated.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.