Hey guys.
Thanks for Linux Mint. I love it and use it as my daily driver private and at work.
After using Linux Mint 21 (clean install) I have a problem which I need to solve somehow.
I am a developer and spend quite some time in consoles. Since you guys removed the Metacity option in themes, I have a problem with borders. I am not complaning. In fact, I think it was the right choice to "move forward" with themes. However, I was using a theme, based on Mint-Y-Dark-Blue and modified a bit. Simply put, I added a very thin border to gnome-terminal. It is currently very hard to separate two overlapping gnome-terminals. The border helped a lot.
Before someone reply that I need to create/modify theme - well, that would be the obvius answer. But I dont know how.
How can I modify a theme to add a border to gnome-terminal - and only gnome-terminal?
Does there exist a tool that report back what I need to modify in css?
[SOLVED] LM21 - missing border on gnome-terminal
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] LM21 - missing border on gnome-terminal
Last edited by LockBot on Fri Feb 17, 2023 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: LM21 - missing border on gnome-terminal
I don't think what you want to do is possible. Muffin only loads one theme at time. So you can't have two separate themes. One for gnome-terminal and a different one for other applications. Mint-Y has a thin 1px border by default. Maybe your other theme just needs some updating to work properly with the way things work now?
When I give opinions, they are my own. Not necessarily those of any other Linux Mint developer or the Linux Mint project as a whole.
Re: LM21 - missing border on gnome-terminal
I have "parked" my own theme for now. Then I copied the /usr/share/themes/Mint-Y-Dark-Blue/ to ~/.themes/MyTheme/ and wants to modify it.
I have seen examples of modifying css for gnome-terminal by adding a file "{theme}/gtk-3.0/apps/gnome-terminal.css". But I dont know what is required for it to work. I also try to modify gtk-3.0/gtk.css but with no luck either. I guess I am not a designer .
I have seen examples of modifying css for gnome-terminal by adding a file "{theme}/gtk-3.0/apps/gnome-terminal.css". But I dont know what is required for it to work. I also try to modify gtk-3.0/gtk.css but with no luck either. I guess I am not a designer .
Re: LM21 - missing border on gnome-terminal
You may create second profile with slightly different terminal text and background colors. Profiles are switched by right-click -->Profiles.
After opening second terminal instance just switch its profile.
Last edited by t42 on Thu Aug 18, 2022 9:22 am, edited 1 time in total.
-=t42=-
Re: LM21 - missing border on gnome-terminal
U can specify the theme to launch an application with using the GTK_THEME variable, like GTK_THEME=Mint-Y app
Re: LM21 - missing border on gnome-terminal
Create file
Then logout/login and all (?) windows will have a 1 px gray border.
This is not exactly what you wanted and may be "not-so-nice" if you are using a dark theme.
You could try it.
It is easy to revert by simply deleting the file.
~/.config/gtk-3.0/gtk.css
containing this:
Code: Select all
decoration {
border: 1px solid gray;
background: gray;
}
This is not exactly what you wanted and may be "not-so-nice" if you are using a dark theme.
You could try it.
It is easy to revert by simply deleting the file.
Re: LM21 - missing border on gnome-terminal
Another way to deal with this issue might be to simply change the terminal background color.
I suppose you are used to a black (#000000) background. Simply changing the background color to #101010 will be enough to let you see the border of one window against another window because of the window "shadow".
Changing the background color can be done via Preferences for the current profile.
Using the built-in terminal scheme "Tango" could also work, though its background is more gray than black.
I suppose you are used to a black (#000000) background. Simply changing the background color to #101010 will be enough to let you see the border of one window against another window because of the window "shadow".
Changing the background color can be done via Preferences for the current profile.
Using the built-in terminal scheme "Tango" could also work, though its background is more gray than black.
Re: LM21 - missing border on gnome-terminal
My Linux Mint is scripted, so it would be easy for me 2 incorporate the "~/.config/gtk-3.0/gtk.css" file. This will be a good approach until I find a better theme.
Thanks guys for information.
Thanks guys for information.