Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED]Bullseye XFCE workspace switcher colors

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

[SOLVED]Bullseye XFCE workspace switcher colors

#1 Post by ticojohn »

I really like XFCE and use it on Buster and Bullseye. One thing I didn't like with Bullseye was the default color scheme for the workspace switcher, kind of a dark gray for the active space and light gray for the inactive space. I found a really easy way to change those colors to whatever you prefer. You need to create a .CSS file in the ~/.config/gtk-3.0. You can name the file what you want. I choose gtk.css (simple). Then put the following code, and nothing more, in that file.

Code: Select all

  wnck-pager:selected {
    background-color: DodgerBlue; }
  wnck-pager:hover {
    background-color: gray; }
Of course if you don't like DodgerBlue for the selected (active) workspace you can change to your liking. Refer to the following URL for the CSS Colors.
https://www.w3schools.com/cssref/css_colors.asp
Last edited by ticojohn on 2021-05-19 22:56, edited 1 time in total.
I am not irrational, I'm just quantum probabilistic.

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: Bullseye XFCE workspace switcher colors

#2 Post by CwF »

ticojohn wrote: following URL for the CSS Colors.
https://www.w3schools.com/cssref/css_colors.asp
Thanks!
Lots can go in there,
so where is the raw list of tweakable gtk3 elements?
like the memory text in xfce-taskmanager is some invisible red in dark themes.

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: Bullseye XFCE workspace switcher colors

#3 Post by ticojohn »

CwF wrote: Thanks!
Lots can go in there,
so where is the raw list of tweakable gtk3 elements?
like the memory text in xfce-taskmanager is some invisible red in dark themes.
Good question. I just happened to find the solution to the workspace switcher colors and wasn't looking for other solutions. I have done a bit of searching and haven't come up with an answer to your question.

Did some more searching. I'm not a REAL programmer but maybe the GTK+ Inspector could be used to find and tweak different elements of an application. Take a look at this URL
https://blog.gtk.org/2017/04/05/the-gtk-inspector/
I am not irrational, I'm just quantum probabilistic.

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: Bullseye XFCE workspace switcher colors

#4 Post by ticojohn »

@CwF, I found this which may be a good starting place for making mods to the xfce4 panel. I'm sure that with enough searching you can find just about anything you want to know.

https://docs.xfce.org/xfce/xfce4-panel/theming
I am not irrational, I'm just quantum probabilistic.

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: Bullseye XFCE workspace switcher colors

#5 Post by CwF »

Yes. There must be a bulk list out there somewhere. With gtk-inspector not in the repos and my general disinterest in theming due to its scattered and moving target nature I've never dug into it much. I use scrollbars, so that's in my gtk-3.0.css file, modern style dissuades functional scrollbars, and a few other things. Why dark themes are such an issue I don't understand, but it seems to predate me. I'll bet there is a single line possible to mod that dark red text to something else, and the inspector would maybe tell me...I just use genmon's with pango coloring, yet another way.

ok, looks like inspector is in libgtk-3-dev, I think maybe I forgot...

Post Reply