How change selection colors on themes?

Message
Author
User avatar
pcfan
Posts: 124
Joined: Mon Feb 05, 2024 6:23 pm

How change selection colors on themes?

#1 Post 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.

MXRobo
Posts: 1835
Joined: Thu Nov 14, 2019 12:09 pm

Re: How change selection colors on themes?

#2 Post 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)

User avatar
pcfan
Posts: 124
Joined: Mon Feb 05, 2024 6:23 pm

Re: How change selection colors on themes?

#3 Post 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

Charlie Brown

Re: How change selection colors on themes?

#4 Post 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"

MXRobo
Posts: 1835
Joined: Thu Nov 14, 2019 12:09 pm

Re: How change selection colors on themes?

#5 Post 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!

User avatar
pcfan
Posts: 124
Joined: Mon Feb 05, 2024 6:23 pm

Re: How change selection colors on themes?

#6 Post 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.....

User avatar
pcfan
Posts: 124
Joined: Mon Feb 05, 2024 6:23 pm

Re: How change selection colors on themes?

#7 Post 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.

User avatar
pcfan
Posts: 124
Joined: Mon Feb 05, 2024 6:23 pm

Re: How change selection colors on themes?

#8 Post 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?

Charlie Brown

Re: How change selection colors on themes?

#9 Post 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 ... )

User avatar
artytux
Posts: 398
Joined: Wed Apr 26, 2023 3:58 am

Re: How change selection colors on themes?

#10 Post 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 ?
" Outside the square , inside the cube "

Post Reply

Return to “XFCE Desktop Environment”