Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Color of the active window title bar in ubuntu-mate?

409 views
Skip to first unread message

Victor Sudakov

unread,
Aug 22, 2022, 4:10:06 AM8/22/22
to
Dear Colleagues,

Sorry for asking a Ubuntu-specific question. Please redirect me to a
better mailing list if you feel it right.

I was using ubuntu-mate 20.04.4 with MATE 1.24.0. Now I have switched
to 22.04.1 with MATE 1.26.0 and come across an unfortunate thing:

The titlebar colors of active and inactive windows are the same which
is very inconvenient. In the previous version of Ubuntu/Mate, the
color of the active window's titlebar was distinct.

I've been trying to find this setting in the Control Center but in
vain. Googling for something like "mate 1.26.0 active window titlebar
color" fetches some dated results about Ubuntu 18.04 and manually
editing GTK resource files.

Can you help me out? I'm sure I'm missing something obvious.

I don't need anything fancy, simple Motif-style decorations are fine
for me, or something like the look of the previous Mate version.

--
Victor Sudakov VAS4-RIPE
http://vas.tomsk.ru/
2:5005/49@fidonet
signature.asc

Bret Busby

unread,
Aug 22, 2022, 5:10:06 AM8/22/22
to
Hello.

1. The Ubuntu users mailing list is at
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
which may be more useful for you.

2. In what applications are you noticing this, and, what interface are
you using?

I have been using UbuntuMATE for a decade or so, and, I am running
2.04.1 on this computer (I rub 16.0.4.7 on another), and, I do not see
the problem that you are observing.

In the Control Center, go to Look and Feel -> Appearance.

I use the Theme named "TraditionalOk", with the panel at the bottom of
the screen, and it is the most like MS Windows 95, and, gives my the
interface that I prefer.

In the applications that I run, the title bar of the active window, is
dark(ish) blue, and, for the inactive windows, it is grey.

Try this theme, and advise whether it eliminates the problem.

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..............

Bret Busby

unread,
Aug 22, 2022, 5:10:06 AM8/22/22
to
Arrgh!

"
I am running 2.04.1 on this computer (I rub 16.0.4.7 on another),"
"

->

"I am running 22.04.1 on this computer (I run 16.04.7 on another)."

Both typo's passed the spellchecker okay, but, the nut behind the wheel,
failed to detect and correct the errors before sending the message above.

Bret Busby

unread,
Aug 22, 2022, 5:20:05 AM8/22/22
to
Ho hum.

Third time lucky (hopefully)...

"gives my the interface that I prefer. "

->

"gives me the interface that I prefer. "

Victor Sudakov

unread,
Aug 22, 2022, 6:10:05 AM8/22/22
to
Bret Busby wrote:
> On 22/8/22 16:03, Victor Sudakov wrote:
> >
> > The titlebar colors of active and inactive windows are the same which
> > is very inconvenient. In the previous version of Ubuntu/Mate, the
> > color of the active window's titlebar was distinct.

Hello Bret!

>
> 1. The Ubuntu users mailing list is at
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> which may be more useful for you.

Thank you, I'll go there if I don't find any help here.
>
> 2. In what applications are you noticing this, and,


Any applications using standard decorations (Firefox, MATE Terminal,
Google Chrome etc).

> what interface are you using?

Sorry, I did not get the question.

>
> I have been using UbuntuMATE for a decade or so, and, I am running
> 22.04.1 on this computer (I rub 16.0.4.7 on another), and, I do not see
> the problem that you are observing.
>
> In the Control Center, go to Look and Feel -> Appearance.
>
> I use the Theme named "TraditionalOk", with the panel at the bottom of
> the screen, and it is the most like MS Windows 95, and, gives my the
> interface that I prefer.

I don't have any "TraditionalOk" theme there, just countless variants of the
Yaru-* themes. How did you add the "TraditionalOk" theme? Is it in
some package?
signature.asc

Bret Busby

unread,
Aug 22, 2022, 6:40:05 AM8/22/22
to
On 22/8/22 18:02, Victor Sudakov wrote:
> Bret Busby wrote:
>> On 22/8/22 16:03, Victor Sudakov wrote:
>>>
>>> The titlebar colors of active and inactive windows are the same which
>>> is very inconvenient. In the previous version of Ubuntu/Mate, the
>>> color of the active window's titlebar was distinct.
>
> Hello Bret!
>
>>
>> 1. The Ubuntu users mailing list is at
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>> which may be more useful for you.
>
> Thank you, I'll go there if I don't find any help here.
>>
>> 2. In what applications are you noticing this, and,
>
>
> Any applications using standard decorations (Firefox, MATE Terminal,
> Google Chrome etc).
>
>> what interface are you using?
>
> Sorry, I did not get the question.
>

I suppose that, by context, rather than the word "interface", i should
have used the word "theme".

>>
>> I have been using UbuntuMATE for a decade or so, and, I am running
>> 22.04.1 on this computer (I rub 16.0.4.7 on another), and, I do not see
>> the problem that you are observing.
>>
>> In the Control Center, go to Look and Feel -> Appearance.
>>
>> I use the Theme named "TraditionalOk", with the panel at the bottom of
>> the screen, and it is the most like MS Windows 95, and, gives my the
>> interface that I prefer.
>
> I don't have any "TraditionalOk" theme there, just countless variants of the
> Yaru-* themes. How did you add the "TraditionalOk" theme? Is it in
> some package?
>
>

I have been using this them,e for so many years, that I have forgotten
whether it came as a default theme that was available, or, whether I
added it.

However, In the Appearance window, in the Themes tab, where I have the
theme displayed, at the bottom left corner, is "Get more themes online".
Clicking that, opens a web page, in the default web browser, at
https://mate-desktop.org/themes/
and selecting
"GTK 2.x themes"
...
Unfortunately, that is not searchable, a search cannot be performed, for
a theme name.

After going through about 40 screens, and not finding it, by doing a
search, using the "site=" to search that site, I found it, not as a mate
theme, but as a gnome (from gnome2, I assume, which mate is supposed to
emulate) theme;
https://www.gnome-look.org/p/1407000
the variant that I use, is TraditionalOkBrave (the blue and grey one).

I think, in resembling the MS Windows 95 interface, it also resembles
the fvwm interface, but, it is decades since I used the fvwm interface.

I hope that this helps.

Victor Sudakov

unread,
Aug 22, 2022, 6:50:05 AM8/22/22
to
Bret Busby wrote:

[dd]

> >> I use the Theme named "TraditionalOk", with the panel at the bottom of
> >> the screen, and it is the most like MS Windows 95, and, gives my the
> >> interface that I prefer.
> >
> > I don't have any "TraditionalOk" theme there, just countless variants of the
> > Yaru-* themes. How did you add the "TraditionalOk" theme? Is it in
> > some package?
> >
> >
>
> I have been using this them,e for so many years, that I have forgotten
> whether it came as a default theme that was available, or, whether I
> added it.
>
> However, In the Appearance window, in the Themes tab, where I have the
> theme displayed, at the bottom left corner, is "Get more themes online".
> Clicking that, opens a web page, in the default web browser, at
> https://mate-desktop.org/themes/
> and selecting
> "GTK 2.x themes"
> ...
> Unfortunately, that is not searchable, a search cannot be performed, for
> a theme name.

Oh, thanks for the hint! https://www.mate-look.org/browse?cat=135 is
in fact searchable, there is a (poorly visible) search bar which you
can use: https://www.mate-look.org/find?search=TraditionalOk
>
> After going through about 40 screens, and not finding it, by doing a
> search, using the "site=" to search that site, I found it, not as a mate
> theme, but as a gnome (from gnome2, I assume, which mate is supposed to
> emulate) theme;
> https://www.gnome-look.org/p/1407000
> the variant that I use, is TraditionalOkBrave (the blue and grey one).
>
> I think, in resembling the MS Windows 95 interface, it also resembles
> the fvwm interface, but, it is decades since I used the fvwm interface.

That's great! It looks like every user of this computer will have to
install the theme individually but this is a solution! I've chosen
the TraditionalOk-Dust theme, it reminds me of the previous version of
the MATE desktop.

> I hope that this helps.

It does! Thank you very much, Bret!
signature.asc

Greg Wooledge

unread,
Aug 22, 2022, 7:10:05 AM8/22/22
to
On Mon, Aug 22, 2022 at 10:02:22AM +0000, Victor Sudakov wrote:
> Any applications using standard decorations (Firefox, MATE Terminal,
> Google Chrome etc).

It's worth pointing out, perhaps, that Google Chrome does *not* use
the standard window manager decorations by default. There is, however,
an option you can toggle to make it do so.

(Unless this behavior changed in some recent version -- but I doubt it.)

Firefox, on the other hand, *does* use the regular widgets.

Nicolas George

unread,
Aug 22, 2022, 7:10:06 AM8/22/22
to
Greg Wooledge (12022-08-22):
> It's worth pointing out, perhaps, that Google Chrome does *not* use
> the standard window manager decorations by default. There is, however,
> an option you can toggle to make it do so.

It is, I have found, a problem with most Gtk+3 applications. A
manifestation of the “we know better than you” mindset of the GNOME
people. I have not found a solution to disable it globally, short of
patching Gtk+3 itself. The best I have found is to force my WM to ignore
the hint on a case-by-case basis:

# Gtk+3 sucks
Style "Application Class" !MWMDecor
Style "Gajim" !MWMDecor

Regards,

--
Nicolas George
signature.asc

Bret Busby

unread,
Aug 22, 2022, 8:40:05 AM8/22/22
to
And, after all of that, in looking in my Appearance -> Themes, through
the Yaru stuff, and noticing that the YaruGreen looks like the
TraditionalGreen, I also noticed that the YaruOk looks like the
TraditionalOkBrave.

--

Curt

unread,
Aug 22, 2022, 12:00:06 PM8/22/22
to
On 2022-08-22, Nicolas George <geo...@nsup.org> wrote:
>
> It is, I have found, a problem with most Gtk+3 applications. A
> manifestation of the we know better than you mindset of the GNOME
> people. I have not found a solution to disable it globally, short of
> patching Gtk+3 itself. The best I have found is to force my WM to ignore
> the hint on a case-by-case basis:

What about 'gtk3-nocsd'?

Description-en: Disable Gtk+ 3 client side decorations (CSD)
gtk3-nocsd LD_PRELOADs a small library to disable the client side
decorations (CSD) of Gtk+ 3.

...

Or maybe this isn't the remedy to the ills referred to in the thread.
I mentioned this utility to someone here recently complaining of
similar gnomish woes, but he disappeared after his initial
query (at least I think he did).

Of course, it's a hack. But that's life in the big city, as my mother
used to say.

Victor Sudakov

unread,
Aug 22, 2022, 1:30:06 PM8/22/22
to
Nicolas George wrote:
>
> It is, I have found, a problem with most Gtk+3 applications. A
> manifestation of the “we know better than you” mindset of the GNOME
> people. I have not found a solution to disable it globally, short of
> patching Gtk+3 itself. The best I have found is to force my WM to ignore
> the hint on a case-by-case basis:
>
> # Gtk+3 sucks
> Style "Application Class" !MWMDecor
> Style "Gajim" !MWMDecor

Where do you put this magic? Hopefully it could help me fix Lens and
Teams? I hate applications to bring their own decorations.
signature.asc

Victor Sudakov

unread,
Aug 22, 2022, 1:30:06 PM8/22/22
to
Greg Wooledge wrote:
> On Mon, Aug 22, 2022 at 10:02:22AM +0000, Victor Sudakov wrote:
> > Any applications using standard decorations (Firefox, MATE Terminal,
> > Google Chrome etc).
>
> It's worth pointing out, perhaps, that Google Chrome does *not* use
> the standard window manager decorations by default. There is, however,
> an option you can toggle to make it do so.
>
> (Unless this behavior changed in some recent version -- but I doubt it.)

Looks like it does now by default, which is nice of them.

>
> Firefox, on the other hand, *does* use the regular widgets.
>

On that computer, I have seen only 2 apps so far which use their own
decorations, they are Microsoft Teams and Lens.
signature.asc

Nicolas George

unread,
Aug 22, 2022, 1:50:06 PM8/22/22
to
Curt (12022-08-22):
> What about 'gtk3-nocsd'?
>
> Description-en: Disable Gtk+ 3 client side decorations (CSD)
> gtk3-nocsd LD_PRELOADs a small library to disable the client side
> decorations (CSD) of Gtk+ 3.
>
> ...
>
> Or maybe this isn't the remedy to the ills referred to in the thread.
> I mentioned this utility to someone here recently complaining of
> similar gnomish woes, but he disappeared after his initial
> query (at least I think he did).
>
> Of course, it's a hack. But that's life in the big city, as my mother
> used to say.

I think I had heard of it but forgotten. It works, but LD_PRELOADs are
fragile. A patched version of Gtk+3 would be more robust. Also, IIRC,
somebody maintains a set of patches somewhere, and I have a bookmark
somewhere.

Regards,

--
Nicolas George
signature.asc

James H. H. Lampert

unread,
Aug 22, 2022, 1:50:06 PM8/22/22
to
On 8/22/22 4:07 AM, Nicolas George wrote:
> . . . A manifestation of the “we know better than you” mindset of the
> GNOME people. . . .
*JUST* the GNOME people? I've found that, in general, the "we know
better than you" mindset is even worse with Apple and M$. And getting
worse still, especially with Apple.

My choice for volume icons, for example, has always been a vintage disk
pack for an old IBM 3330 "Merlin" drive, sitting idle, in a pack-cover.
And my choice for a desktop background has always been a brick wall
(ever since I first had a chance to play with ResEdit on a Mac Plus,
more than half a lifetime ago). Do I shove this down anybody else's
throat? No. But neither do I care to have somebody else's look-and-feel
elements shoved down my throat.

--
James H. H. Lampert
(I also like a garbage can icon to look like a garbage can. With a
WinDoze logo on it.)

Nicolas George

unread,
Aug 22, 2022, 1:50:06 PM8/22/22
to
Victor Sudakov (12022-08-22):
> > # Gtk+3 sucks
> > Style "Application Class" !MWMDecor
> > Style "Gajim" !MWMDecor
> Where do you put this magic? Hopefully it could help me fix Lens and
> Teams? I hate applications to bring their own decorations.

In ~/.fvwm2rc, so I doubt it will be useful for you, sorry.

Regards,

--
Nicolas George
signature.asc

Victor Sudakov

unread,
Aug 22, 2022, 11:20:05 PM8/22/22
to
Bret Busby wrote:
>
> And, after all of that, in looking in my Appearance -> Themes, through
> the Yaru stuff, and noticing that the YaruGreen looks like the
> TraditionalGreen, I also noticed that the YaruOk looks like the
> TraditionalOkBrave.

I've tried all the Yaru* themes and none of them features distinct
colours for the active and non-active windows.

So I'm using the TraditionalOk-Dust theme for its gentle color.
signature.asc

Max Nikulin

unread,
Aug 24, 2022, 11:00:05 AM8/24/22
to
Behavior of Firefox depends on GTK_CSD and XDG_CURRENT_DESKTOP
environment variables. Some time ago there were more if's for Gnome,
KDE, etc.:

-
https://hg.mozilla.org/integration/autoland/file/d58f8264/widget/gtk/nsWindow.cpp#l9192
-
https://hg.mozilla.org/integration/autoland/file/tip/widget/gtk/nsWindow.cpp#l9192
The latter link is for current version without fixed revision.

"Customize toolbar" dialogue has "Titlebar" checkbox to change behavior.
Recently I faced an issue with fluxbox and I blamed client side
decoration at first, so I tried to disable it.
0 new messages