You are not logged in.
OS: Linux Mint XFCE 20.2
In this screenshot the "Open" button is highlighted, but the small difference between Cancel and Open is difficult to discern. Is there a way to make the difference obvious? Ideally Open would be, you know, bright orange or something.
I've tried lots of different themes in an effort to find a solution, but haven't had any luck and apparently Oomox doesn't work with Linux Mint anymore.
Suggestions welcome - I'm willing to fiddle around within theme files if necessary.
Thanks for your help.
Last edited by begtognen (2021-10-04 16:48:31)
Offline
Hello and welcome.
From which application is that image from?
Assuming a GTK3 application (maybe the filechooser dialog?) and one of the Mint themes, try something like this in ~/.config/gtk-3.0/gtk.css:
button.default { background-image: none; background-color: @theme_selected_bg_color; }
...you can change "@theme_selected_bg_color" (which uses the current theme's default background color) to any color code you want. So for example, for bright orange:
button.default { background-image: none; background-color: #FD5108; }
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you for your help.
In the ~/.config/gtk-3.0/ directory there's only one file: "bookmarks".
Should I create the gtk.css file?
I did check the gtk.css file for the theme I'm using (NumixBlue) but didn't have any luck there.
Offline
Yes, create the file if it doesn't exist. Log out and back in again to see the effect.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I created the file and rebooted. The file exists but is blank.
Offline
You need to add to the file one of the above statements:
If you want the button to have the default background colour, then copy and paste this into the file:
button.default { background-image: none; background-color: @theme_selected_bg_color; }
If you want the button to have an "orangey" background, copy and paste this into the file:
button.default { background-image: none; background-color: #FD5108; }
Then save the file, and log out and back in again.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Oh gosh, that worked like a charm! Thank you - I've been trying to find a solution to that problem for AGES.
Offline
I like it too! Added to my gtk.css, thanks.
Unfortunately, it doesn't seem to have an effect on the logout confirmation screen, using xfce4-session 4.14.2 (Xfce 4.14). Any ideas? That is one of the windows where that confusion is more bothersome...
Offline
Unfortunately, it doesn't seem to have an effect on the logout confirmation screen, using xfce4-session 4.14.2 (Xfce 4.14). Any ideas? That is one of the windows where that confusion is more bothersome...
Can you give this a try to see if it works:
.xfsm-logout-dialog button:focused { background-image: none; background-color: @theme_selected_bg_color; }
You'll need to log out and back in again.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Yes!
Much better with this contrast, I can't wait to show it to my father!
Thanks a lot.
Offline
[ Generated in 0.023 seconds, 8 queries executed - Memory usage: 560.16 KiB (Peak: 577.01 KiB) ]