[SOLVED] How to Change Mate Panel Color Text to White

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
vistad
Level 4
Level 4
Posts: 326
Joined: Tue Feb 08, 2011 9:17 am

[SOLVED] How to Change Mate Panel Color Text to White

Post by vistad »

I use dark desktop and transparent panel. The panel text was black and hardly visible. I found this recipe to change the panel text color - works for me (originally posted at http://forums.fedoraforum.org/archive/i ... 63372.html, but needs little customization of the terminal command):

Create a file called .gtkrc-2.0 in your ~ (home user) directory with the following contents.

style "panel"
{
fg[NORMAL] = "#ffffff"
# fg[PRELIGHT] = "#000000"
# fg[ACTIVE] = "#ffffff"
# fg[SELECTED] = "#000000"
# fg[INSENSITIVE] = "#8A857C"
# bg[NORMAL] = "#000000"
# bg[PRELIGHT] = "#dfdfdf"
# bg[ACTIVE] = "#D0D0D0"
# bg[SELECTED] = "#D8BB75"
# bg[INSENSITIVE] = "#EFEFEF"
# base[NORMAL] = "#ffffff"
# base[PRELIGHT] = "#EFEFEF"
# base[ACTIVE] = "#D0D0D0"
# base[SELECTED] = "#DAB566"
# base[INSENSITIVE] = "#E8E8E8"
# text[NORMAL] = "#161616"
# text[PRELIGHT] = "#000000"
# text[ACTIVE] = "#000000"
# text[SELECTED] = "#ffffff"
# text[INSENSITIVE] = "#8A857C"
}
widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"
class "*Panel*" style "panel"
widget_class "*Mail*" style "panel"
class "*notif*" style "panel"
class "*Notif*" style "panel"
class "*Tray*" style "panel"
class "*tray*" style "panel"

The color of the font is set in the fg[NORMAL] field (for example ffffff is white)

When you've saved the file then in a terminal type:-

killall mate-panel

this should restart the panel and change to your selected font colour.
Last edited by vistad on Sat Jun 04, 2016 7:25 am, edited 1 time in total.
Linux Mint Mate 21.2 64, fanless box with passive cooling
vistad
Level 4
Level 4
Posts: 326
Joined: Tue Feb 08, 2011 9:17 am

Re: How to Change Mate Panel Color Text to White

Post by vistad »

However language descriptor (like 'en') stays black. May be someone finds out, how to make it white too.
Linux Mint Mate 21.2 64, fanless box with passive cooling
ink_ru

Re: How to Change Mate Panel Color Text to White

Post by ink_ru »

vistad wrote:However language descriptor (like 'en') stays black. May be someone finds out, how to make it white too.
I found this way

Code: Select all

sudo apt-get install dconf-tools
dconf-editor
Nagivate to org/gnome/libgnomekbd/indicator
You should see a few keys, one of them named "foreground-color" which is hex (set #FFFFFF - for white color), and defaults to #000000 (black color).
Post Reply

Return to “Tutorials”