Bug 493262

Summary: Keyboard LED accent color nor Kameleon Service in Background Services can be disabled
Product: [Plasma] plasmashell Reporter: Adam <a-borawski>
Component: Brightness and ColorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: cwo.kde, natalie_clarius, nate
Priority: NOR    
Version: 6.1.5   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:
Attachments: Add kdeglabals
Brightness and Color applet
Brightness and Color applet
Brightness and Color

Description Adam 2024-09-17 13:30:46 UTC
Follow accent color (Keyboard Color) cannot be disabled permanently. It is enabled each time system restarts.

One of possible ways to solve the issue is probably to disable Kameleon service which synchronizes accent and keyboard colors. But when it is disabled in Background Services it comes back running, after restart as well. In other words it cannot be disabled.


Linux/KDE Plasma:  KDE Neon User Edition
KDE Plasma Version:  6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Comment 1 cwo 2024-09-17 15:46:20 UTC
Thank you for the bug report!

Seems that being unable to disable this in the Brightness applet is the more central issue, as that is very user-facing. This applet also has a bugzilla component, so I'm assigning this there (although background service should also not become reenabled on its own).
Comment 2 Natalie Clarius 2024-09-17 16:09:44 UTC
The switch in the applet is meant to make this possible.

So you're saying you set the switch in the applet to off and it the keyboard backlight is reset to white once, but at the next reboot it has the accent color again?

Does your ~/.config/kdeglobals have an entry "DeviceLedsAccentColored" set to false?
Comment 3 Adam 2024-09-17 16:41:09 UTC
Natalie Clarius

Is this post addressed to me?
Comment 4 Natalie Clarius 2024-09-17 19:05:50 UTC
Yes.
Comment 5 Adam 2024-09-17 19:34:43 UTC
Ok.
Where can I find this setting? 
"~/.config/kdeglobals have an entry "DeviceLedsAccentColored"
I tried looking on the system drive, but I couldn't find it.
I'm not that advanced in Linux.
Comment 6 Adam 2024-09-17 19:49:24 UTC
Created attachment 173792 [details]
Add kdeglabals
Comment 7 Natalie Clarius 2024-09-17 20:24:51 UTC
Thanks, this is the right file and it doesn't have that entry. So it seems that for some reason the choice to disable the feature is not saved in the config file as it should, so it's not remembered across reboots.
Comment 8 Adam 2024-09-17 20:54:16 UTC
Ok. So we have to wait patiently for a fix. :)
Comment 9 Bug Janitor Service 2024-09-17 21:33:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/627
Comment 10 Natalie Clarius 2024-09-18 19:41:11 UTC
Git commit 2b9baab84185139ec315ffdde939f12d252e24d2 by Natalie Clarius.
Committed on 18/09/2024 at 19:38.
Pushed by nclarius into branch 'master'.

kameleon: sync config after writing entry

To ensure the new value is saved immediately and not lost when rebooting.

M  +1    -0    kdeds/kameleon/kameleon.cpp

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/2b9baab84185139ec315ffdde939f12d252e24d2
Comment 11 Natalie Clarius 2024-09-18 19:46:51 UTC
Until the new version with the bugfix is released, you can manually set

DeviceLedsAccentColored=false

as a new entry under the heading

[General]

in 

~/.config/kdeglobals
Comment 12 Natalie Clarius 2024-09-18 19:47:56 UTC
Git commit 910cdda6b940e198ff957b7d34e006a3d8215155 by Natalie Clarius.
Committed on 18/09/2024 at 19:44.
Pushed by nclarius into branch 'Plasma/6.2'.

kameleon: sync config after writing entry

To ensure the new value is saved immediately and not lost when rebooting.


(cherry picked from commit 2b9baab84185139ec315ffdde939f12d252e24d2)

Co-authored-by: Natalie Clarius <natalie_clarius@yahoo.de>

M  +1    -0    kdeds/kameleon/kameleon.cpp

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/910cdda6b940e198ff957b7d34e006a3d8215155
Comment 13 Adam 2024-09-18 22:13:46 UTC
I added this entry, but the service is still running after restart
Comment 14 Natalie Clarius 2024-09-18 22:21:29 UTC
Is only the service running in the background or does it also still enforce accent color?
Comment 15 Adam 2024-09-18 22:25:54 UTC
You mean the accent color service? I have it disabled
Comment 16 Natalie Clarius 2024-09-18 22:45:23 UTC
It is not clear to me what you mean by "disabled the service". You disabled the kameleon entry in Background Services in System Settings, or you diabled the feature by setting the switch in the applet to off?
But forget about the service for now. When you set the switch in the applet to off and reboot, is the switch back on, and is accent color enforced again?
Comment 17 Adam 2024-09-18 22:56:08 UTC
Sorry, but I don't know anything about the applet.
Where can I find it?
Comment 18 Adam 2024-09-18 23:03:27 UTC
I don't use applets
Comment 19 Natalie Clarius 2024-09-18 23:25:28 UTC
Created attachment 173845 [details]
Brightness and Color applet

This is where you are meant to disable the feature.   
That the background service is still running is expected, because we still need to check whether to even show the control depending on whether the feature is at all supported on your device to, and to react if you change your preference about turning at on.
So don't think about disabling the background service in system settings. Just check that after changing the configuration manually, the switch is off as it should, and accent color is no longer enforced.
Comment 20 Adam 2024-09-19 11:03:04 UTC
Created attachment 173859 [details]
Brightness and Color applet

This feature has always been disabled
Comment 21 Adam 2024-09-20 14:35:40 UTC
Created attachment 173910 [details]
Brightness and Color

UPDATE.

I set Brightness and Color to off as you mentioned earlier and the Chameleon service no longer starts by itself after a restart.
Your advice was right, Thanks :)