• Linux Mint - no frames

    From Kazik Kaz@kazik.kaz@no.email to alt.os.linux.mint on Sat Sep 6 12:41:34 2025
    From Newsgroup: alt.os.linux.mint

    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
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Alan K.@alan@invalid.com to alt.os.linux.mint on Sat Sep 6 07:42:05 2025
    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
  • From Kazik Kaz@kazik.kaz@no.email to alt.os.linux.mint on Sat Sep 6 14:28:43 2025
    From Newsgroup: alt.os.linux.mint

    W dniu 6.09.2025 o-a13:42, Alan K. pisze:

    Oooo, I just took this code out of my configs and boy do I hate that borderless display!!!

    This is how I fixed it.-a It works for me.
    (...)

    Your configuration works. I've extended it with:

    #---
    decoration {
    border: 2px solid #777777;
    background: #000000;
    }
    #---

    Thanks for your help,
    Kazik


    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Kazik Kaz@kazik.kaz@no.email to alt.os.linux.mint on Sat Sep 6 15:39:43 2025
    From Newsgroup: alt.os.linux.mint

    W dniu 6.09.2025 o-a13:42, Alan K. pisze:

    Oooo, I just took this code out of my configs and boy do I hate that borderless display!!!

    This is how I fixed it.-a It works for me.

    One thing I've noticed is that the System Settings->Themes icon isn't responding.
    To make it work, there's need to delete the ~/.config/gtk-3.0/gtk.css
    file and then restore it once it's finished.

    Kazik

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Alan K.@alan@invalid.com to alt.os.linux.mint on Sat Sep 6 09:52:18 2025
    From Newsgroup: alt.os.linux.mint

    On 9/6/25 9:39 AM, Kazik Kaz wrote:
    W dniu 6.09.2025 o-a13:42, Alan K. pisze:

    Oooo, I just took this code out of my configs and boy do I hate that
    borderless display!!!

    This is how I fixed it.-a It works for me.

    One thing I've noticed is that the System Settings->Themes icon isn't responding.
    To make it work, there's need to delete the ~/.config/gtk-3.0/gtk.css
    file and then restore it once it's finished.

    Kazik

    Never had that issue.
    You mean if you open settings you can't click the themes button (icon).?
    --
    Linux Mint 22.2, Thunderbird 128.14.0esr, Mozilla Firefox 142.0
    Alan K.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Kazik Kaz@kazik.kaz@no.email to alt.os.linux.mint on Sun Sep 7 09:26:57 2025
    From Newsgroup: alt.os.linux.mint

    W dniu 6.09.2025 o-a15:52, Alan K. pisze:

    Kazik

    Never had that issue.
    You mean if you open settings you can't click the themes button (icon).?


    Yes, exactly, when I click the Themes icon, a new window does not open.

    Kazik
    --- Synchronet 3.21a-Linux NewsLink 1.2