Page 1 of 3

How change selection colors on themes?

Posted: Sun Mar 10, 2024 1:08 pm
by pcfan
Hello, I am under mx xfce, I wonder how can I activate the option to change selection colors on themes. This feature is included in xlde desktop and I would like to add something alike into xfce.

Code: Select all

[CODE]System:
  Kernel: 6.1.0-18-amd64 [6.1.76-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-18-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.2_x64 Libretto January 21  2024 base: Debian GNU/Linux 12
    (bookworm) 
Thanks in advance.

Re: How change selection colors on themes?

Posted: Sun Mar 10, 2024 1:55 pm
by MXRobo
Not sure what you're looking for, but maybe:
MX-Tweak – Theme – Themes - - Application
MX-Tweak – Theme – Themes - - Window Manager (Choose a thick-border one
MX-Tweak – Theme – Themes - - Icons

Also, which are also available from within MX-Tweak
Appearance – Style, and Icons
Window Manager > Style

Personally:
Themes - Matcha-dark-aliz, mx-comfort-dark-thick-border, Papirus-mxdarkblue

Papirus Folder Colors (recently added app)

Re: How change selection colors on themes?

Posted: Sun Mar 10, 2024 2:16 pm
by pcfan
Hi thanks for your reply, I mean if I chose a Theme lets say mx-comfornt-dark, I would like to change its color blue (for selection) let say for green.
Image

Re: How change selection colors on themes?

Posted: Sun Mar 10, 2024 3:08 pm
by Charlie Brown
Though this is not the way you ask (as it's the manual way, not that tool): i.e.

Code: Select all

/usr/share/themes/mx-comfort-dark/gtk-3.0/dist/gtk.css

/usr/share/themes/mx-comfort-dark/gtk-3.0/dist/gtk-dark.css

Code: Select all

@define-color theme_selected_bg_color #0f56d9;


Also:

Code: Select all

/usr/share/themes/mx-comfort-dark/gtk-2.0/gtkrc

Code: Select all

gtk-color-scheme = "selected_bg_color: #0f56d9"

Re: How change selection colors on themes?

Posted: Sun Mar 10, 2024 3:17 pm
by MXRobo
the option to change selection colors on themes.
Well 'duh' on me. :bagoverhead:
Although that's why I wasn't sure, I haven't seen any utility like that, and since you had it in lxde - good luck!

Re: How change selection colors on themes?

Posted: Sun Mar 10, 2024 5:18 pm
by pcfan
Charlie Brown wrote: Sun Mar 10, 2024 3:08 pm Though this is not the way you ask (as it's the manual way, not that tool): i.e.

Code: Select all

/usr/share/themes/mx-comfort-dark/gtk-3.0/dist/gtk.css

/usr/share/themes/mx-comfort-dark/gtk-3.0/dist/gtk-dark.css

Code: Select all

@define-color theme_selected_bg_color #0f56d9;


Also:

Code: Select all

/usr/share/themes/mx-comfort-dark/gtk-2.0/gtkrc

Code: Select all

gtk-color-scheme = "selected_bg_color: #0f56d9"
Thank you! I will try as soon as possible and come back.....

Re: How change selection colors on themes?

Posted: Sun Mar 10, 2024 6:09 pm
by pcfan
@Charlie Brown Do I have to run this on console? Also would this apply to "Arcdark" theme aswell?

UPDATE. I got it now, sorry for the question.

Re: How change selection colors on themes?

Posted: Sun Mar 10, 2024 7:03 pm
by pcfan
well I am sorry to say, I follow the instructions, edited each file as root , saved changes and rebooted but it didn't work in general It just work with some applications like "virtual box" or "audacious", maybe I missed something?

Re: How change selection colors on themes?

Posted: Sun Mar 10, 2024 7:11 pm
by Charlie Brown
If you like try it the same way on non-MX themes, it may work.

Once there was a similar thread and I remember @dolphin_oracle and/or @asqwerth said editing these won't be enough, something more needed (specifically for MX-comfort theme(s) )

(When it was gtk2 I used to do it that way, say, modifying Blackbird theme and creating my own ... )

Re: How change selection colors on themes?

Posted: Sun Mar 10, 2024 10:00 pm
by artytux
Would making a copy then *Save As* the new copy, name changed to eg= mx-comfort-dark to mx-comfort-dark-pcfan and work on the second one the copy,
Have you tried that maybe ?