On 5/17/26 7:30 AM, Calvin Morrison via tde-devels wrote:
Well done Calvin!
This is also a great example for use of ksystemtray.h which I had searched the old kde docs and not been able to find anything other than the class reference and its "very terse" set of notes on implementation.
one of the harder parts of the interface I felt to 'get right' went through about 4 or 5 iterations. the pulse stuff was working in my kmix branch, but to get tmix to 'work', and for something as important as a systray for volume it needs to 'just work' intutively... it was hard to get right. for example, i think the balance widget is intuitive but was not immediately obvious how to make it so.
This is where I got stuck with my display backlight program for integrated displays (laptops/all-in-one boxes). I had the dbus implementation done. I could use it from the command line or a small window with integrated slider/spinbox but wanted the kmix type implementation in systray so all you needed to do was roll the middle-mousewheel over the systray icon to alter backlight like you can do with volume in kmix.
Did you find any other docs that helped or did you use kmix or knemo or some similar app to sort this out?
The entire thing started as a fork of kmix but it got basically 'stuck'. KMix was designed in a way that i couldnt move past from, especially in regard to how available streams change so frequently with pulse having to reload / redraw the interface was funky.
Yep, been there. I used both kmix and knemo as examples that I worked to dissect, but pulling the basic ksystray implementation out of the set of split files and classes did not end well :)
I'll give it another go using tmix as a go-by and will hopefully have better luck. Thanks!