Mate 18.2 panel text white

Forum rules
Before you post please read how to get help
vistad
Level 4
Level 4
Posts: 239
Joined: Tue Feb 08, 2011 9:17 am

Mate 18.2 panel text white

Postby vistad » Tue Jul 04, 2017 12:57 pm

I like dark backgrounds and therefore need white text on the panel. The file ~/.gtkrc-2.0 does not work any more. I did some search on where the color settings are, and found a file /usr/share/themes/[theme name]/gtk-2.0/gtkrc, the comment says: # These are the defined colors for the theme, you can change them in GNOME's appearance preferences.

AFAIU GNOME's appearance preferences does not exist. You can sudo apt install gtk-theme-config, but it did not work for me.

Guys, let's find the way to turn panel text white! Thanks everybody in advance!
Last edited by vistad on Tue Oct 24, 2017 3:18 pm, edited 2 times in total.
LM18.2-64 Mate, i7-6770K fanless Thermalright HR22, Asus Maximus VIII Gene, 32Gb RAM, 480Gb PCIe M.2 Kingston Hyper X Predator, 25Gb ext4 /, 1GB swap, the rest is ext4 /home, Vbox Win8.1-64

caz
Level 4
Level 4
Posts: 220
Joined: Mon Dec 31, 2012 6:48 am
Location: England

Re: Mate 18.2 panel text white

Postby caz » Wed Jul 05, 2017 2:03 pm

Same problem here, my .gtkrc-2.0 also appears to be dead after upgrading 18.2. Now I have on idea what the time is :shock:

It's not that bad really but it is a tad annoying. I will keep an eye on this thread for a fix, or if I find one I will post it here.
Some stuff I made using FOSS http://caz747.deviantart.com/

dlguild
Level 1
Level 1
Posts: 18
Joined: Sun Sep 29, 2013 6:26 pm
Location: Florida Panhandle

Re: Mate 18.2 panel text white

Postby dlguild » Thu Jul 06, 2017 8:16 pm

I found a solution which worked for me here: https://github.com/mate-desktop/mate-panel/issues/507

Create a file named gtk.css containing the following code and place the file in /home/<your home directory>/.config/gtk-3.0/

Code: Select all

panel-toplevel.background.horizontal,
.mate-panel-menu-bar,
#clock-applet-button,
#clock-applet-button:hover  {
   color: white;
}

vistad
Level 4
Level 4
Posts: 239
Joined: Tue Feb 08, 2011 9:17 am

Re: Mate 18.2 panel text white

Postby vistad » Sat Jul 08, 2017 3:25 pm

[quote="dlguild"]I found a solution which worked for me here: https://github.com/mate-desktop/mate-panel/issues/507

Hi dlguild, thanks a million, you've found the solution that really works in systray! However taskbar buttons text is still black. To make it white, add another directive after that:

Code: Select all

panel-toplevel.background.horizontal,
.mate-panel-menu-bar,
#clock-applet-button,
#clock-applet-button:hover  {
   color: white;
}
#tasklist-button {
   color: white;
}
LM18.2-64 Mate, i7-6770K fanless Thermalright HR22, Asus Maximus VIII Gene, 32Gb RAM, 480Gb PCIe M.2 Kingston Hyper X Predator, 25Gb ext4 /, 1GB swap, the rest is ext4 /home, Vbox Win8.1-64

gene
Level 2
Level 2
Posts: 52
Joined: Mon Oct 22, 2012 1:27 am
Location: Adelaide

Re: [SOLVED] Mate 18.2 panel text white

Postby gene » Tue Oct 17, 2017 6:25 pm

To change the caja side-panel colour in LM18.3 Mate
-----------------------------------------------------------------------------

1. go to:

file system > usr > share > themes > Mint-X >
gtk-3.0 > apps > mate-application.css

2. open mate-application.css 'as administrator'.

3. go to the following 3 lines of code:

@define-color caja_sidebar_bg #505050;
@define-color caja_sidebar_fg #fff;
@define-color caja_sidebar_selected_fg #fff;

then change:

(in first line) #505050 to #f0f0f0 / or your choice
(in second line) #fff to #212121 / or your choice
(in third line) leave unchanged

The first line above changes side-panel background colour.
The second line above changes the unselected-text-colour in that side-panel.
I have not played with the third line above.

4. restart caja or restart computer to see changes.

cheers G

vistad
Level 4
Level 4
Posts: 239
Joined: Tue Feb 08, 2011 9:17 am

Re: [SOLVED] Mate 18.2 panel text white

Postby vistad » Tue Oct 24, 2017 3:10 pm

Hello @gene,

thank you for the very valuable input!!!
:)
LM18.2-64 Mate, i7-6770K fanless Thermalright HR22, Asus Maximus VIII Gene, 32Gb RAM, 480Gb PCIe M.2 Kingston Hyper X Predator, 25Gb ext4 /, 1GB swap, the rest is ext4 /home, Vbox Win8.1-64

vistad
Level 4
Level 4
Posts: 239
Joined: Tue Feb 08, 2011 9:17 am

Re: [SOLVED] Mate 18.2 panel text white

Postby vistad » Tue Oct 24, 2017 3:18 pm

Hi guys,

unfortunately, we have a problem. When you make the panel text white in the method I described, you get the panel text white all right! But if you open System Tools / Log File Viewer - you can not see the left column containing Date and Time info, because its text is white and it is invisible on the white background. Let's find a solution to this issue!
LM18.2-64 Mate, i7-6770K fanless Thermalright HR22, Asus Maximus VIII Gene, 32Gb RAM, 480Gb PCIe M.2 Kingston Hyper X Predator, 25Gb ext4 /, 1GB swap, the rest is ext4 /home, Vbox Win8.1-64

User avatar
Minterator
Level 5
Level 5
Posts: 544
Joined: Thu Jan 10, 2013 8:29 am

Re: Mate 18.2 panel text white

Postby Minterator » Fri Oct 27, 2017 3:05 pm

You can change anything in 17.3 using gnome-color-chooser, but not since 18.2. Also there's no control of background color, so you're stuck with bright white everywhere which hurts the eyes. There is no easy fix short of creating a new theme, which is what I did: viewtopic.php?f=206&t=252647
Last edited by Minterator on Fri Oct 27, 2017 5:42 pm, edited 1 time in total.
Mint 17.3 MATE

User avatar
administrollaattori
Level 12
Level 12
Posts: 4334
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Mate 18.2 panel text white

Postby administrollaattori » Fri Oct 27, 2017 3:16 pm

Minterator wrote:You can change anything in 17.3 using gnome-color-chooser, but not since 18.2. Also there's no control of background color, so you're stuck with bright white everywhere which hurts the eyes. There is no easy fix short of of creating a new theme, which is what I did: viewtopic.php?f=206&t=252647

One another way is to edit /usr/share/glib-2.0/schemas/mint-artwork-mate.gschema.override file, changing the color code.
color-codes.png

User avatar
Minterator
Level 5
Level 5
Posts: 544
Joined: Thu Jan 10, 2013 8:29 am

Re: Mate 18.2 panel text white

Postby Minterator » Fri Oct 27, 2017 6:01 pm

administrollaattori wrote:
Minterator wrote:You can change anything in 17.3 using gnome-color-chooser, but not since 18.2. Also there's no control of background color, so you're stuck with bright white everywhere which hurts the eyes. There is no easy fix short of of creating a new theme, which is what I did: viewtopic.php?f=206&t=252647

One another way is to edit /usr/share/glib-2.0/schemas/mint-artwork-mate.gschema.override file, changing the color code.
color-codes.png


The theme that comes with MATE 18.2 looks very dated, has a 1980s look, so I didn't bother tweaking it.

Have you tried my c-6-theme (link above)? You can customize it by editing “metacity-theme-2.xml”
Mint 17.3 MATE

User avatar
administrollaattori
Level 12
Level 12
Posts: 4334
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Mate 18.2 panel text white

Postby administrollaattori » Sat Oct 28, 2017 10:29 am

Minterator wrote: theme that comes with MATE 18.2 looks very dated, has a 1980s look, so I didn't bother tweaking it.

Have you tried my c-6-theme (link above)? You can customize it by editing “metacity-theme-2.xml”

I tried today, and it worked and look fine. :D

Perhaps you could make an installable .deb package from the theme?

User avatar
Minterator
Level 5
Level 5
Posts: 544
Joined: Thu Jan 10, 2013 8:29 am

Re: Mate 18.2 panel text white

Postby Minterator » Sun Oct 29, 2017 11:02 am

administrollaattori wrote:
Minterator wrote: theme that comes with MATE 18.2 looks very dated, has a 1980s look, so I didn't bother tweaking it.

Have you tried my c-6-theme (link above)? You can customize it by editing “metacity-theme-2.xml”

I tried today, and it worked and look fine. :D

Perhaps you could make an installable .deb package from the theme?


Maybe I should lean how to make .debs
c-6 theme has hard links to directories that tar -czf handles correctly, I'm not sure about dpkg-deb

Also, there's fine tuning of TreeView, e.g. the control that opens sub-directories in File Manager, and the vertical spacing of sub-items. I have it set to be more compact, does that look OK in your OS?

The other thing I thought of is to create a GUI where users can customize the theme interactively, probably using sed to modify config files. But that will need lots of testing.
Mint 17.3 MATE


Return to “MATE”