You are not logged in.

#1 2015-10-05 11:40:52

toni
Member
Registered: 2011-10-15
Posts: 437

[SOLVED] Force chromium to ignore GTK+ theme

I have installed Delorean 3.26 GTK+ theme which includes support theme for chromium and using gnome-tweak-tool I have set GTK+ theme for entire system under appearance menu.
The problem is that GTK+ theme is also applied to chromium and I do not want this.
I have set chromium to use classic theme under configuration and chromium background back to classic theme but menus continue having the GTK+ theme colors set for the entire system from gnome-tweak-tool so How to make chromium to ignore the GTK+ theme and use the default one?

EDIT:
I have done this by creating a custom .desktop file following these steps:

1.- Open your file browser
2.- Navigate to /usr/share/applications/
3.- Copy the launcher for the app to ~/.local/share/applications/
4.- Right-click and open the launcher with a text editor
5.- Modify the line starting with Exec= to include Exec=env GTK_THEME=theme-name (for GTK 3.0) or Exec=env GTK2_RC_FILES=/path/to/theme/gtkrc (for GTK 2.0).
6.- Save and close the file.

Last edited by toni (2015-10-13 00:34:28)

Offline

#2 2015-10-06 15:07:39

t0m5k1
Member
From: overthere
Registered: 2012-02-10
Posts: 326

Re: [SOLVED] Force chromium to ignore GTK+ theme

please mark as [SOLVED]


Aurora R10 (0TYR0X) - Ryzen 7 5800X - 16GB - RX6700XT 12GB - Hyprland (occasionally XFCE) - AOC Q27G3XMN 1440P
EFI Stub Boot
PROUD XLIBRE USER
Linux User: 401820  Steam-Reddit

Offline

Board footer

Powered by FluxBB