API Scripting - Set Panel property in layout.js Widget org.kde.plasma.keyboardindicator
Totoro
ton.ami.totoro at gmail.com
Thu Feb 1 10:31:53 GMT 2024
Hi,
In my company we making our hown KDE layout-templates.
Actually I have problem with keyboardindicator widget.
I setup in the layout.js like :
var keyboardindicator = panel.addWidget("org.kde.plasma.keyboardindicator")
keyboardindicator.currentConfigGroup = ["General"]
keyboardindicator.writeConfig("key", 'Caps Lock,Num Lock')
But when configuration is generated in
plasma-org.kde.plasma.desktop-appletsrc and I do a logout / login
configuration is change from "Caps Lock,Num Lock" to "Caps Lock\\,Num Lock".
So configuration is not load correctly.
Any idea ?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20240201/50277b87/attachment.htm>
More information about the kde-devel
mailing list