Skip to content

Instantly share code, notes, and snippets.

@sxiii
Last active January 7, 2024 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sxiii/f5f092d024748107a973d52f2381aab0 to your computer and use it in GitHub Desktop.
Save sxiii/f5f092d024748107a973d52f2381aab0 to your computer and use it in GitHub Desktop.
Fix OpenSCAD Dark Theme and other wrong GTK / QT styles on Garuda Linux (probably arch as well)
Super easy fix - first, install qt5ct and do a test openscad launch like this:
```
QT_STYLE_OVERRIDE=qt5ct-style openscad
```
Instead of `qt5ct-style` you can use any of your own installed styles (some examples might be: kvantum-dark, kvantum, Fusion)
Which styles are installed you can check by running `qt5ct` or use kvantum as theme and then choose theme in kvantummanager.
Might work with some other apps GTK/QT apps, too.
To make it permanent you can:
1. Edit system launcher for OpenSCAD and replace it with `env QT_STYLE_OVERRIDE=qt5ct-style openscad %f`
2. Or add it to permanent config script globally like that:
```
export QT_STYLE_OVERRIDE=qt5ct-style
```
Might work as well on Manjaro and other Arch spinoffs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment