Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dark theme for gtk2 and gtk3
11-08-2018, 11:27 AM
Post: #1
Dark theme for gtk2 and gtk3
HI, everybody.

This is my first time here. I am trying to switch from Kubuntu 18.04 to NeptuneOs but there is one thing holding me back: The dark theme.

Breeze dark works perfectly on Kubuntu but somehow doesn't work so well with gtk applications on NeptuneOS. I am using version 5.5

I have included a few pictures for you to see what I am talking about. The menu bar is still white when turning on the dark theme.

           
Find all posts by this user
Quote this message in a reply
11-08-2018, 01:05 PM
Post: #2
RE: Dark theme for gtk2 and gtk3
Try setting the GTK2 and 3 theme to blackbird
Visit this user's website Find all posts by this user
Quote this message in a reply
11-08-2018, 02:09 PM
Post: #3
RE: Dark theme for gtk2 and gtk3
(11-08-2018 01:05 PM)leszek Wrote:  Try setting the GTK2 and 3 theme to blackbird

This is what I get with Blackbird applied on Gimp (attached below). Same problem with other GTK themes. I have tried many other themes. The closest gtk theme to what I am looking for is probably "shades of gray". Even that is not perfect.

Keep in mind that all those dark themes work perfectly on Kubuntu 18.04. All of them.
   
Find all posts by this user
Quote this message in a reply
11-08-2018, 11:41 PM (This post was last modified: 11-08-2018 11:44 PM by leszek.)
Post: #4
RE: Dark theme for gtk2 and gtk3
For some reason the global theme files seem to intervene. This seems to be some bug in GTK I fear.

Can you try overwriting the global /etc/gtk-3.0/settings.ini with the correct gtk-theme-name.
So for Blackbird that would be
Code:
gtk-theme-name=Blackbird

Same goes for /etc/gtk-2.0/gtkrc with
Code:
gtk-theme-name="Blackbird"


After that relogin and it should work.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-09-2018, 02:25 AM
Post: #5
RE: Dark theme for gtk2 and gtk3
I tried what you suggested and it didn't work but something else did though

when I opened the file gtkrc, i also noticed the line

"include "/usr/share/themes/elementary/gtk-2.0/gtkrc"

I figured i should as well change the word "elementary" to "Blackbird". That is when the dark theme reflected on the gtk apps. I am now happy with the results I got so I will consider switching to NeptuneOS in the next few weeks.

Thanks a lot
Find all posts by this user
Quote this message in a reply
11-09-2018, 08:30 PM
Post: #6
RE: Dark theme for gtk2 and gtk3
Ah ok. Good yeah you are right. Of course the include needs to point to the correct theme aswell Smile
Glad you figured it out.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)