[SOLVED] xfce active window hard to distinguish

Forum rules
Before you post please read how to get help
flyingrhino
Level 3
Level 3
Posts: 113
Joined: Sat Apr 04, 2015 8:55 pm

[SOLVED] xfce active window hard to distinguish

Postby flyingrhino » Sun Jan 03, 2016 6:57 pm

In xfce, the active window gets the title bar and control buttons (minumize, maximize, close) in a darker grey than inactive windows (see attached screenshot).
When you have many windows open on a large screen, it is easy to lose track of the active window.

Is it possible to make it more clear which window is active ? Something like a different color title bar, different color frame, or some other clear visual change?

xfce active  window.png

Running Mint 17.2 / xfce standard install

Thanks
Last edited by flyingrhino on Thu Aug 24, 2017 3:30 am, edited 1 time in total.

User avatar
richyrich
Level 18
Level 18
Posts: 8677
Joined: Mon May 04, 2009 8:31 pm

Re: xfce active window hard to distinguish

Postby richyrich » Sun Jan 03, 2016 7:34 pm

Suggestion - You could go into the Window Manager Tweaks program > Compositor tab, and set the inactive windows more transparent than the active window.

User avatar
Flemur
Level 13
Level 13
Posts: 4631
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: xfce active window hard to distinguish

Postby Flemur » Sun Jan 03, 2016 8:12 pm

Try
Xfce Menu->Settings->Appearance
and select a different "style" (actually a "theme", I think).
Xubuntu 17.10/fluxbox/pulse-less
Mint 18.2 Xfce/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

flyingrhino
Level 3
Level 3
Posts: 113
Joined: Sat Apr 04, 2015 8:55 pm

Re: xfce active window hard to distinguish

Postby flyingrhino » Mon Jan 04, 2016 5:36 am

Hi,

Thanks for the replies.

You could go into the Window Manager Tweaks program > Compositor tab, and set the inactive windows more transparent than the active window.

This one is sometimes troublesome if you want to view one or more inactive windows while working on another active window (eg reading this forum while typing in commands into a shell :) )

Xfce Menu->Settings->Appearance and select a different "style"

This one works wonderfully and there are themes that achieve what I want. Problem is they are ugly :(
I was using Mint-X-Red and stuff like stellar / dusk / thinice do this, although their overall appearance to me isn't as nice as my original choice. Pity the Mint-X series don't achieve this, I will happily accept the title bar being more 'contrasty'

Regards,

ByeByeXP
Level 3
Level 3
Posts: 179
Joined: Fri Sep 27, 2013 10:42 pm
Location: USofA

Re: xfce active window hard to distinguish

Postby ByeByeXP » Mon Jan 04, 2016 1:37 pm

flyingrhino wrote:... I was using Mint-X-Red and stuff like stellar / dusk / thinice do this, although their overall appearance to me isn't as nice as my original choice. Pity the Mint-X series don't achieve this, I will happily accept the title bar being more 'contrasty' Regards,

Greetings! Afaik, the "secret" to having a more contrasty title bar lies in tweaking your favorite "theme". Alas, the stock Mint-X-* themes do not contain the necessary setting(s). Here's an example of what i am talking about, found in the Xfce-stellar theme (@ /usr/share/themes/Xfce-stellar/gtkrc) ...
# This is for the window borders (xfwm4 & metacity)
#
style "titlebar" = "default"
{
bg[SELECTED] = "#b24d7a"
fg[SELECTED] = "#ffffff"
bg[INSENSITIVE] = "#9ba0b0"
fg[INSENSITIVE] = "#000000"
}

Using a color-pick tool, i.e. gcolor2, you can simulate the colors set by that theme, then decide to come up with your own fave settings for those 4 values. Once you're happy, you'd have to edit your theme's gtkrc file (appending the foregoing style/theme elements) following how it is done (towards the end of Xfce-stellar's gtkrc-file. Note: this tweak is for GTK2-type themes -- i have no idea how to tweak it for GTK3-type themes. At least it is a step in the direction you want ...

flyingrhino
Level 3
Level 3
Posts: 113
Joined: Sat Apr 04, 2015 8:55 pm

Re: xfce active window hard to distinguish

Postby flyingrhino » Tue Jan 05, 2016 5:14 pm

Thanks for that

Here's an example of what i am talking about, found in the Xfce-stellar theme (@ /usr/share/themes/Xfce-stellar/gtkrc) ...


I'll look into it tonight or tomorrow, and hopefully this will give what I want. A simple blue border around the active window and the standard grey border around inactive windows is enough. I'll post the solution in this thread for others to enjoy if the trick above succeeds

flyingrhino
Level 3
Level 3
Posts: 113
Joined: Sat Apr 04, 2015 8:55 pm

Re: xfce active window hard to distinguish

Postby flyingrhino » Fri Jan 08, 2016 3:24 pm

Hi,

Note: this tweak is for GTK2-type themes -- i have no idea how to tweak it for GTK3-type themes. At least it is a step in the direction you want ...


Yes that did point me in the right direction, giving me an idea of what information to search on the web - though GTK 3 is proving to be a very complex beast
Reading this site: http://worldofgnome.org/making-gtk3-the ... -1-basics/
I've figured out that there are two main files to deal with (paths are for the Mint-X-Red theme):
/usr/share/themes/Mint-X-Red/gtk-3.0/gtk.css (which then imports gtk-main.css)
/usr/share/themes/Mint-X-Red/gtk-3.0/gtk-widgets.css

Pointing a color picker over the title bar suggests that it's a gradient, meaning I can't simply grep for the corresponding hex color code in the config files. Now it's a matter of trying to decipher which setting controls the active window. Again, the color picker shows that the title and border colors (gradient) don't change between the active and inactive windows, and only the title text of the active window is a darker grey. Therefore I'm discounting my original desire and am willing to accept changing the active window title text to something contrasty - like red (vs all grey) - that will stand out well

The search continues.
Not [RESOLVED] , not easy either, but I'm not giving up yet

flyingrhino
Level 3
Level 3
Posts: 113
Joined: Sat Apr 04, 2015 8:55 pm

[SOLVED] Re: xfce active window hard to distinguish

Postby flyingrhino » Thu Aug 24, 2017 3:30 am

I have found the solution. Quite by accident !

Settings -> Window Manager -> Style -> Daloa

Done. Have nice title bar in different color for active window.
Also tested on LM 18.2 XFCE :)


Return to “XFCE”