this post was submitted on 29 Aug 2023
23 points (100.0% liked)

Unixporn

15007 readers
355 users here now

Unixporn

Submit screenshots of all your *NIX desktops, themes, and nifty configurations, or submit anything else that will make themers happy. Maybe a server running on an Amiga, or a Thinkpad signed by Bjarne Stroustrup? Show the world how pretty your computer can be!

Rules

  1. Post On-Topic
  2. No Defaults
  3. Busy Screenshots
  4. Use High-Quality Images
  5. Include a Details Comment
  6. No NSFW
  7. No Racism or use of racist terms

founded 5 years ago
MODERATORS
 

Pretty much all graphical apps that dont have thier own theming option (like firefox) are always just the white background default theme. No matter wether it's qt or gtk. Wich files would i need to edit to change that? Searching on the internet only told me that i should change an environment variable bit doing so changed nothing even though i have the themes installed

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 13 points 1 year ago

There are normally config files for GTK at ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini.

Qt themes are configured differently. For Qt5 and Qt6, set the environment variable QT_STYLE_OVERRIDE. If you still use Qt4 for anything, config is done in ~/.config/Trolltech.conf. Refer to the ArchWiki for help.

I personally prefer GUIs, though, so I'd recommend the following:

  • For GTK 2 & 3: LXAppearance
  • For GTK 3 & 4: Gradience
  • For Qt: qt5ct, qt6ct, and/or Kvantum
[โ€“] [email protected] 5 points 1 year ago

I would figure out your environment variables first. It's likely based on what you're saying that your setting those variables only for interactive shell and not someplace where they are sourced by your WM or whatever is launching your WM.

Check out this section of the ArchWiki article. The rest of the article may also have some useful info.