Hello everyone,
The new feature “media controls on lock screen” from Plasma 5.10 seems amazing but in my case I don’t the controls to be displayed on the lock screen. Anyone knows how to disable it?
Thanks in advance,
CnZhx
Hello everyone,
The new feature “media controls on lock screen” from Plasma 5.10 seems amazing but in my case I don’t the controls to be displayed on the lock screen. Anyone knows how to disable it?
Thanks in advance,
CnZhx
I’m researching this as well, no success so far.
Posting the resources I found so far:
It seems that there was supposed to be a config setting for it but it wasn’t added at first.
Oh, look:
/usr/share/plasma/look-and-feel/org.openSUSE.desktop/contents/lockscreen/LockScreenUi.qml
/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml
This is part of the plasma5-workspace-5.10.4-1.1.x86_64 package.
Uh oh:
Loader {
Layout.fillWidth: true
Layout.preferredHeight: item ? item.implicitHeight : 0
active: true // TODO configurable
source: "MediaControls.qml"
}
Seems it’s still not configurable.
At least I think if we manually set “active: false” then it would disable it… until the next package update.
If this source code is recent, it seems it hasn’t been fixed in an upcoming version: https://github.com/KDE/plasma-workspace/blob/master/lookandfeel/contents/lockscreen/LockScreenUi.qml#L183
Cool! You dug to such depth.
I try to hard change the item in both files to false
, and woo~~, the media control on lockscreen is gone.
Add myself there. Hopefully there is a fix soon. It’s very embarrassing to have a name of song on the lock screen while at work although it is not bad to listen to music while working.
Raised https://bugzilla.opensuse.org/show_bug.cgi?id=1056919 to explore the “look and feel specific setting” approach.