From Newsgroup: alt.os.linux.mint
On 9/6/25 6:41 AM, Kazik Kaz wrote:
Good morning,
I'm using Linux Mint 22-1 with Cinnamon. I have a black background and a black terminal background also. When I open multiple terminal windows,
they overlap, and it's impossible to distinguish the areas of each
window - because terminal windows don't have borders.
I've tried various settings like Mint-L, Mint-X, etc., but I can't seem
to adjust anything.
Is it possible to manually set the presence and width of window borders
in the settings by changing parameters (e.g., in gtk.css or metacity-theme-3.xml)?
Best,
Kazik
Oooo, I just took this code out of my configs and boy do I hate that borderless display!!!
This is how I fixed it. It works for me. If you read the code as much as you may or may
not be able to there are 2 variables used by a gtk theme that have to be in that theme you
are using. 95% of the time it is there. My fix uses those color variables to change your
display.
This is in a file called ~/.config/gtk-3.0/gtk.css
Add these lines to that file if it exists, or create it and add them.
Any theme you use, has it's own gtk-3.0/gtk.css file, and in there, are defined colors for
that theme. like:
@define-color theme_selected_bg_color #f85600; /* dark orange */ @define-color theme_selected_fg_color: #FFFFFF;
If you can't find them, and the borders look horrible still, then add them and make them
colors that go with your theme.
This all was done with metacity themes but I think that was dropped in/after Mint 19.
Good luck. No harm done if this does not work for you, just reverse what you edited.
/*********************************************************/
/* customized titlebars */ /*********************************************************/
:not(.maximized) decoration { /* not full screen, colorize all around*/
border: 2px solid shade(@theme_selected_bg_color, 0.8);
border-radius: 0px;
background: shade(@theme_selected_bg_color, 0.8); }
:not(.maximized) decoration:backdrop { /* not selected, not full screen*/
border: 2px solid #5a5a5a;
background: #5a5a5a; }
.titlebar:not(headerbar) .title, headerbar { /* maximized */
min-height: 42px;
padding: 0 6px;
color: @theme_selected_fg_color;
font-weight: normal;
background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color,1.1),
shade(@theme_selected_bg_color, 0.6)); }
headerbar:backdrop { /* not focused */
min-height: 42px;
color: #FFFFFF;
background-image: linear-gradient(to bottom, shade(#808080,1.2), shade(#808080, 0.6)); }
/* ssd titlebars */
.default-decoration {
border-radius: 0px;
min-height: 32px;
padding: 0px;
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color; }
.default-decoration .titlebutton {
min-height: 32px;
min-width: 32px;
color: @theme_selected_fg_color; }
window.ssd headerbar.titlebar {
border-radius: 0px;
padding-top: 3px;
padding-bottom: 3px;
min-height: 32px; }
window.ssd headerbar.titlebar button.titlebutton {
padding-top: 3px;
padding-bottom:3px;
min-height: 0px;
color: @theme_selected_fg_color; }
/* end */
--
Linux Mint 22.2, Thunderbird 128.14.0esr, Mozilla Firefox 142.0
Alan K.
--- Synchronet 3.21a-Linux NewsLink 1.2