Auto Theming

While I can see how to use the colorizer to tell OpenBox, Conky, & the menus & panels to pull colors from the background individually (Left Panel > Conky Manager > Color schemes, for one), but i cannot find where to make this adjustment for all at once. I’d prefer to be able to turn on auto-theming so I can automatically change the wallpaper and have the conkies/panels follow suit and automatically pull their colors from the new wallpaper, but I cannot find the setting. I do see an auto-theme option in the video about colorizer from 2022 on the Mabox www site (https://www.youtube.com/watch?v=h50oeS7aFyM&ab_channel=MaboxLinux). Was this option depreciated? Or moved elsewhere, perhaps? Many thanks in advance, and I searched the forum prior to posting, so I hope this was not covered elsewhere and I somehow missed it.

OS: MaboxLinux 25.07 Istredd, Kernel: x86_64 Linux 6.12.34-1-MANJARO

2 Likes

Hi @patrick.christy and welcome to the forum :slight_smile:

Yes, the autotheming functionality was removed some time ago.

The reason for the removal was that sometimes - when using wallpapers with one or two colors - the generated Openbox Window Decoration, Menu and Conky themes were unreadable.

I’m figuring out how to restore it in a more secure way.
Maybe as an optional configurable hook (bash script) after changing the wallpaper.
Also showing notification with button to restore default - readable themes might be handy.

1 Like

I’m working to rewrite, improve and re-add this feature…

It will be available again with next update.
Stay tuned :wink:

Thank you for reminding me about this.

Work in progress screenshot…

1 Like

Wow. Thank you for the prompt response! I’ll keep my eyes open!


I pushed packages into testing for now → repo.maboxlinux.org/testing/x86_64/

All 3 are needed, feel free to install them and try if you like.

It works much better now than what we had before.

1 Like

You’re fantastic. I haven’t seen this much passion from a developer since I emailed back and forth with Ken Silverman [BUILD Engine] in '97 about Duke3D. I’ll try these this weekend as soon as I have a chance. Thank you, man. Really. And I have to toss in that the VM side panel menu was completely unexpected but is one of my favorite features.

1 Like

This solves the main issue I was contending with, thank you!!! On manual change, the theme elements update automatically based on preference, (the Conky dark menu under Auto Theme says ‘DARK_BG’, by the way, but I cannot get a screenshot of it). I absolutely love it. :smiley:

This comes up each time the wallpaper is changed or set, though, and stays for as long as notifications are set to:

Also, when the wallpaper slideshow is enabled, theme elements do not update. Please be aware I’m not criticizing in the least! I’m super thankful that you even replied to my initial question! I’ll keep testing and report back any other findings. Thank you AGAIN!

1 Like

Thanks for your feedback :slight_smile:

I’ve deliberately disabled auto-theming in Slideshow.

Maybe once the whole thing is well-tested and stable, we’ll add it to Slideshow as an option.

The notifications are annoying, especially when we constantly change wallpapers. I plan to add an option to disable notifications.

Thank you! If there is anything you’d like me to do to help with testing or reporting bugs (if there are any), I’d be happy to help.

1 Like

Thanks :slight_smile:

I have one more really important thing to test at the moment.
Rewriten nitrogen wrapper, which uses feh instead of nitrogen for set/change wallpaper. :wink:
If you have time, please download it and try it.

UPDATE! - fixing wrong command below

cd ~/bin/
wget https://repo.maboxlinux.org/testing/x86_64/nitrogen
chmod +x ~/bin/nitrogen

Please see if changing wallpaper works as it should after that. I tested this already on my 2 machines and VM. Seems ok.

Now I cannot change the wallpaper via right-clicking on a file from PCManFM, nor any other method, for that matter, :wink:

Ok, so I missed something :slight_smile:
Strange…
You can delete this ~/bin/nitrogen so everything should work again.

UPPPS i messed wget command… lol

cd ~/bin
rm nitrogen
wget https://repo.maboxlinux.org/testing/x86_64/nitrogen
chmod +x ~/bin/nitrogen
1 Like

I should have picked up on that. I’m an old DOS guy just now leaning into Linux as a daily driver.
That works like a charm and the auto-theming (at least on the conkys) appears to be faster than it was previously. Of course, I could also be nuts. And hello to the 40-something people watching this exciting exchange.

1 Like

I pushed the update to the repo. I hope I didn’t miss anything. :wink:

@patrick.christy, please remove ~/bin/nitrogen - not needed anymore.

Thanks for the reminder and for helping me with testing.

Will do and thank you! I’ve been holding off on those two package updates. YOu are awesome, sir, and I truly appreciate the help!

1 Like

You can also remove previously generated color palettes from the colorizer cache:

rm ~/.cache/colorizer/palettes/*.clr

and thumbnails

rm ~/.cache/colorizer/thumbs/*.png