Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-06-03 16:11:22

SpongB0B
Member
Registered: 2022-06-01
Posts: 16

How change window border color of a theme ?

Hi everyone,

I'm trying to change the window border color of a theme that is installed with MX distribution

named mx-comfort-dark

I've been told

to edit

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

I've edited the line with

@define-color wm_border_focused #0f56d9;

with the color that I wanted.. but nothing happen.

then I've been told to compile the theme with this command ->

cd /usr/share/themes/mx-comfort-dark/gtk-3.0/
glib-compile-resources gtk.resource.xml

So

  1. Is this the correct / simpler way ?
      

  2. I don't have glib-compile-resources
    and it seem not available for dw...

    apt list glib*
    
    glib-networking-common/stable,now 2.66.0-2 all [installed,automatic]
    glib-networking-services/stable,now 2.66.0-2 amd64 [installed,automatic]
    glib-networking-tests/stable 2.66.0-2 amd64
    glib-networking/stable,now 2.66.0-2 amd64 [installed,automatic]
    glibc-doc/stable 2.31-13+deb11u3 all
    glibc-source/stable 2.31-13+deb11u3 all

Thank you.

Last edited by SpongB0B (2022-06-03 16:14:45)


Linux noob, plz be kind big_smile

Offline

#2 2022-06-03 18:22:45

KBar
Moderator
Registered: 2021-11-05
Posts: 613

Re: How change window border color of a theme ?

Is this theme Xfwm4-ready? What are the contents of its directory?

ls -l /usr/share/themes/mx-comfort-dark/

Last edited by KBar (2022-06-03 18:22:54)


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#3 2022-06-05 06:28:13

SpongB0B
Member
Registered: 2022-06-01
Posts: 16

Re: How change window border color of a theme ?

It's look like ->

drwxr-xr-x 2 root root 4.0K Jun  2 06:52 assets
drwxr-xr-x 4 root root 4.0K Jun  2 06:52 cinnamon
drwxr-xr-x 2 root root 4.0K Jun  2 06:52 gtk-2.0
drwxr-xr-x 4 root root 4.0K Jun  2 06:52 gtk-3.0
drwxr-xr-x 2 root root 4.0K Jun  2 06:52 metacity-1
drwxr-xr-x 2 root root 4.0K Jun  2 06:52 openbox-3
drwxr-xr-x 3 root root 4.0K Jun  2 06:52 unity
drwxr-xr-x 2 root root 4.0K Jun  2 06:52 xfwm4
-rw-r--r-- 1 root root  239 Jun  2 06:51 index.theme

Linux noob, plz be kind big_smile

Offline

Board footer

Powered by FluxBB