Disable display of media controls on lock screen (showMediaControls) on KDE Plasma 5.12.7












1















The KDE lock screen has media player controls that look like this:



Aquarela do Linux! Jonathan Lewis back pause forward Switch User



I would like to turn this feature off,
as described in D9685 (Add config for the lockscreen to toggle media controls) and KDE Bug 384264.



I am running KUbuntu 18.04 with KDE Plasma 5.12.7,
and my lock screen config file looks like this:



<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name=""/>

<group name="General">
<entry name="showMediaControls" type="Bool">
<label>If true, shows any currently playing media along with controls to pause it.</label>
<default>true</default>
</entry>
</group>

</kcfg>


/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/config.xml



Unlike older versions, the media controls are configurable in Plasma 5.12.7:



$ grep -B 3 -A 2 config.showMediaControls /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml
Loader {
Layout.fillWidth: true
Layout.preferredHeight: item ? item.implicitHeight : 0
active: config.showMediaControls
source: "MediaControls.qml"
}


Accordingly, I have tried to change the showMediaControls setting,
but the setting is not available in the screenlocker menu:



$ kcmshell5 screenlocker


Configure Screen Locking Appearance Wallpaper Type Plain Color Black



Changing the theme from KUbuntu to Breeze or Breeze Dark had no effect.



I also tried changing the configuration from the command line. Since the name attribute of the kcfgfile element is empty, I would expect the config file to be lockscreenrc, so I used this command:



kwriteconfig5 --file lockscreenrc --group 'General' --key 'showMediaControls' --type 'bool' 'false'


However, this had no effect. Even after writing this setting to all these files:




  • breezerc

  • kcmshell5rc

  • kdeglobals

  • lockscreenrc

  • plasmarc


the player controls are still visible on the lock screen. How can I actually remove the controls from the lock screen?










share|improve this question

























  • Did you look at nixgh.com/linux/2018/03/03/…? But even if that works, you'll need to make the change each time the file is updated. I don't know what effect the other changes you've made to various other *rc files will have. I'd be cautious there.

    – DK Bose
    Mar 20 at 3:54






  • 1





    Yes, I read that, but that's for older versions. My LockScreenUI.qml file has active: config.showMediaControls (I'll update the question to make this explicit). And I've reverted the changes to the config files after verifying they didn't have any effect.

    – Nathaniel M. Beaver
    Mar 20 at 13:34













  • Purely speculating here … what about commenting out that particular Loader section if you have the OS in a VM?

    – DK Bose
    Mar 20 at 13:56











  • I know I can make the media controls go away if I set "active: false" by editing LockScreenUi.qml. Doing this changes the setting for all users, requires root privileges, is difficult to script, diverges my system from distro and upstream, and more generally makes upstream more likely to ignore my bug reports. So I want to actually use the setting in the config file as intended by upstream.

    – Nathaniel M. Beaver
    Mar 20 at 14:09


















1















The KDE lock screen has media player controls that look like this:



Aquarela do Linux! Jonathan Lewis back pause forward Switch User



I would like to turn this feature off,
as described in D9685 (Add config for the lockscreen to toggle media controls) and KDE Bug 384264.



I am running KUbuntu 18.04 with KDE Plasma 5.12.7,
and my lock screen config file looks like this:



<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name=""/>

<group name="General">
<entry name="showMediaControls" type="Bool">
<label>If true, shows any currently playing media along with controls to pause it.</label>
<default>true</default>
</entry>
</group>

</kcfg>


/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/config.xml



Unlike older versions, the media controls are configurable in Plasma 5.12.7:



$ grep -B 3 -A 2 config.showMediaControls /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml
Loader {
Layout.fillWidth: true
Layout.preferredHeight: item ? item.implicitHeight : 0
active: config.showMediaControls
source: "MediaControls.qml"
}


Accordingly, I have tried to change the showMediaControls setting,
but the setting is not available in the screenlocker menu:



$ kcmshell5 screenlocker


Configure Screen Locking Appearance Wallpaper Type Plain Color Black



Changing the theme from KUbuntu to Breeze or Breeze Dark had no effect.



I also tried changing the configuration from the command line. Since the name attribute of the kcfgfile element is empty, I would expect the config file to be lockscreenrc, so I used this command:



kwriteconfig5 --file lockscreenrc --group 'General' --key 'showMediaControls' --type 'bool' 'false'


However, this had no effect. Even after writing this setting to all these files:




  • breezerc

  • kcmshell5rc

  • kdeglobals

  • lockscreenrc

  • plasmarc


the player controls are still visible on the lock screen. How can I actually remove the controls from the lock screen?










share|improve this question

























  • Did you look at nixgh.com/linux/2018/03/03/…? But even if that works, you'll need to make the change each time the file is updated. I don't know what effect the other changes you've made to various other *rc files will have. I'd be cautious there.

    – DK Bose
    Mar 20 at 3:54






  • 1





    Yes, I read that, but that's for older versions. My LockScreenUI.qml file has active: config.showMediaControls (I'll update the question to make this explicit). And I've reverted the changes to the config files after verifying they didn't have any effect.

    – Nathaniel M. Beaver
    Mar 20 at 13:34













  • Purely speculating here … what about commenting out that particular Loader section if you have the OS in a VM?

    – DK Bose
    Mar 20 at 13:56











  • I know I can make the media controls go away if I set "active: false" by editing LockScreenUi.qml. Doing this changes the setting for all users, requires root privileges, is difficult to script, diverges my system from distro and upstream, and more generally makes upstream more likely to ignore my bug reports. So I want to actually use the setting in the config file as intended by upstream.

    – Nathaniel M. Beaver
    Mar 20 at 14:09
















1












1








1


0






The KDE lock screen has media player controls that look like this:



Aquarela do Linux! Jonathan Lewis back pause forward Switch User



I would like to turn this feature off,
as described in D9685 (Add config for the lockscreen to toggle media controls) and KDE Bug 384264.



I am running KUbuntu 18.04 with KDE Plasma 5.12.7,
and my lock screen config file looks like this:



<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name=""/>

<group name="General">
<entry name="showMediaControls" type="Bool">
<label>If true, shows any currently playing media along with controls to pause it.</label>
<default>true</default>
</entry>
</group>

</kcfg>


/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/config.xml



Unlike older versions, the media controls are configurable in Plasma 5.12.7:



$ grep -B 3 -A 2 config.showMediaControls /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml
Loader {
Layout.fillWidth: true
Layout.preferredHeight: item ? item.implicitHeight : 0
active: config.showMediaControls
source: "MediaControls.qml"
}


Accordingly, I have tried to change the showMediaControls setting,
but the setting is not available in the screenlocker menu:



$ kcmshell5 screenlocker


Configure Screen Locking Appearance Wallpaper Type Plain Color Black



Changing the theme from KUbuntu to Breeze or Breeze Dark had no effect.



I also tried changing the configuration from the command line. Since the name attribute of the kcfgfile element is empty, I would expect the config file to be lockscreenrc, so I used this command:



kwriteconfig5 --file lockscreenrc --group 'General' --key 'showMediaControls' --type 'bool' 'false'


However, this had no effect. Even after writing this setting to all these files:




  • breezerc

  • kcmshell5rc

  • kdeglobals

  • lockscreenrc

  • plasmarc


the player controls are still visible on the lock screen. How can I actually remove the controls from the lock screen?










share|improve this question
















The KDE lock screen has media player controls that look like this:



Aquarela do Linux! Jonathan Lewis back pause forward Switch User



I would like to turn this feature off,
as described in D9685 (Add config for the lockscreen to toggle media controls) and KDE Bug 384264.



I am running KUbuntu 18.04 with KDE Plasma 5.12.7,
and my lock screen config file looks like this:



<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name=""/>

<group name="General">
<entry name="showMediaControls" type="Bool">
<label>If true, shows any currently playing media along with controls to pause it.</label>
<default>true</default>
</entry>
</group>

</kcfg>


/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/config.xml



Unlike older versions, the media controls are configurable in Plasma 5.12.7:



$ grep -B 3 -A 2 config.showMediaControls /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml
Loader {
Layout.fillWidth: true
Layout.preferredHeight: item ? item.implicitHeight : 0
active: config.showMediaControls
source: "MediaControls.qml"
}


Accordingly, I have tried to change the showMediaControls setting,
but the setting is not available in the screenlocker menu:



$ kcmshell5 screenlocker


Configure Screen Locking Appearance Wallpaper Type Plain Color Black



Changing the theme from KUbuntu to Breeze or Breeze Dark had no effect.



I also tried changing the configuration from the command line. Since the name attribute of the kcfgfile element is empty, I would expect the config file to be lockscreenrc, so I used this command:



kwriteconfig5 --file lockscreenrc --group 'General' --key 'showMediaControls' --type 'bool' 'false'


However, this had no effect. Even after writing this setting to all these files:




  • breezerc

  • kcmshell5rc

  • kdeglobals

  • lockscreenrc

  • plasmarc


the player controls are still visible on the lock screen. How can I actually remove the controls from the lock screen?







18.04 kubuntu kde lock-screen plasma-5






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 20 at 20:17







Nathaniel M. Beaver

















asked Mar 20 at 2:15









Nathaniel M. BeaverNathaniel M. Beaver

223113




223113













  • Did you look at nixgh.com/linux/2018/03/03/…? But even if that works, you'll need to make the change each time the file is updated. I don't know what effect the other changes you've made to various other *rc files will have. I'd be cautious there.

    – DK Bose
    Mar 20 at 3:54






  • 1





    Yes, I read that, but that's for older versions. My LockScreenUI.qml file has active: config.showMediaControls (I'll update the question to make this explicit). And I've reverted the changes to the config files after verifying they didn't have any effect.

    – Nathaniel M. Beaver
    Mar 20 at 13:34













  • Purely speculating here … what about commenting out that particular Loader section if you have the OS in a VM?

    – DK Bose
    Mar 20 at 13:56











  • I know I can make the media controls go away if I set "active: false" by editing LockScreenUi.qml. Doing this changes the setting for all users, requires root privileges, is difficult to script, diverges my system from distro and upstream, and more generally makes upstream more likely to ignore my bug reports. So I want to actually use the setting in the config file as intended by upstream.

    – Nathaniel M. Beaver
    Mar 20 at 14:09





















  • Did you look at nixgh.com/linux/2018/03/03/…? But even if that works, you'll need to make the change each time the file is updated. I don't know what effect the other changes you've made to various other *rc files will have. I'd be cautious there.

    – DK Bose
    Mar 20 at 3:54






  • 1





    Yes, I read that, but that's for older versions. My LockScreenUI.qml file has active: config.showMediaControls (I'll update the question to make this explicit). And I've reverted the changes to the config files after verifying they didn't have any effect.

    – Nathaniel M. Beaver
    Mar 20 at 13:34













  • Purely speculating here … what about commenting out that particular Loader section if you have the OS in a VM?

    – DK Bose
    Mar 20 at 13:56











  • I know I can make the media controls go away if I set "active: false" by editing LockScreenUi.qml. Doing this changes the setting for all users, requires root privileges, is difficult to script, diverges my system from distro and upstream, and more generally makes upstream more likely to ignore my bug reports. So I want to actually use the setting in the config file as intended by upstream.

    – Nathaniel M. Beaver
    Mar 20 at 14:09



















Did you look at nixgh.com/linux/2018/03/03/…? But even if that works, you'll need to make the change each time the file is updated. I don't know what effect the other changes you've made to various other *rc files will have. I'd be cautious there.

– DK Bose
Mar 20 at 3:54





Did you look at nixgh.com/linux/2018/03/03/…? But even if that works, you'll need to make the change each time the file is updated. I don't know what effect the other changes you've made to various other *rc files will have. I'd be cautious there.

– DK Bose
Mar 20 at 3:54




1




1





Yes, I read that, but that's for older versions. My LockScreenUI.qml file has active: config.showMediaControls (I'll update the question to make this explicit). And I've reverted the changes to the config files after verifying they didn't have any effect.

– Nathaniel M. Beaver
Mar 20 at 13:34







Yes, I read that, but that's for older versions. My LockScreenUI.qml file has active: config.showMediaControls (I'll update the question to make this explicit). And I've reverted the changes to the config files after verifying they didn't have any effect.

– Nathaniel M. Beaver
Mar 20 at 13:34















Purely speculating here … what about commenting out that particular Loader section if you have the OS in a VM?

– DK Bose
Mar 20 at 13:56





Purely speculating here … what about commenting out that particular Loader section if you have the OS in a VM?

– DK Bose
Mar 20 at 13:56













I know I can make the media controls go away if I set "active: false" by editing LockScreenUi.qml. Doing this changes the setting for all users, requires root privileges, is difficult to script, diverges my system from distro and upstream, and more generally makes upstream more likely to ignore my bug reports. So I want to actually use the setting in the config file as intended by upstream.

– Nathaniel M. Beaver
Mar 20 at 14:09







I know I can make the media controls go away if I set "active: false" by editing LockScreenUi.qml. Doing this changes the setting for all users, requires root privileges, is difficult to script, diverges my system from distro and upstream, and more generally makes upstream more likely to ignore my bug reports. So I want to actually use the setting in the config file as intended by upstream.

– Nathaniel M. Beaver
Mar 20 at 14:09












1 Answer
1






active

oldest

votes


















1














KDE/Plasma Music Controls in Lock Screen



By https://kde.org/announcements/plasma-5.12.0.php :




Media controls have been added to the lock screen. For added privacy,
they can be disabled in Plasma 5.12.




but: https://bugs.kde.org/show_bug.cgi?id=389483#c4




Urgh, there's a bug.



If the "Appareance" tab is not the active tab on load, then it doesn't
render the second QtQuick UI




Fixed with the Plasma 5.12.2 or later...



But: https://bugs.kde.org/show_bug.cgi?id=389483#c17




A quick test with the Debian, Ubuntu and the Neon:



Debian - not working: https://imgur.com/oluO1Tu Ubuntu - not working:
https://imgur.com/tu1q2iL Neon - working: https://imgur.com/57EgU2d
...
This seems to be an Debian/Ubuntu problem. Maybe a bug repot in the
Debian/Ubuntu bug tracking system will help.




This is still broken in the Kubuntu 18.04. With the Kubuntu 18.10 the configuration option is there.



Manual configuration



The KDE screen locker configuration file is:



$ locate screenlocker
/home/<usernamehere>/.config/kscreenlockerrc


the kscreenlockerrc.



The configuration option is (true/false):



[Greeter][LnF][General]
showMediaControls=false


This can be added with the kwriteconfig5:




kwriteconfig5 --file kscreenlockerrc --group Greeter --group LnF
--group General --key showMediaControls --type bool false




Testing



Without:
enter image description here



With the 'false':



enter image description here






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127086%2fdisable-display-of-media-controls-on-lock-screen-showmediacontrols-on-kde-plas%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    KDE/Plasma Music Controls in Lock Screen



    By https://kde.org/announcements/plasma-5.12.0.php :




    Media controls have been added to the lock screen. For added privacy,
    they can be disabled in Plasma 5.12.




    but: https://bugs.kde.org/show_bug.cgi?id=389483#c4




    Urgh, there's a bug.



    If the "Appareance" tab is not the active tab on load, then it doesn't
    render the second QtQuick UI




    Fixed with the Plasma 5.12.2 or later...



    But: https://bugs.kde.org/show_bug.cgi?id=389483#c17




    A quick test with the Debian, Ubuntu and the Neon:



    Debian - not working: https://imgur.com/oluO1Tu Ubuntu - not working:
    https://imgur.com/tu1q2iL Neon - working: https://imgur.com/57EgU2d
    ...
    This seems to be an Debian/Ubuntu problem. Maybe a bug repot in the
    Debian/Ubuntu bug tracking system will help.




    This is still broken in the Kubuntu 18.04. With the Kubuntu 18.10 the configuration option is there.



    Manual configuration



    The KDE screen locker configuration file is:



    $ locate screenlocker
    /home/<usernamehere>/.config/kscreenlockerrc


    the kscreenlockerrc.



    The configuration option is (true/false):



    [Greeter][LnF][General]
    showMediaControls=false


    This can be added with the kwriteconfig5:




    kwriteconfig5 --file kscreenlockerrc --group Greeter --group LnF
    --group General --key showMediaControls --type bool false




    Testing



    Without:
    enter image description here



    With the 'false':



    enter image description here






    share|improve this answer




























      1














      KDE/Plasma Music Controls in Lock Screen



      By https://kde.org/announcements/plasma-5.12.0.php :




      Media controls have been added to the lock screen. For added privacy,
      they can be disabled in Plasma 5.12.




      but: https://bugs.kde.org/show_bug.cgi?id=389483#c4




      Urgh, there's a bug.



      If the "Appareance" tab is not the active tab on load, then it doesn't
      render the second QtQuick UI




      Fixed with the Plasma 5.12.2 or later...



      But: https://bugs.kde.org/show_bug.cgi?id=389483#c17




      A quick test with the Debian, Ubuntu and the Neon:



      Debian - not working: https://imgur.com/oluO1Tu Ubuntu - not working:
      https://imgur.com/tu1q2iL Neon - working: https://imgur.com/57EgU2d
      ...
      This seems to be an Debian/Ubuntu problem. Maybe a bug repot in the
      Debian/Ubuntu bug tracking system will help.




      This is still broken in the Kubuntu 18.04. With the Kubuntu 18.10 the configuration option is there.



      Manual configuration



      The KDE screen locker configuration file is:



      $ locate screenlocker
      /home/<usernamehere>/.config/kscreenlockerrc


      the kscreenlockerrc.



      The configuration option is (true/false):



      [Greeter][LnF][General]
      showMediaControls=false


      This can be added with the kwriteconfig5:




      kwriteconfig5 --file kscreenlockerrc --group Greeter --group LnF
      --group General --key showMediaControls --type bool false




      Testing



      Without:
      enter image description here



      With the 'false':



      enter image description here






      share|improve this answer


























        1












        1








        1







        KDE/Plasma Music Controls in Lock Screen



        By https://kde.org/announcements/plasma-5.12.0.php :




        Media controls have been added to the lock screen. For added privacy,
        they can be disabled in Plasma 5.12.




        but: https://bugs.kde.org/show_bug.cgi?id=389483#c4




        Urgh, there's a bug.



        If the "Appareance" tab is not the active tab on load, then it doesn't
        render the second QtQuick UI




        Fixed with the Plasma 5.12.2 or later...



        But: https://bugs.kde.org/show_bug.cgi?id=389483#c17




        A quick test with the Debian, Ubuntu and the Neon:



        Debian - not working: https://imgur.com/oluO1Tu Ubuntu - not working:
        https://imgur.com/tu1q2iL Neon - working: https://imgur.com/57EgU2d
        ...
        This seems to be an Debian/Ubuntu problem. Maybe a bug repot in the
        Debian/Ubuntu bug tracking system will help.




        This is still broken in the Kubuntu 18.04. With the Kubuntu 18.10 the configuration option is there.



        Manual configuration



        The KDE screen locker configuration file is:



        $ locate screenlocker
        /home/<usernamehere>/.config/kscreenlockerrc


        the kscreenlockerrc.



        The configuration option is (true/false):



        [Greeter][LnF][General]
        showMediaControls=false


        This can be added with the kwriteconfig5:




        kwriteconfig5 --file kscreenlockerrc --group Greeter --group LnF
        --group General --key showMediaControls --type bool false




        Testing



        Without:
        enter image description here



        With the 'false':



        enter image description here






        share|improve this answer













        KDE/Plasma Music Controls in Lock Screen



        By https://kde.org/announcements/plasma-5.12.0.php :




        Media controls have been added to the lock screen. For added privacy,
        they can be disabled in Plasma 5.12.




        but: https://bugs.kde.org/show_bug.cgi?id=389483#c4




        Urgh, there's a bug.



        If the "Appareance" tab is not the active tab on load, then it doesn't
        render the second QtQuick UI




        Fixed with the Plasma 5.12.2 or later...



        But: https://bugs.kde.org/show_bug.cgi?id=389483#c17




        A quick test with the Debian, Ubuntu and the Neon:



        Debian - not working: https://imgur.com/oluO1Tu Ubuntu - not working:
        https://imgur.com/tu1q2iL Neon - working: https://imgur.com/57EgU2d
        ...
        This seems to be an Debian/Ubuntu problem. Maybe a bug repot in the
        Debian/Ubuntu bug tracking system will help.




        This is still broken in the Kubuntu 18.04. With the Kubuntu 18.10 the configuration option is there.



        Manual configuration



        The KDE screen locker configuration file is:



        $ locate screenlocker
        /home/<usernamehere>/.config/kscreenlockerrc


        the kscreenlockerrc.



        The configuration option is (true/false):



        [Greeter][LnF][General]
        showMediaControls=false


        This can be added with the kwriteconfig5:




        kwriteconfig5 --file kscreenlockerrc --group Greeter --group LnF
        --group General --key showMediaControls --type bool false




        Testing



        Without:
        enter image description here



        With the 'false':



        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 21 at 10:10









        user26687user26687

        12.2k12432




        12.2k12432






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127086%2fdisable-display-of-media-controls-on-lock-screen-showmediacontrols-on-kde-plas%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b