How can I change the outline color of the active window from default (blue) to something else?

I don´t see the option (in the manual or the system settings) to achieve this. Is there another way?
pic

I can see why this might be harder to find if you’re not already aware. One would imagine this would be under appearance but it’s actually under Openbox config:

https://manual.lubuntu.me/stable/3/3.2/3.2.11/openbox_settings.html#usage

You can change the theme for the windows from here and this will also change the “borders” you see.

3 Likes

Thanks so much. I had looked there too but obviously missed some details.

Thanks for the link too. I don’t see a way to change the color of the outline, but the other themes lack an outline which is just as good for me.

Openbox Configuration lets you change themes, but not change the themes themselves. To do that you likely have to manually edit the value yourself, eg.

window.active.border.color: #606060

Note: this example may not be the theme/color you’re talking about, I just navigated to a Lubuntu theme on my box & grabbed a line as example, not checking to see if it was the theme you’re asking about.

3 Likes

Thanks. For anyone reading this, I found those values in:

share/themes/<theme-name>/openbox-3/themerc
2 Likes

:slight_smile:
Alas my reply had intended to include the name themerc; but I omitted typing that sorry (I was more worried/distracted by whether or not I’d selected the correct theme).

2 Likes

If you want to customise locally,

Pick one from;
Preferences > LXQt Settings > Openbox Settings > Theme

Note the name and find it in;
/usr/share/themes/
(e.g Lubuntu Arc)

Copy the whole directory to ;
~/.local/share/themes/
and rename the directory to something else e.g Lubuntu Arc2,

and Edit;
~/.local/share/themes/<New_Name>/openbox-3/themerc

e.g
border.width: 4
# use hex colors
window.inactive.border.color: #FFE4E1
# or X11 color names
window.active.border.color: Medium Violet Red

Then go back to;
Preferences > LXQt Settings > Openbox Settings > Theme
and select the new name.

3 Likes