Garuda apps theme suddenly changed

System:
  Kernel: 6.5.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=db5ad2d3-011a-415d-b500-980cffc68a0c rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=4d1e366d-81b5-4f61-89b6-9f79c56f1412 loglevel=3
  Desktop: GNOME v: 44.5 tk: GTK v: 3.24.38 wm: gnome-shell dm: 1: GDM
    v: 44.1 2: SDDM note: stopped Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ZenBook UX325EA_UX325EA v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: UX325EA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: UX325EA.317 date: 08/09/2022
Battery:
  ID-1: BAT0 charge: 40.6 Wh (70.0%) condition: 58.0/67.1 Wh (86.5%)
    volts: 15.9 min: 15.9 model: ASUSTeK UX325 type: Li-ion serial: <filter>
    status: not charging cycles: 155
CPU:
  Info: model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
    microcode: 0xAC
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB L3: 8 MiB
    desc: 1x8 MiB
  Speed (MHz): avg: 400 min/max: 400/4200 scaling: driver: intel_pstate
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400
    8: 400 bogomips: 38707
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1, HDMI-A-2,
    HDMI-A-3, HDMI-A-4, HDMI-A-5 bus-ID: 0000:00:02.0 chip-ID: 8086:9a49
    class-ID: 0300
  Device-2: Quanta USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:3 chip-ID: 0408:30c0
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.1
    compositor: gnome-shell driver: gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Samsung 0x4158 built: 2020 res: 1920x1080 dpi: 166
    gamma: 1.2 size: 294x165mm (11.57x6.5") diag: 337mm (13.3") ratio: 16:9
    modes: 1920x1080
  API: Vulkan v: 1.3.264 layers: 3 device: 0 type: integrated-gpu name: Intel
    Xe Graphics (TGL GT2) driver: mesa intel v: 23.1.8-arch1.1
    device-ID: 8086:9a49 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
    v: 23.1.8-arch1.1 (LLVM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: ASUSTeK
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401
  API: ALSA v: k6.5.5-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.80 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: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:4 chip-ID: 8087:0026
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
  Local Storage: total: 476.94 GiB used: 75.63 GiB (15.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM512GD3JX013N
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 41000C20 temp: 40.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 111.14 GiB size: 111.14 GiB (100.00%)
    used: 75.63 GiB (68.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 1024 MiB size: 1022 MiB (99.80%)
    used: 580 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-3: /home raw-size: 111.14 GiB size: 111.14 GiB (100.00%)
    used: 75.63 GiB (68.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-4: /var/log raw-size: 111.14 GiB size: 111.14 GiB (100.00%)
    used: 75.63 GiB (68.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-5: /var/tmp raw-size: 111.14 GiB size: 111.14 GiB (100.00%)
    used: 75.63 GiB (68.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 9.59 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p7 maj-min: 259:7
  ID-2: swap-2 type: zram size: 15.32 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 288 Uptime: 1m wakeups: 47 Memory: total: 16 GiB
  available: 15.32 GiB used: 2.29 GiB (14.9%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages: 1412
  pm: pacman pkgs: 1381 libs: 394 tools: pamac,paru,yay pm: flatpak pkgs: 31
  Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.30
Garuda (2.6.16-1):
  System install date:     2023-09-25
  Last full system update: 2023-09-29
  Is partially upgraded:   Yes
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:     

last night everything is okay but from today after everything looks odd. Also vlc black theme changed to white one I don’t know what’s happening. Really need help…to fix this issue

Most likely this is not the cause of your issue, but it should be fixed asap.
A garuda-update normally does the trick.

1 Like

How can i fix this ? any hint

Execute garuda-update from terminal…
For the theming, I’m afraid you’ll have to wait for a GNOME helper. Maybe check Settings > Appearance

1 Like

The issue is the way we were theming Qt apps on Gnome was with the QGnomePlatform project, which is sadly no longer being maintained: GitHub - FedoraQt/QGnomePlatform: QPlatformTheme for a better Qt application inclusion in GNOME

The packages have already been removed from the Arch repos. They are still in the AUR, and if you install them that way it would be an easy fix for your issue:

paru -S qgnomeplatform-qt5-git qgnomeplatform-qt6-git

However, installing unmaintained packages from the AUR is not recommended and it is not likely to be something that will work in the long term unless development of the project resumes.

Moving forward–or at least for now–we are going to switch to using Kvantum to theme Qt apps on Gnome. It has some limitations, but Gnome doesn’t have a lot of options anymore and Kvantum seems like it’s better than nothing.

If you don’t have it installed yet, you can pull it down with Pacman:

sudo pacman -S kvantum

Kvantum has a bunch of built-in themes you can use, or you can install this one which is meant to match the Libadwaita style (it’s reasonably close): GitHub - GabePoel/KvLibadwaita: Libadwaita style theme for Kvantum. Based on Colloid-kde.

You will have to set a few environment variables to get Kvantum theming to work:

sudo micro /etc/profile.d/environment.sh
#!/bin/bash

# If it's a Wayland session, set some environment variables.

if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
	export QT_QPA_PLATFORM=wayland
	export MOZ_ENABLE_WAYLAND=1
fi

# Set some other environment variables

export QT_STYLE_OVERRIDE=kvantum

Save and exit, then make the script executable:

sudo chmod +x /etc/profile.d/environment.sh

Log out, log back in, and you should be good to go setting up Kvantum. Run kvantummanager from the command line to launch the application to get your new theme set up. Run it with sudo to configure a theme for root applications if you’d like.

Some of the root applications need their .desktop files modified to launch from the menu if you are running Wayland, by the way. You may have noticed that if you tried to launch one of them (it doesn’t do anything). There are some changes coming down soon to fix that, but in the meanwhile you can edit the .desktop file yourself if you want to to get them working (it’s just one line per file):

sudo micro /usr/share/applications/garuda-boot-options.desktop

Change the Exec= line to this:

Exec=/usr/lib/garuda/pkexec-gui garuda-boot-options

You can do the same thing to fix Garuda Network Assistant if you wish.

pkexec-gui won’t use the Kvantum theme by default unfortunately. There is a change in the works to fix that, but until it comes down you’d have to add the change manually if you want root apps to honor your theme when you launch them with pkexec-gui.

sudo micro /usr/lib/garuda/pkexec-gui
#!/bin/bash

# Elevate
if [[ $EUID -ne 0 ]]; then
    exec pkexec /usr/lib/garuda/pkexec-gui "$@"
    exit 1
fi

# Restore some variables from parent process
while IFS= read -rd '' var; do export "$var"; done < <(grep --null-data -ae "^\(XDG_CURRENT_DESKTOP\|WAYLAND_DISPLAY\|XDG_RUNTIME_DIR\|XDG_SESSION_TYPE\|XCURSOR_SIZE\|LC_.*\|LANG\|LANGUAGE\|QT_WAYLAND_FORCE_DPI\|QT_STYLE_OVERRIDE\|\)=.*\$" /proc/$PPID/environ)
if [[ -v WAYLAND_DISPLAY ]]; then
    export WAYLAND_DISPLAY="$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY/$QT_STYLE_OVERRIDE"
fi
export XDG_RUNTIME_DIR="/run/user/0"
exec "$@"

This may be more hacking around than you bargained for, but like I mentioned a lot of changes have come down so Gnome is basically a work in progress at the moment. Also, Gnome 45 is coming out soon and who knows what will happen then. More big changes are planned, so no sense reinventing the wheel for now.

I would say just set up a Kvantum theme you can live with for now (let us know if you find a good one) and probably we’ll take a closer look at Gnome after the dust settles following the 45 release.

5 Likes

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