<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments for NIX Daily	</title>
	<atom:link href="https://nixdaily.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://nixdaily.com</link>
	<description>Linux Tutorials and How to</description>
	<lastBuildDate>Tue, 12 May 2020 06:51:04 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.2</generator>
	<item>
		<title>
		Comment on Add a Background Video to SDDM Login Screen by Humza		</title>
		<link>https://nixdaily.com/how-to/add-video-background-to-sddm-login-screen/#comment-436</link>

		<dc:creator><![CDATA[Humza]]></dc:creator>
		<pubDate>Tue, 12 May 2020 06:51:04 +0000</pubDate>
		<guid isPermaLink="false">https://nixdaily.com/?p=211#comment-436</guid>

					<description><![CDATA[I didnt have an item bracket near my repeater, My sddm now just lags and changes to green.  

My media player and video output is between my repeater and clock. i was wondering if you could help me with this project. It tells me a lot of buffer are being dropped.]]></description>
			<content:encoded><![CDATA[<p>I didnt have an item bracket near my repeater, My sddm now just lags and changes to green.  </p>
<p>My media player and video output is between my repeater and clock. i was wondering if you could help me with this project. It tells me a lot of buffer are being dropped.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Add a Background Video to SDDM Login Screen by Humza		</title>
		<link>https://nixdaily.com/how-to/add-video-background-to-sddm-login-screen/#comment-435</link>

		<dc:creator><![CDATA[Humza]]></dc:creator>
		<pubDate>Tue, 12 May 2020 06:12:50 +0000</pubDate>
		<guid isPermaLink="false">https://nixdaily.com/?p=211#comment-435</guid>

					<description><![CDATA[/*
 *   Copyright 2016 David Edmundson 
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Library General Public License as
 *   published by the Free Software Foundation; either version 2 or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details
 *
 *   You should have received a copy of the GNU Library General Public
 *   License along with this program; if not, write to the
 *   Free Software Foundation, Inc.,
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

import QtQuick 2.2

import QtQuick.Layouts 1.1
import QtQuick.Controls 1.1

import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import QtMultimedia 5.9
import &quot;components&quot;



PlasmaCore.ColorScope {
    id: root
    colorGroup: PlasmaCore.Theme.ComplementaryColorGroup

    width: 1600
    height: 900

    property string notificationMessage

    LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
    LayoutMirroring.childrenInherit: true

    PlasmaCore.DataSource {
        id: keystateSource
        engine: &quot;keystate&quot;
        connectedSources: &quot;Caps Lock&quot;
    }

    Repeater {
        model: screenModel

        Background {
            x: geometry.x; y: geometry.y; width: geometry.width; height: geometry.height
            sceneBackgroundType: config.type
            sceneBackgroundColor: config.color
            sceneBackgroundImage: config.background
        }
    }

        MediaPlayer{
            id: videoPlayer
            source: &quot;Login.mp4&quot;
            playbackRate: 0.9
            loops: -1
            autoPlay: true
    }
         VideoOutput{
            source: videoPlayer
            anchors.fill: parent
    }

    Clock {
        visible: y &#062; 0
        y: (userListComponent.userList.y + mainStack.y)/2 - height/2
        anchors.horizontalCenter: parent.horizontalCenter
    }


    StackView {
        id: mainStack
        anchors {
            left: parent.left
            right: parent.right
        }
        height: root.height

        focus: true //StackView is an implicit focus scope, so we need to give this focus so the item inside will have it

        Timer {
            //SDDM has a bug in 0.13 where even though we set the focus on the right item within the window, the window doesn&#039;t have focus
            //it is fixed in 6d5b36b28907b16280ff78995fef764bb0c573db which will be 0.14
            //we need to call &quot;window-&#062;activate()&quot; *After* it&#039;s been shown. We can&#039;t control that in QML so we use a shoddy timer
            //it&#039;s been this way for all Plasma 5.x without a huge problem
            running: true
            repeat: false
            interval: 200
            onTriggered: mainStack.forceActiveFocus()
        }

        initialItem: Login {
            id: userListComponent
            userListModel: userModel
            userListCurrentIndex: userModel.lastIndex &#062;= 0 ? userModel.lastIndex : 0
            lastUserName: userModel.lastUser
            showUserList: {
                if ( !userListModel.hasOwnProperty(&quot;count&quot;)
                &#124;&#124; !userListModel.hasOwnProperty(&quot;disableAvatarsThreshold&quot;))
                    return (userList.y + mainStack.y) &#062; 0

                if ( userListModel.count == 0 ) return false

                return userListModel.count  0
            }

            notificationMessage: {
                var text = &quot;&quot;
                if (keystateSource.data[&quot;Caps Lock&quot;][&quot;Locked&quot;]) {
                    text += i18nd(&quot;plasma_lookandfeel_org.kde.lookandfeel&quot;,&quot;Caps Lock is on&quot;)
                    if (root.notificationMessage) {
                        text += &quot; • &quot;
                    }
                }
                text += root.notificationMessage
                return text
            }

            actionItems: [
                ActionButton {
                    iconSource: &quot;system-suspend&quot;
                    text: i18nd(&quot;plasma_lookandfeel_org.kde.lookandfeel&quot;,&quot;Suspend&quot;)
                    onClicked: sddm.suspend()
                    enabled: sddm.canSuspend
                    visible: !inputPanel.keyboardActive
                },
                ActionButton {
                    iconSource: &quot;system-reboot&quot;
                    text: i18nd(&quot;plasma_lookandfeel_org.kde.lookandfeel&quot;,&quot;Restart&quot;)
                    onClicked: sddm.reboot()
                    enabled: sddm.canReboot
                    visible: !inputPanel.keyboardActive
                },
                ActionButton {
                    iconSource: &quot;system-shutdown&quot;
                    text: i18nd(&quot;plasma_lookandfeel_org.kde.lookandfeel&quot;,&quot;Shutdown&quot;)
                    onClicked: sddm.powerOff()
                    enabled: sddm.canPowerOff
                    visible: !inputPanel.keyboardActive
                },
                ActionButton {
                    iconSource: &quot;system-search&quot;
                    text: i18nd(&quot;plasma_lookandfeel_org.kde.lookandfeel&quot;,&quot;Different User&quot;)
                    onClicked: mainStack.push(userPromptComponent)
                    enabled: true
                    visible: !userListComponent.showUsernamePrompt &#038;&#038; !inputPanel.keyboardActive
                }
            ]

            onLoginRequest: {
                root.notificationMessage = &quot;&quot;
                sddm.login(username, password, sessionButton.currentIndex)
            }
        }

        Behavior on opacity {
            OpacityAnimator {
                duration: units.longDuration
            }
        }
    }

    Loader {
        id: inputPanel
        state: &quot;hidden&quot;
        property bool keyboardActive: item ? item.active : false
        onKeyboardActiveChanged: {
            if (keyboardActive) {
                state = &quot;visible&quot;
            } else {
                state = &quot;hidden&quot;;
            }
        }
        source: &quot;components/VirtualKeyboard.qml&quot;
        anchors {
            left: parent.left
            right: parent.right
        }

        function showHide() {
            state = state == &quot;hidden&quot; ? &quot;visible&quot; : &quot;hidden&quot;;
        }

        states: [
            State {
                name: &quot;visible&quot;
                PropertyChanges {
                    target: mainStack
                    y: Math.min(0, root.height - inputPanel.height - userListComponent.visibleBoundary)
                }
                PropertyChanges {
                    target: inputPanel
                    y: root.height - inputPanel.height
                    opacity: 1
                }
            },
            State {
                name: &quot;hidden&quot;
                PropertyChanges {
                    target: mainStack
                    y: 0
                }
                PropertyChanges {
                    target: inputPanel
                    y: root.height - root.height/4
                    opacity: 0
                }
            }
        ]
        transitions: [
            Transition {
                from: &quot;hidden&quot;
                to: &quot;visible&quot;
                SequentialAnimation {
                    ScriptAction {
                        script: {
                            inputPanel.item.activated = true;
                            Qt.inputMethod.show();
                        }
                    }
                    ParallelAnimation {
                        NumberAnimation {
                            target: mainStack
                            property: &quot;y&quot;
                            duration: units.longDuration
                            easing.type: Easing.InOutQuad
                        }
                        NumberAnimation {
                            target: inputPanel
                            property: &quot;y&quot;
                            duration: units.longDuration
                            easing.type: Easing.OutQuad
                        }
                        OpacityAnimator {
                            target: inputPanel
                            duration: units.longDuration
                            easing.type: Easing.OutQuad
                        }
                    }
                }
            },
            Transition {
                from: &quot;visible&quot;
                to: &quot;hidden&quot;
                SequentialAnimation {
                    ParallelAnimation {
                        NumberAnimation {
                            target: mainStack
                            property: &quot;y&quot;
                            duration: units.longDuration
                            easing.type: Easing.InOutQuad
                        }
                        NumberAnimation {
                            target: inputPanel
                            property: &quot;y&quot;
                            duration: units.longDuration
                            easing.type: Easing.InQuad
                        }
                        OpacityAnimator {
                            target: inputPanel
                            duration: units.longDuration
                            easing.type: Easing.InQuad
                        }
                    }
                    ScriptAction {
                        script: {
                            Qt.inputMethod.hide();
                        }
                    }
                }
            }
        ]
    }


    Component {
        id: userPromptComponent
        Login {
            showUsernamePrompt: true
            notificationMessage: root.notificationMessage

            userListModel: QtObject {
                property string name: i18nd(&quot;plasma_lookandfeel_org.kde.lookandfeel&quot;, &quot;Login as different user&quot;)
                property string iconSource: &quot;&quot;
            }

            onLoginRequest: {
                root.notificationMessage = &quot;&quot;
                sddm.login(username, password, sessionButton.currentIndex)
            }

            actionItems: [
                ActionButton {
                    iconSource: &quot;go-previous&quot;
                    text: i18nd(&quot;plasma_lookandfeel_org.kde.lookandfeel&quot;,&quot;Back&quot;)
                    onClicked: mainStack.pop()
                }
            ]
        }
    }

    //Footer
    RowLayout {
        id: footer
        anchors {
            bottom: parent.bottom
            left: parent.left
            right: parent.right
            margins: units.smallSpacing
        }

        Behavior on opacity {
            OpacityAnimator {
                duration: units.longDuration
            }
        }

        PlasmaComponents.ToolButton {
            text: i18ndc(&quot;plasma_lookandfeel_org.kde.lookandfeel&quot;, &quot;Button to show/hide virtual keyboard&quot;, &quot;Virtual Keyboard&quot;)
            iconName: inputPanel.keyboardActive ? &quot;input-keyboard-virtual-on&quot; : &quot;input-keyboard-virtual-off&quot;
            onClicked: inputPanel.showHide()
            visible: inputPanel.status == Loader.Ready
        }

        KeyboardButton {
        }

        SessionButton {
            id: sessionButton
        }

        Item {
            Layout.fillWidth: true
        }

	



        Battery { }
    }

    Connections {
        target: sddm
        onLoginFailed: {
            notificationMessage = i18nd(&quot;plasma_lookandfeel_org.kde.lookandfeel&quot;, &quot;Login Failed&quot;)
        }
        onLoginSucceeded: {
            //note SDDM will kill the greeter at some random point after this
            //there is no certainty any transition will finish, it depends on the time it
            //takes to complete the init
            mainStack.opacity = 0
            footer.opacity = 0
        }
    }

    onNotificationMessageChanged: {
        if (notificationMessage) {
            notificationResetTimer.start();
        }
    }

    Timer {
        id: notificationResetTimer
        interval: 3000
        onTriggered: notificationMessage = &quot;&quot;
    }

}




this is what i have, it shows up green and says buffer is dropping a lot. My main.qml did not have a item in the same area. If you know what I am doing wrong can you let me know]]></description>
			<content:encoded><![CDATA[<p>/*<br />
 *   Copyright 2016 David Edmundson<br />
 *<br />
 *   This program is free software; you can redistribute it and/or modify<br />
 *   it under the terms of the GNU Library General Public License as<br />
 *   published by the Free Software Foundation; either version 2 or<br />
 *   (at your option) any later version.<br />
 *<br />
 *   This program is distributed in the hope that it will be useful,<br />
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br />
 *   GNU General Public License for more details<br />
 *<br />
 *   You should have received a copy of the GNU Library General Public<br />
 *   License along with this program; if not, write to the<br />
 *   Free Software Foundation, Inc.,<br />
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.<br />
 */</p>
<p>import QtQuick 2.2</p>
<p>import QtQuick.Layouts 1.1<br />
import QtQuick.Controls 1.1</p>
<p>import org.kde.plasma.core 2.0 as PlasmaCore<br />
import org.kde.plasma.components 2.0 as PlasmaComponents<br />
import org.kde.plasma.extras 2.0 as PlasmaExtras<br />
import QtMultimedia 5.9<br />
import &#8220;components&#8221;</p>
<p>PlasmaCore.ColorScope {<br />
    id: root<br />
    colorGroup: PlasmaCore.Theme.ComplementaryColorGroup</p>
<p>    width: 1600<br />
    height: 900</p>
<p>    property string notificationMessage</p>
<p>    LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft<br />
    LayoutMirroring.childrenInherit: true</p>
<p>    PlasmaCore.DataSource {<br />
        id: keystateSource<br />
        engine: &#8220;keystate&#8221;<br />
        connectedSources: &#8220;Caps Lock&#8221;<br />
    }</p>
<p>    Repeater {<br />
        model: screenModel</p>
<p>        Background {<br />
            x: geometry.x; y: geometry.y; width: geometry.width; height: geometry.height<br />
            sceneBackgroundType: config.type<br />
            sceneBackgroundColor: config.color<br />
            sceneBackgroundImage: config.background<br />
        }<br />
    }</p>
<p>        MediaPlayer{<br />
            id: videoPlayer<br />
            source: &#8220;Login.mp4&#8221;<br />
            playbackRate: 0.9<br />
            loops: -1<br />
            autoPlay: true<br />
    }<br />
         VideoOutput{<br />
            source: videoPlayer<br />
            anchors.fill: parent<br />
    }</p>
<p>    Clock {<br />
        visible: y &gt; 0<br />
        y: (userListComponent.userList.y + mainStack.y)/2 &#8211; height/2<br />
        anchors.horizontalCenter: parent.horizontalCenter<br />
    }</p>
<p>    StackView {<br />
        id: mainStack<br />
        anchors {<br />
            left: parent.left<br />
            right: parent.right<br />
        }<br />
        height: root.height</p>
<p>        focus: true //StackView is an implicit focus scope, so we need to give this focus so the item inside will have it</p>
<p>        Timer {<br />
            //SDDM has a bug in 0.13 where even though we set the focus on the right item within the window, the window doesn&#8217;t have focus<br />
            //it is fixed in 6d5b36b28907b16280ff78995fef764bb0c573db which will be 0.14<br />
            //we need to call &#8220;window-&gt;activate()&#8221; *After* it&#8217;s been shown. We can&#8217;t control that in QML so we use a shoddy timer<br />
            //it&#8217;s been this way for all Plasma 5.x without a huge problem<br />
            running: true<br />
            repeat: false<br />
            interval: 200<br />
            onTriggered: mainStack.forceActiveFocus()<br />
        }</p>
<p>        initialItem: Login {<br />
            id: userListComponent<br />
            userListModel: userModel<br />
            userListCurrentIndex: userModel.lastIndex &gt;= 0 ? userModel.lastIndex : 0<br />
            lastUserName: userModel.lastUser<br />
            showUserList: {<br />
                if ( !userListModel.hasOwnProperty(&#8220;count&#8221;)<br />
                || !userListModel.hasOwnProperty(&#8220;disableAvatarsThreshold&#8221;))<br />
                    return (userList.y + mainStack.y) &gt; 0</p>
<p>                if ( userListModel.count == 0 ) return false</p>
<p>                return userListModel.count  0<br />
            }</p>
<p>            notificationMessage: {<br />
                var text = &#8220;&#8221;<br />
                if (keystateSource.data[&#8220;Caps Lock&#8221;][&#8220;Locked&#8221;]) {<br />
                    text += i18nd(&#8220;plasma_lookandfeel_org.kde.lookandfeel&#8221;,&#8221;Caps Lock is on&#8221;)<br />
                    if (root.notificationMessage) {<br />
                        text += &#8221; • &#8221;<br />
                    }<br />
                }<br />
                text += root.notificationMessage<br />
                return text<br />
            }</p>
<p>            actionItems: [<br />
                ActionButton {<br />
                    iconSource: &#8220;system-suspend&#8221;<br />
                    text: i18nd(&#8220;plasma_lookandfeel_org.kde.lookandfeel&#8221;,&#8221;Suspend&#8221;)<br />
                    onClicked: sddm.suspend()<br />
                    enabled: sddm.canSuspend<br />
                    visible: !inputPanel.keyboardActive<br />
                },<br />
                ActionButton {<br />
                    iconSource: &#8220;system-reboot&#8221;<br />
                    text: i18nd(&#8220;plasma_lookandfeel_org.kde.lookandfeel&#8221;,&#8221;Restart&#8221;)<br />
                    onClicked: sddm.reboot()<br />
                    enabled: sddm.canReboot<br />
                    visible: !inputPanel.keyboardActive<br />
                },<br />
                ActionButton {<br />
                    iconSource: &#8220;system-shutdown&#8221;<br />
                    text: i18nd(&#8220;plasma_lookandfeel_org.kde.lookandfeel&#8221;,&#8221;Shutdown&#8221;)<br />
                    onClicked: sddm.powerOff()<br />
                    enabled: sddm.canPowerOff<br />
                    visible: !inputPanel.keyboardActive<br />
                },<br />
                ActionButton {<br />
                    iconSource: &#8220;system-search&#8221;<br />
                    text: i18nd(&#8220;plasma_lookandfeel_org.kde.lookandfeel&#8221;,&#8221;Different User&#8221;)<br />
                    onClicked: mainStack.push(userPromptComponent)<br />
                    enabled: true<br />
                    visible: !userListComponent.showUsernamePrompt &amp;&amp; !inputPanel.keyboardActive<br />
                }<br />
            ]</p>
<p>            onLoginRequest: {<br />
                root.notificationMessage = &#8220;&#8221;<br />
                sddm.login(username, password, sessionButton.currentIndex)<br />
            }<br />
        }</p>
<p>        Behavior on opacity {<br />
            OpacityAnimator {<br />
                duration: units.longDuration<br />
            }<br />
        }<br />
    }</p>
<p>    Loader {<br />
        id: inputPanel<br />
        state: &#8220;hidden&#8221;<br />
        property bool keyboardActive: item ? item.active : false<br />
        onKeyboardActiveChanged: {<br />
            if (keyboardActive) {<br />
                state = &#8220;visible&#8221;<br />
            } else {<br />
                state = &#8220;hidden&#8221;;<br />
            }<br />
        }<br />
        source: &#8220;components/VirtualKeyboard.qml&#8221;<br />
        anchors {<br />
            left: parent.left<br />
            right: parent.right<br />
        }</p>
<p>        function showHide() {<br />
            state = state == &#8220;hidden&#8221; ? &#8220;visible&#8221; : &#8220;hidden&#8221;;<br />
        }</p>
<p>        states: [<br />
            State {<br />
                name: &#8220;visible&#8221;<br />
                PropertyChanges {<br />
                    target: mainStack<br />
                    y: Math.min(0, root.height &#8211; inputPanel.height &#8211; userListComponent.visibleBoundary)<br />
                }<br />
                PropertyChanges {<br />
                    target: inputPanel<br />
                    y: root.height &#8211; inputPanel.height<br />
                    opacity: 1<br />
                }<br />
            },<br />
            State {<br />
                name: &#8220;hidden&#8221;<br />
                PropertyChanges {<br />
                    target: mainStack<br />
                    y: 0<br />
                }<br />
                PropertyChanges {<br />
                    target: inputPanel<br />
                    y: root.height &#8211; root.height/4<br />
                    opacity: 0<br />
                }<br />
            }<br />
        ]<br />
        transitions: [<br />
            Transition {<br />
                from: &#8220;hidden&#8221;<br />
                to: &#8220;visible&#8221;<br />
                SequentialAnimation {<br />
                    ScriptAction {<br />
                        script: {<br />
                            inputPanel.item.activated = true;<br />
                            Qt.inputMethod.show();<br />
                        }<br />
                    }<br />
                    ParallelAnimation {<br />
                        NumberAnimation {<br />
                            target: mainStack<br />
                            property: &#8220;y&#8221;<br />
                            duration: units.longDuration<br />
                            easing.type: Easing.InOutQuad<br />
                        }<br />
                        NumberAnimation {<br />
                            target: inputPanel<br />
                            property: &#8220;y&#8221;<br />
                            duration: units.longDuration<br />
                            easing.type: Easing.OutQuad<br />
                        }<br />
                        OpacityAnimator {<br />
                            target: inputPanel<br />
                            duration: units.longDuration<br />
                            easing.type: Easing.OutQuad<br />
                        }<br />
                    }<br />
                }<br />
            },<br />
            Transition {<br />
                from: &#8220;visible&#8221;<br />
                to: &#8220;hidden&#8221;<br />
                SequentialAnimation {<br />
                    ParallelAnimation {<br />
                        NumberAnimation {<br />
                            target: mainStack<br />
                            property: &#8220;y&#8221;<br />
                            duration: units.longDuration<br />
                            easing.type: Easing.InOutQuad<br />
                        }<br />
                        NumberAnimation {<br />
                            target: inputPanel<br />
                            property: &#8220;y&#8221;<br />
                            duration: units.longDuration<br />
                            easing.type: Easing.InQuad<br />
                        }<br />
                        OpacityAnimator {<br />
                            target: inputPanel<br />
                            duration: units.longDuration<br />
                            easing.type: Easing.InQuad<br />
                        }<br />
                    }<br />
                    ScriptAction {<br />
                        script: {<br />
                            Qt.inputMethod.hide();<br />
                        }<br />
                    }<br />
                }<br />
            }<br />
        ]<br />
    }</p>
<p>    Component {<br />
        id: userPromptComponent<br />
        Login {<br />
            showUsernamePrompt: true<br />
            notificationMessage: root.notificationMessage</p>
<p>            userListModel: QtObject {<br />
                property string name: i18nd(&#8220;plasma_lookandfeel_org.kde.lookandfeel&#8221;, &#8220;Login as different user&#8221;)<br />
                property string iconSource: &#8220;&#8221;<br />
            }</p>
<p>            onLoginRequest: {<br />
                root.notificationMessage = &#8220;&#8221;<br />
                sddm.login(username, password, sessionButton.currentIndex)<br />
            }</p>
<p>            actionItems: [<br />
                ActionButton {<br />
                    iconSource: &#8220;go-previous&#8221;<br />
                    text: i18nd(&#8220;plasma_lookandfeel_org.kde.lookandfeel&#8221;,&#8221;Back&#8221;)<br />
                    onClicked: mainStack.pop()<br />
                }<br />
            ]<br />
        }<br />
    }</p>
<p>    //Footer<br />
    RowLayout {<br />
        id: footer<br />
        anchors {<br />
            bottom: parent.bottom<br />
            left: parent.left<br />
            right: parent.right<br />
            margins: units.smallSpacing<br />
        }</p>
<p>        Behavior on opacity {<br />
            OpacityAnimator {<br />
                duration: units.longDuration<br />
            }<br />
        }</p>
<p>        PlasmaComponents.ToolButton {<br />
            text: i18ndc(&#8220;plasma_lookandfeel_org.kde.lookandfeel&#8221;, &#8220;Button to show/hide virtual keyboard&#8221;, &#8220;Virtual Keyboard&#8221;)<br />
            iconName: inputPanel.keyboardActive ? &#8220;input-keyboard-virtual-on&#8221; : &#8220;input-keyboard-virtual-off&#8221;<br />
            onClicked: inputPanel.showHide()<br />
            visible: inputPanel.status == Loader.Ready<br />
        }</p>
<p>        KeyboardButton {<br />
        }</p>
<p>        SessionButton {<br />
            id: sessionButton<br />
        }</p>
<p>        Item {<br />
            Layout.fillWidth: true<br />
        }</p>
<p>        Battery { }<br />
    }</p>
<p>    Connections {<br />
        target: sddm<br />
        onLoginFailed: {<br />
            notificationMessage = i18nd(&#8220;plasma_lookandfeel_org.kde.lookandfeel&#8221;, &#8220;Login Failed&#8221;)<br />
        }<br />
        onLoginSucceeded: {<br />
            //note SDDM will kill the greeter at some random point after this<br />
            //there is no certainty any transition will finish, it depends on the time it<br />
            //takes to complete the init<br />
            mainStack.opacity = 0<br />
            footer.opacity = 0<br />
        }<br />
    }</p>
<p>    onNotificationMessageChanged: {<br />
        if (notificationMessage) {<br />
            notificationResetTimer.start();<br />
        }<br />
    }</p>
<p>    Timer {<br />
        id: notificationResetTimer<br />
        interval: 3000<br />
        onTriggered: notificationMessage = &#8220;&#8221;<br />
    }</p>
<p>}</p>
<p>this is what i have, it shows up green and says buffer is dropping a lot. My main.qml did not have a item in the same area. If you know what I am doing wrong can you let me know</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Add a Background Video to SDDM Login Screen by Pujianto		</title>
		<link>https://nixdaily.com/how-to/add-video-background-to-sddm-login-screen/#comment-342</link>

		<dc:creator><![CDATA[Pujianto]]></dc:creator>
		<pubDate>Mon, 16 Mar 2020 07:47:08 +0000</pubDate>
		<guid isPermaLink="false">https://nixdaily.com/?p=211#comment-342</guid>

					<description><![CDATA[It shows syntax error in your script.]]></description>
			<content:encoded><![CDATA[<p>It shows syntax error in your script.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Add a Background Video to SDDM Login Screen by Eugene		</title>
		<link>https://nixdaily.com/how-to/add-video-background-to-sddm-login-screen/#comment-252</link>

		<dc:creator><![CDATA[Eugene]]></dc:creator>
		<pubDate>Sun, 09 Feb 2020 19:28:33 +0000</pubDate>
		<guid isPermaLink="false">https://nixdaily.com/?p=211#comment-252</guid>

					<description><![CDATA[It is not working:

$ LC_ALL=C sddm-greeter --test-mode --theme breeze-video/
[21:24:34.364] (II) GREETER: High-DPI autoscaling not Enabled
[21:24:34.410] (II) GREETER: Reading from &quot;/usr/share/xsessions/plasma.desktop&quot;
[21:24:34.411] (II) GREETER: Reading from &quot;/usr/share/wayland-sessions/plasmawayland.desktop&quot;
[21:24:34.413] (II) GREETER: Loading theme configuration from &quot;breeze-video//theme.conf&quot;
[21:24:34.430] (EE) GREETER: Socket error:  &quot;QLocalSocket::connectToServer: Invalid name&quot;
[21:24:34.513] (II) GREETER: Loading file:breeze-video//Main.qml...
[21:24:34.514] (WW) GREETER: file:///usr/share/sddm/themes/breeze-video//Main.qml:417:1: Syntax error 
     Connections { 
     ^
[21:24:34.514] (WW) GREETER: file:///usr/share/sddm/themes/breeze-video//Main.qml:417:1: Syntax error 
     Connections { 
     ^
[21:24:34.514] (WW) GREETER: Fallback to embedded theme
[21:24:34.741] (II) GREETER: Adding view for &quot;DVI-0&quot; QRect(0,0 1680x1050)

P.S.
Plasma KDE: 5.17.5
Frameworks KDE: 5.66.0
QT: 5.12.4]]></description>
			<content:encoded><![CDATA[<p>It is not working:</p>
<p>$ LC_ALL=C sddm-greeter &#8211;test-mode &#8211;theme breeze-video/<br />
[21:24:34.364] (II) GREETER: High-DPI autoscaling not Enabled<br />
[21:24:34.410] (II) GREETER: Reading from &#8220;/usr/share/xsessions/plasma.desktop&#8221;<br />
[21:24:34.411] (II) GREETER: Reading from &#8220;/usr/share/wayland-sessions/plasmawayland.desktop&#8221;<br />
[21:24:34.413] (II) GREETER: Loading theme configuration from &#8220;breeze-video//theme.conf&#8221;<br />
[21:24:34.430] (EE) GREETER: Socket error:  &#8220;QLocalSocket::connectToServer: Invalid name&#8221;<br />
[21:24:34.513] (II) GREETER: Loading file:breeze-video//Main.qml&#8230;<br />
[21:24:34.514] (WW) GREETER: file:///usr/share/sddm/themes/breeze-video//Main.qml:417:1: Syntax error<br />
     Connections {<br />
     ^<br />
[21:24:34.514] (WW) GREETER: file:///usr/share/sddm/themes/breeze-video//Main.qml:417:1: Syntax error<br />
     Connections {<br />
     ^<br />
[21:24:34.514] (WW) GREETER: Fallback to embedded theme<br />
[21:24:34.741] (II) GREETER: Adding view for &#8220;DVI-0&#8221; QRect(0,0 1680&#215;1050)</p>
<p>P.S.<br />
Plasma KDE: 5.17.5<br />
Frameworks KDE: 5.66.0<br />
QT: 5.12.4</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
