Chromium-based browsers that stopped launching on Artix Linux now launch normally after switching to GTK4 and commenting out QT_QPA_PLATFORMTHEME=gtk

2 min

language: ja bn en es hi pt ru zh-cn zh-tw

Hello, I'm Incompetent.

This will be quick.

Chromium-based browsers had stopped launching since last year's Artix update, but they now launch.

I ran sudo vi /etc/environment

and made the following changes.

I commented out QT_QPA_PLATFORMTHEME=gtk because a maintainer on the Artix Linux forum wrote in an unrelated thread that it's better to turn it off, so I tried it.

QT_STYLE_OVERRIDE=gtk4
#QT_QPA_PLATFORMTHEME=gtk
QTWEBENGINE_CHROMIUM_FLAGS="-blink-settings=darkModeEnabled=true -enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter"
LANG=ja_JP.utf8

After this, since .config and other files might conflict, I renamed them as backups and re-logged in.

mv ~/.config ~/bak.config
mv ~/.cache ~/bak.cache

With this, I then ran sudo pacman -Syu.

After that, when I installed a Chromium-based browser, it worked normally.
This is great, as previously only Firefox-fork browsers worked via pacman.

That's all for now.

Thank you again.

Related Posts