

























I've never ever solved the audio issue on this system, so everytime I suspend the system (or even everytime I move to a different VT where I haven't logged in yet), something is messed up, and when I wake the system up (or go back to the VT where I have X running), I have to make the dance described at the first link.
Doing that in the evening with pavucontrol opening in light mode is a pain to my eyes.
How do I make it use dark mode? I've tried turning my ~/.bash_profile from
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
[[ ! $DISPLAY && ( $XDG_VTNR == 1 || $XDG_VTNR == 2 ) ]] && exec startx || trueto
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
export QT_QPA_PLATFORMTHEME=qt6ct
[[ ! $DISPLAY && ( $XDG_VTNR == 1 || $XDG_VTNR == 2 ) ]] && exec startx || truebut this doesn't work (*).
Maybe what's left for me to do is to run the commands
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
gsettings set org.gnome.desktop.interface gtk-theme Adwaita-darkas suggested at https://www.reddit.com/r/archlinux/comm … dark_mode/ ?
Haven't tried that yet because I wanted to make sure on this forum I'm not messing things up more than I might have already done.
---
(*) Despite I do see a change in the appearance of the apps run via qt5ct and qt6ct from light to dark mode. By the way, without that line in .bash_profile, both apps show a warning at the top saying that "The application is not correctly configured", and if I ask for information, the message "The QT_QPA_PLATFORMTHEME environment variable is not set (required values: qt5ct or qt6ct).", which is the reason why I tried with exporting that variable to one of those values in the .bash_profile file.
Last edited by Enrico1989 (2026-06-02 20:14:48)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。