On 6/10/26 7:03 PM, Calvin Morrison via tde-devels wrote:
Regarding that kmilo provides an OSD that is very nice, and i see they do it for brightness as well. However, should such things be centralized? i do not know. I dont have a good view on it. It seems nice that they would all act the same, brightness, volume, etc. Perhaps that should be more pluggable or maybe if we decide to drop kmixer as default we make kmilo focus on tmix.
It seems a lot to ask to add DCOP, then get tmix to listen to it etc, all just so a global hotkey which already works - works within kmilo.
Calvin,
Sorry about the late reply, I'd missed this thread discussing the backlight function. I'd written a dbus based kde3 backlight widget that we touched on earlier in the thread. Currently it is just a small app that minimizes to the taskbar. (but does what I want, mousewheel-up over window things get brighter, -down things get dimmer) It does source maxbrightness from the sysclass/backlight interface, so whether you are using Intel or AMD or Nvidia graphics, it auto-configures the range.
https://www.3111skyline.com/dl/kde3/backlight/kgenericbacklight.png
If you want to pull the backlight code from it, it's in the kgenericbacklightwidget.cpp source in the bzipped src directory from kdevelop here:
https://www.3111skyline.com/dl/kde3/backlight/kgenericbacklight-src.tar.bz2 (26k)
If you want the entire kdevelop tree, that's xz zipped in:
https://www.3111skyline.com/dl/kde3/backlight/kgenericbacklight-full-2025042... (389k)
This just implements the dbus interface to backlight for laptops, and all-in-one boxes that register a /sys/class/backlight interface. You could use the Qdbus Qt inteface, but avoiding any surprise issues, I just opted for dbus itself.
Grab them if you want them, if your IP has changed or is block by the firewall, send me your IP offlist and I'll whitelist you.
I think small, single function apps, tmix - sound, somebrightness app - brightness, makes more sense than an all-in-one. Everbody has sound, not all have the ability to control backlight just based on the hardware. Though you could try both, autoconfigure the brightness to show based on the hardware -- but that generally complicates the app significantly.
If I find the motivation to finish the ksysbacklight implementation - I'll make that available too. ( I wouldn't hold you breath on that being next week :)