Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-03-17 21:37:18

mroma_rodaa
Member
Registered: 2025-03-17
Posts: 5
LinuxFirefox 128.0

How to change font color in Xfce Panel?

Hello, as the title says

in xfce the font color of any minimized window in the panel is grayed-out which is making it difficult for my eyes to read it. How to remove this effect or change font color?

I want minimized windows in my xfce panel to look exactly like maximized (active) windows.

Any help is appreciated.

OS: Debian 12.10 Bookworm
Version: I think it's Xfce 4.18

Untitled.jpg

Offline

#2 2025-03-17 22:57:11

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,815
LinuxFirefox 136.0

Re: How to change font color in Xfce Panel?

Hello and welcome.

Thanks for sharing version info.

To change the button icon opacity:

 .xfce4-panel .tasklist .minimized {opacity: 1.0}

For the text labels:

.xfce4-panel .tasklist .label-hidden {color: white}

Put these snippets into the file ~/.config/gtk-3.0/gtk.css (create the file if it doesn't exist), and restart the panel or log out and back in again.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2025-03-17 23:20:05

PackRat
Member
Registered: 2024-09-24
Posts: 23
LinuxFirefox 136.0

Re: How to change font color in Xfce Panel?

.xfce4-panel .tasklist .label-hidden {color: white}

What is the code for the focused window?

.xfce4-panel .tasklist .label-focus {color: white}

  ???

And is there documentation for all the options?

Last edited by PackRat (2025-03-17 23:21:02)

Offline

#4 2025-03-17 23:34:19

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,815
LinuxFirefox 136.0

Re: How to change font color in Xfce Panel?

PackRat wrote:

What is the code for the focused window?

.xfce4-panel .tasklist button box label {color: lightgreen}

And is there documentation for all the options?

Not in a centralized location. Alot of information in these forums, or you can use the GTK Inspector to see all of the classes, etc:
Screenshot-2025-03-17-19-32-31.png


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2025-03-18 16:26:00

mroma_rodaa
Member
Registered: 2025-03-17
Posts: 5
LinuxFirefox 128.0

Re: How to change font color in Xfce Panel?

ToZ wrote:

Hello and welcome.

Thanks for sharing version info.

To change the button icon opacity:

 .xfce4-panel .tasklist .minimized {opacity: 1.0}

For the text labels:

.xfce4-panel .tasklist .label-hidden {color: white}

Put these snippets into the file ~/.config/gtk-3.0/gtk.css (create the file if it doesn't exist), and restart the panel or log out and back in again.

I tried doing the steps you provided then logout and login, but my text is still gray. Maybe it's about the opacity of the button of minimized window not the text color? Or maybe there is another line I need to add?

It effected the icon correctly, but not the text.

Any help?

Added later 3 h 12 min 39 s:
Edit: it seems my text color changed ONLY when using a theme called "high contrast" from xfce settings (appearance), all other themes are not effected including the preinstalled ones such as adwaita-dark, I've tried putting the 2 lines inside my own theme's gtk.css file, but it doesn't do anything.

Is that the end or should I try anything more?

Last edited by mroma_rodaa (2025-03-18 16:44:00)

Offline

#6 2025-03-18 22:55:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,815
LinuxFirefox 136.0

Re: How to change font color in Xfce Panel?

Hmm. Color setting works on my computer.

Try:

.xfce4-panel .tasklist .label-hidden {opacity: 1}

Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2025-03-19 17:29:04

mroma_rodaa
Member
Registered: 2025-03-17
Posts: 5
LinuxFirefox 128.0

Re: How to change font color in Xfce Panel?

Many Thanks

Added later 1 h 30 min 41 s:

ToZ wrote:

Hmm. Color setting works on my computer.

Try:

.xfce4-panel .tasklist .label-hidden {opacity: 1}

Edit: The entries inside Applications menu and whisker menu remains in gray text, can I fix those too?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 552.6 KiB (Peak: 569.88 KiB) ]