Announcement

Collapse
No announcement yet.

Kubuntu video wallpaper

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • tuomas
    replied
    Thank you Rog131, you rog! I will save this as a reference for myself, I kept forgetting all the time what was where.

    Do you happen to know how to modify that blue glow color around password box? Color schemes, themes, qml files, etc, nothing seemed to have connection to it. I dont want it blue

    This is how I made it look:

    Leave a comment:


  • Rog131
    replied
    Could you post the files related to make the "login box" look like that in lock screen? I'm editing the breeze theme and it has the long box from side to side and I can't seem to find a way to fix it. Video background I already managed to put


    EDIT: Got it. But it was so ugly hack that I'm ashamed to share it >_<


    A simple where to look -




    Uglies at here:

    /usr/share/plasma/look-and-feel/org.kde.puff.desktop/contents/logout/Logout.qml

    Paste: http://pastebin.com/WwFUW5YQ

    and

    /usr/share/plasma/look-and-feel/org.kde.puff.desktop/contents/components/BreezeBlock.qml

    Paste: http://pastebin.com/hQ7yhQu3


    About the Plasma lock screen clock: Wrong time format in plasma5 lock screen - https://forum.kde.org/viewtopic.php?f=289&t=130484


    Maybe with the Plasma 5.6 or 5.7 or ...

    Bug 359384 - Logout/leave dialog design disaster : https://bugs.kde.org/show_bug.cgi?id=359384
    Thomas Pfeiffer 2016-02-17 21:08:51 UTC
    There is currently a redesign of all screens "around" Plasma (from GRUB to shutdown) in progress, so the leave dialog will be tackled as well.
    plasma grub theme unified design: https://mail.kde.org/pipermail/plasm...ry/049583.html
    kdereview: breeze-grub & breeze-plymouth: https://mail.kde.org/pipermail/plasm...ry/049612.html

    Leave a comment:


  • tuomas
    replied
    Originally posted by Rog131 View Post

    So am I - There are lot of material of the qml. Examples etc. Some of them are working sometimes

    /usr/share/plasma/look-and-feel/org.kde.puff.desktop/contents/lockscreen/LockScreen.qml at here:

    Code:
    /********************************************************************
     This file is part of the KDE project.
    
    Copyright (C) 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, 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 General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    *********************************************************************/
    
    import QtQuick 2.0
    import QtQuick.Controls 1.1
    import QtMultimedia 5.5
    import org.kde.plasma.core 2.0 as PlasmaCore
    import org.kde.plasma.private.sessions 2.0
    import "../components"
    import "../additionalcomponents"
    
    
    Image {
        id: root
        property bool viewVisible: false
        property bool debug: false
        property string notification
        property UserSelect userSelect: null
        property int interfaceVersion: org_kde_plasma_screenlocker_greeter_interfaceVersion ? org_kde_plasma_screenlocker_greeter_interfaceVersion : 0
        signal clearPassword()
    
        source: backgroundPath || "../additionalcomponents/artwork/background.png"
        fillMode: Image.PreserveAspectCrop
        asynchronous: true
    
        onStatusChanged: {
            if (status == Image.Error) {
                source = "../additionalcomponents/artwork/background.png";
            }
        }
        
        MediaPlayer {
            id: mediaplayer
            autoPlay: true
            loops: MediaPlayer.Infinite
            source: "../additionalcomponents/video/Ghost in the shell - virtual reality diver.mp4"
        }
    
        VideoOutput {
            fillMode: VideoOutput.PreserveAspectCrop
            anchors.fill: parent
            source: mediaplayer
        }
    
        LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
        LayoutMirroring.childrenInherit: true
    
        Connections {
            target: authenticator
            onFailed: {
                root.notification = i18nd("plasma_lookandfeel_org.kde.lookandfeel","Unlocking failed");
            }
            onGraceLockedChanged: {
                if (!authenticator.graceLocked) {
                    root.notification = "";
                    root.clearPassword();
                }
            }
            onMessage: {
                root.notification = msg;
            }
            onError: {
                root.notification = err;
            }
        }
    
        SessionsModel {
            id: sessionsModel
        }
    
        PlasmaCore.DataSource {
            id: keystateSource
            engine: "keystate"
            connectedSources: "Caps Lock"
        }
    
        Loader {
            id: changeSessionComponent
            active: false
            source: "ChangeSession.qml"
            visible: false
        }
    
        StackView {
            id: stackView
            height: units.largeSpacing * 14
            anchors {
                verticalCenter: parent.verticalCenter
                left: parent.left
                right: parent.right
            }
    
            initialItem: Loader {
                active: root.viewVisible
                source: "MainBlock.qml"
            }
        }
    
        Loader {
            active: root.viewVisible
            source: "LockOsd.qml"
            anchors {
                horizontalCenter: parent.horizontalCenter
                bottom: parent.bottom
            }
        }
    
        Component.onCompleted: {
            // version support checks
            if (root.interfaceVersion < 1) {
                // ksmserver of 5.4, with greeter of 5.5
                root.viewVisible = true;
            }
        }
    }
    Seems to work - at here:



    Direct: https://youtu.be/lU3C6DNr5qQ

    Note - I have also edited the other parts (MainBlock.qml, BreezeBlock.qml,...) but the qml media player should (here it does) work as it is.
    Could you post the files related to make the "login box" look like that in lock screen? I'm editing the breeze theme and it has the long box from side to side and I can't seem to find a way to fix it. Video background I already managed to put


    EDIT: Got it. But it was so ugly hack that I'm ashamed to share it >_<

    Leave a comment:


  • gvaram
    replied
    Originally posted by Rog131 View Post
    Generic problem solving

    1) Get an error message
    2) Solve the error


    Q&G



    Does this mean that:

    You can type your user name and password ?
    After you type name + password + enter -> the system does something and shows the SDDM greeter again ?

    Have looked the systemd journal ?
    Tools: https://www.kubuntuforums.net/showth...l=1#post382483
    Yes, I'm able to enter username and password, but when I press enter SDDM blinks and getting back the login screen.

    Here are my journal logs :
    Code:
    Jan 05 20:13:31 arch sddm[403]: Initializing...Jan 05 20:13:31 arch sddm[403]: Starting...
    Jan 05 20:13:31 arch sddm[403]: Adding new display on vt 1 ...
    Jan 05 20:13:31 arch sddm[403]: Display server starting...
    Jan 05 20:13:31 arch sddm[403]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{33c8ec03-71e9-444c-a1bd-f1ec0c8dbe93} -background none -noreset -displayfd 17 vt1
    Jan 05 20:13:34 arch sddm[403]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
    Jan 05 20:13:34 arch sddm[403]: Display server started.
    Jan 05 20:13:34 arch sddm[403]: Socket server starting...
    Jan 05 20:13:34 arch sddm[403]: Socket server started.
    Jan 05 20:13:34 arch sddm[403]: Greeter starting...
    Jan 05 20:13:34 arch sddm[403]: Adding cookie to "/var/run/sddm/{33c8ec03-71e9-444c-a1bd-f1ec0c8dbe93}"
    Jan 05 20:13:34 arch sddm-helper[433]: [PAM] Starting...
    Jan 05 20:13:34 arch sddm-helper[433]: [PAM] Authenticating... 
    Jan 05 20:13:34 arch sddm-helper[433]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
    Jan 05 20:13:34 arch sddm-helper[433]: [PAM] returning.
    Jan 05 20:13:34 arch systemd[1]: Created slice User Slice of sddm.
    Jan 05 20:13:34 arch systemd-logind[395]: New session c1 of user sddm.
    Jan 05 20:13:34 arch systemd[1]: Started Session c1 of user sddm.
    Jan 05 20:13:34 arch systemd[440]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
    Jan 05 20:13:35 arch sddm[403]: Greeter session started successfully
    Jan 05 20:13:35 arch sddm-greeter[446]: Reading from "/usr/share/xsessions/xfce.desktop"
    Jan 05 20:13:35 arch sddm-greeter[446]: Connected to the daemon.
    Jan 05 20:13:35 arch sddm[403]: Message received from greeter: Connect
    Jan 05 20:13:39 arch sddm-greeter[446]: file:///usr/share/sddm/themes/saber2/Main.qml:10:32: Unable to assign [undefined] to int
    Jan 05 20:13:39 arch sddm-greeter[446]: file:///usr/share/sddm/themes/saber2/Main.qml:87:16: Unable to assign double to QQuickAnchorLine
    Jan 05 20:13:39 arch sddm-greeter[446]: Adding view for "LVDS1" QRect(0,0 1366x768)
    Jan 05 20:13:39 arch sddm-greeter[446]: Message received from daemon: Capabilities
    Jan 05 20:13:39 arch sddm-greeter[446]: Message received from daemon: HostName
    Jan 05 20:13:40 arch sddm-greeter[446]: Warning: "No volume control found"
    Jan 05 20:14:20 arch sddm-greeter[446]: Reading from "/usr/share/xsessions/xfce.desktop"
    Jan 05 20:14:20 arch sddm[403]: Message received from greeter: Login
    Jan 05 20:14:20 arch sddm[403]: Reading from "/usr/share/xsessions/xfce.desktop"
    Jan 05 20:14:20 arch sddm[403]: Session "/usr/share/xsessions/xfce.desktop" selected, command: "startxfce4"
    Jan 05 20:14:20 arch sddm-helper[539]: [PAM] Starting...
    Jan 05 20:14:20 arch sddm-helper[539]: [PAM] Authenticating...
    Jan 05 20:14:20 arch sddm-helper[539]: [PAM] Preparing to converse...
    Jan 05 20:14:20 arch sddm-helper[539]: [PAM] Conversation with 1 messages
    Jan 05 20:14:20 arch sddm-helper[539]: [PAM] returning.
    Jan 05 20:14:20 arch sddm[403]: Authenticated successfully
    Jan 05 20:14:20 arch sddm-greeter[446]: Message received from daemon: LoginSucceeded
    Jan 05 20:14:20 arch sddm-helper[539]: pam_unix(sddm:session): session opened for user gvaram by (uid=0)
    Jan 05 20:14:21 arch systemd[441]: pam_unix(systemd-user:session): session closed for user sddm
    Jan 05 20:14:21 arch sddm-helper[568]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
    Jan 05 20:14:21 arch systemd[570]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
    Jan 05 20:14:20 arch sddm-helper[539]: Starting: "/usr/share/sddm/scripts/Xsession" "startxfce4"
    Jan 05 20:14:20 arch sddm-helper[546]: Adding cookie to "/home/gvaram/.Xauthority"
    Jan 05 20:14:20 arch sddm[403]: Session started
    Jan 05 20:14:20 arch sddm[403]: Display server stopped.
    Jan 05 20:14:20 arch sddm[403]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
    Jan 05 20:14:21 arch sddm-helper[433]: [PAM] Ended.
    Jan 05 20:14:21 arch sddm[403]: Greeter stopping...
    Jan 05 20:14:21 arch sddm[403]: Socket server stopping...
    Jan 05 20:14:21 arch sddm[403]: Socket server stopped.
    Jan 05 20:14:21 arch sddm[403]: Removing display ":0" ...
    Jan 05 20:14:21 arch sddm[403]: Adding new display on vt 1 ...
    Jan 05 20:14:21 arch sddm[403]: Display server starting...
    Jan 05 20:14:21 arch sddm[403]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{eef53065-9a06-40ef-9978-7bf3d6b05f25} -background none -noreset -displayfd 22 vt1
    Jan 05 20:14:21 arch systemd[1]: Removed slice User Slice of sddm.
    Jan 05 20:14:21 arch sddm[403]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
    Jan 05 20:14:21 arch sddm[403]: Display server started.
    Jan 05 20:14:21 arch sddm[403]: Socket server starting...
    Jan 05 20:14:21 arch sddm[403]: Socket server started.
    Jan 05 20:14:21 arch sddm[403]: Greeter starting...
    Jan 05 20:14:21 arch sddm[403]: Adding cookie to "/var/run/sddm/{eef53065-9a06-40ef-9978-7bf3d6b05f25}"
    Jan 05 20:14:21 arch sddm[403]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
    Jan 05 20:14:21 arch sddm-helper[568]: [PAM] Starting...
    Jan 05 20:14:21 arch sddm-helper[568]: [PAM] Authenticating...
    Jan 05 20:14:21 arch sddm-helper[568]: [PAM] returning.
    Jan 05 20:14:21 arch sddm[403]: Greeter stopping...
    Jan 05 20:14:21 arch sddm[403]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
    Jan 05 20:14:21 arch systemd[1]: Created slice User Slice of sddm.
    Jan 05 20:14:21 arch systemd[1]: Started Session c3 of user sddm.
    Jan 05 20:14:21 arch systemd-logind[395]: New session c3 of user sddm.
    Jan 05 20:14:21 arch sddm[403]: Greeter session started successfully
    Jan 05 20:14:21 arch sddm-greeter[576]: Reading from "/usr/share/xsessions/xfce.desktop"
    Jan 05 20:14:21 arch sddm-greeter[576]: Connected to the daemon.
    Jan 05 20:14:21 arch sddm[403]: Message received from greeter: Connect
    Jan 05 20:14:21 arch sddm-greeter[576]: file:///usr/share/sddm/themes/saber2/Main.qml:10:32: Unable to assign [undefined] to int
    Jan 05 20:14:21 arch sddm-greeter[576]: file:///usr/share/sddm/themes/saber2/Main.qml:87:16: Unable to assign double to QQuickAnchorLine
    Jan 05 20:14:21 arch sddm-greeter[576]: Adding view for "LVDS1" QRect(0,0 1366x768)
    Jan 05 20:14:21 arch sddm-greeter[576]: Message received from daemon: Capabilities
    Jan 05 20:14:21 arch sddm-greeter[576]: Message received from daemon: HostName
    Jan 05 20:14:22 arch sddm-greeter[576]: Warning: "No volume control found"
    Jan 05 20:17:26 arch sudo[695]:   gvaram : TTY=tty2 ; PWD=/home/gvaram ; USER=root ; COMMAND=/usr/bin/pkill sddm
    Jan 05 20:17:26 arch sddm[403]: Signal received: SIGTERM
    Jan 05 20:17:26 arch sddm[403]: Error from greeter session: "Process crashed"
    Jan 05 20:17:26 arch sddm[403]: Auth: sddm-helper crashed (exit code 15)
    Jan 05 20:17:26 arch sddm[403]: Error from greeter session: "Process crashed"
    Jan 05 20:17:26 arch sddm[403]: Auth: sddm-helper exited with 15
    Jan 05 20:17:26 arch sddm[403]: Greeter stopped.
    Jan 05 20:17:26 arch sddm[403]: Socket server stopping...
    Jan 05 20:17:26 arch sddm[403]: Socket server stopped.
    Jan 05 20:17:26 arch sddm[403]: Display server stopping...
    Jan 05 20:17:26 arch sddm[403]: Display server stopped.
    Jan 05 20:17:26 arch sddm[403]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
    Jan 05 20:17:26 arch systemd[571]: pam_unix(systemd-user:session): session closed for user sddm
    Jan 05 20:17:26 arch systemd[1]: Removed slice User Slice of sddm.
    Jan 05 20:17:26 arch systemd[1]: sddm.service: Service hold-off time over, scheduling restart.
    Jan 05 20:17:26 arch sddm[709]: Initializing...
    Jan 05 20:17:26 arch sddm[709]: Starting...
    Jan 05 20:17:26 arch sddm[709]: Adding new display on vt 1 ...
    Jan 05 20:17:26 arch sddm[709]: Display server starting...
    Jan 05 20:17:26 arch sddm[709]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{28385cb2-974f-4b7f-a522-c0991f57628c} -background none -noreset -displayfd 17 vt1
    Jan 05 20:17:27 arch sddm[709]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
    Jan 05 20:17:27 arch sddm[709]: Display server started.
    Jan 05 20:17:27 arch sddm[709]: Socket server starting...
    Jan 05 20:17:27 arch sddm[709]: Socket server started.
    Jan 05 20:17:27 arch sddm[709]: Greeter starting...
    Jan 05 20:17:27 arch sddm[709]: Adding cookie to "/var/run/sddm/{28385cb2-974f-4b7f-a522-c0991f57628c}"
    Jan 05 20:17:27 arch sddm-helper[714]: [PAM] Starting...
    Jan 05 20:17:27 arch sddm-helper[714]: [PAM] Authenticating...
    Jan 05 20:17:27 arch sddm-helper[714]: [PAM] returning.
    Jan 05 20:17:27 arch sddm-helper[714]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
    Jan 05 20:17:27 arch systemd[1]: Created slice User Slice of sddm.
    Jan 05 20:17:27 arch systemd[1]: Started Session c6 of user sddm.
    Jan 05 20:17:27 arch systemd-logind[395]: New session c6 of user sddm.
    Jan 05 20:17:27 arch systemd[716]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
    Jan 05 20:17:27 arch sddm[709]: Greeter session started successfully
    Jan 05 20:17:27 arch sddm-greeter[722]: Reading from "/usr/share/xsessions/xfce.desktop"
    Jan 05 20:17:27 arch sddm-greeter[722]: Connected to the daemon.
    Jan 05 20:17:27 arch sddm[709]: Message received from greeter: Connect
    Jan 05 20:17:27 arch sddm-greeter[722]: file:///usr/share/sddm/themes/1/Main.qml:10:32: Unable to assign [undefined] to int
    Jan 05 20:17:27 arch sddm-greeter[722]: file:///usr/share/sddm/themes/1/Main.qml:86:16: Unable to assign double to QQuickAnchorLine
    Jan 05 20:17:27 arch sddm-greeter[722]: Adding view for "LVDS1" QRect(0,0 1366x768)
    Jan 05 20:17:27 arch sddm-greeter[722]: Message received from daemon: Capabilities
    Jan 05 20:17:27 arch sddm-greeter[722]: Message received from daemon: HostName
    Jan 05 20:17:48 arch sudo[728]:   gvaram : TTY=tty2 ; PWD=/home/gvaram ; USER=root ; COMMAND=/usr/bin/nano /etc/sddm.conf
    Jan 05 20:18:50 arch sudo[739]:   gvaram : TTY=tty2 ; PWD=/home/gvaram ; USER=root ; COMMAND=/usr/bin/nano /etc/sddm.conf
    Jan 05 20:19:07 arch sddm[709]: Signal received: SIGTERM
    Jan 05 20:19:07 arch sddm[709]: Greeter stopping...
    Jan 05 20:19:07 arch sddm[709]: Socket server stopping...
    Jan 05 20:19:07 arch sddm[709]: Socket server stopped.
    Jan 05 20:19:07 arch sddm[709]: Display server stopping...
    Jan 05 20:19:07 arch sddm[709]: Display server stopped.
    Jan 05 20:19:07 arch sddm[709]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
    Jan 05 20:19:07 arch systemd[717]: pam_unix(systemd-user:session): session closed for user sddm
    Jan 05 20:19:07 arch sddm[709]: Greeter stopping...
    Jan 05 20:19:07 arch sddm[709]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
    Jan 05 20:19:07 arch systemd[1]: Removed slice User Slice of sddm.
    Jan 05 20:19:07 arch systemd[1]: sddm.service: Service hold-off time over, scheduling restart.
    Jan 05 20:19:07 arch sddm[756]: Initializing...
    Jan 05 20:19:07 arch sddm[756]: Starting...
    Jan 05 20:19:07 arch sddm[756]: Adding new display on vt 1 ...
    Jan 05 20:19:07 arch sddm[756]: Display server starting...
    Jan 05 20:19:07 arch sddm[756]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{30281fa4-bbc9-43da-980e-340f32522d01} -background none -noreset -displayfd 17 vt1
    Jan 05 20:19:07 arch sddm[756]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
    Jan 05 20:19:07 arch sddm[756]: Display server started.
    Jan 05 20:19:07 arch sddm[756]: Socket server starting...
    Jan 05 20:19:07 arch sddm[756]: Socket server started.
    Jan 05 20:19:07 arch sddm[756]: Greeter starting...
    Jan 05 20:19:07 arch sddm[756]: Adding cookie to "/var/run/sddm/{30281fa4-bbc9-43da-980e-340f32522d01}"
    Jan 05 20:19:07 arch sddm-helper[761]: [PAM] Starting...
    Jan 05 20:19:07 arch sddm-helper[761]: [PAM] Authenticating...
    Jan 05 20:19:07 arch sddm-helper[761]: [PAM] returning.
    Jan 05 20:19:07 arch sddm-helper[761]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
    Jan 05 20:19:07 arch systemd[1]: Created slice User Slice of sddm.
    Jan 05 20:19:07 arch systemd[1]: Started Session c7 of user sddm.
    Jan 05 20:19:07 arch systemd-logind[395]: New session c7 of user sddm.
    Jan 05 20:19:07 arch systemd[763]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
    Jan 05 20:19:07 arch sddm[756]: Greeter session started successfully
    Jan 05 20:19:07 arch sddm-greeter[769]: Reading from "/usr/share/xsessions/xfce.desktop"
    Jan 05 20:19:07 arch sddm-greeter[769]: Connected to the daemon.
    Jan 05 20:19:07 arch sddm[756]: Message received from greeter: Connect
    Jan 05 20:19:08 arch sddm-greeter[769]: file:///usr/share/sddm/themes/peaceful-saber/Main.qml:10:32: Unable to assign [undefined] to int
    Jan 05 20:19:08 arch sddm-greeter[769]: file:///usr/share/sddm/themes/peaceful-saber/Main.qml:87:16: Unable to assign double to QQuickAnchorLine
    Jan 05 20:19:08 arch sddm-greeter[769]: Adding view for "LVDS1" QRect(0,0 1366x768)
    Jan 05 20:19:08 arch sddm-greeter[769]: Message received from daemon: Capabilities
    Jan 05 20:19:08 arch sddm-greeter[769]: Message received from daemon: HostName
    Jan 05 20:19:08 arch sddm-greeter[769]: Warning: "No volume control found"
    Jan 05 20:19:31 arch sudo[788]:   gvaram : TTY=tty2 ; PWD=/home/gvaram ; USER=root ; COMMAND=/usr/bin/nano /etc/sddm.conf
    Jan 05 20:19:45 arch sudo[790]:   gvaram : TTY=tty2 ; PWD=/home/gvaram ; USER=root ; COMMAND=/usr/bin/pkill sddm
    Jan 05 20:19:45 arch sddm[756]: Signal received: SIGTERM
    Jan 05 20:19:45 arch sddm[756]: Greeter stopping...
    Jan 05 20:19:45 arch sddm[756]: Socket server stopping...
    Jan 05 20:19:45 arch sddm[756]: Socket server stopped.
    Jan 05 20:19:45 arch sddm[756]: Display server stopping...
    Jan 05 20:19:45 arch sddm[756]: Display server stopped.
    Jan 05 20:19:45 arch sddm[756]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
    Jan 05 20:19:45 arch sddm[756]: Greeter stopping...
    Jan 05 20:19:45 arch sddm[756]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
    Jan 05 20:19:45 arch systemd[1]: Removed slice User Slice of sddm.
    Jan 05 20:19:45 arch systemd[1]: sddm.service: Service hold-off time over, scheduling restart.
    Jan 05 20:19:45 arch sddm[803]: Initializing...
    Jan 05 20:19:45 arch sddm[803]: Starting...
    Jan 05 20:19:45 arch sddm[803]: Adding new display on vt 1 ...
    Jan 05 20:19:45 arch sddm[803]: Display server starting...
    Jan 05 20:19:45 arch sddm[803]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{57589809-33aa-48cd-9e91-db27252d0645} -background none -noreset -displayfd 17 vt1
    Jan 05 20:19:45 arch sddm[803]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
    Jan 05 20:19:45 arch sddm[803]: Display server started.
    Jan 05 20:19:45 arch sddm[803]: Socket server starting...
    Jan 05 20:19:45 arch sddm[803]: Socket server started.
    Jan 05 20:19:45 arch sddm[803]: Greeter starting...
    Jan 05 20:19:45 arch sddm[803]: Adding cookie to "/var/run/sddm/{57589809-33aa-48cd-9e91-db27252d0645}"
    Jan 05 20:19:45 arch sddm-helper[808]: [PAM] Starting...
    Jan 05 20:19:45 arch sddm-helper[808]: [PAM] Authenticating...
    Jan 05 20:19:45 arch sddm-helper[808]: [PAM] returning.
    Jan 05 20:19:45 arch sddm-helper[808]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
    Jan 05 20:19:45 arch systemd[1]: Created slice User Slice of sddm.
    Jan 05 20:19:45 arch systemd[1]: Started Session c8 of user sddm.
    Jan 05 20:19:45 arch systemd-logind[395]: New session c8 of user sddm.
    Jan 05 20:19:45 arch systemd[810]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
    Jan 05 20:19:45 arch sddm[803]: Greeter session started successfully
    Jan 05 20:19:45 arch sddm-greeter[816]: Reading from "/usr/share/xsessions/xfce.desktop"
    Jan 05 20:19:45 arch sddm-greeter[816]: Connected to the daemon.
    Jan 05 20:19:45 arch sddm[803]: Message received from greeter: Connect
    Jan 05 20:19:45 arch sddm-greeter[816]: file:///usr/share/sddm/themes/aced/Main.qml:71:13: QML Image: Cannot open: file:///usr/share/sddm/themes/aced/images/rectangle_overlay.png
    Jan 05 20:19:46 arch sddm-greeter[816]: file:///usr/share/sddm/themes/aced/Main.qml:113: ReferenceError: layoutBox is not defined
    Jan 05 20:19:46 arch sddm-greeter[816]: file:///usr/share/sddm/themes/aced/Main.qml:206: ReferenceError: session is not defined
    Jan 05 20:19:46 arch sddm-greeter[816]: Adding view for "LVDS1" QRect(0,0 1366x768)
    Jan 05 20:19:46 arch sddm-greeter[816]: Message received from daemon: Capabilities
    Jan 05 20:19:46 arch sddm-greeter[816]: Message received from daemon: HostName
    Jan 05 20:19:50 arch sddm-greeter[816]: Reading from "/usr/share/xsessions/xfce.desktop"
    Jan 05 20:19:50 arch sddm[803]: Message received from greeter: Login
    Jan 05 20:19:50 arch sddm[803]: Reading from "/usr/share/xsessions/xfce.desktop"
    Jan 05 20:19:50 arch sddm[803]: Session "/usr/share/xsessions/xfce.desktop" selected, command: "startxfce4"
    Jan 05 20:19:50 arch sddm-helper[820]: [PAM] Starting...
    Jan 05 20:19:50 arch sddm-helper[820]: [PAM] Authenticating...
    Jan 05 20:19:50 arch sddm-helper[820]: [PAM] Preparing to converse...
    Jan 05 20:19:50 arch sddm-helper[820]: [PAM] Conversation with 1 messages
    Jan 05 20:19:50 arch sddm-helper[820]: [PAM] returning.
    Jan 05 20:19:50 arch sddm[803]: Authenticated successfully
    Jan 05 20:19:50 arch sddm-greeter[816]: Message received from daemon: LoginSucceeded
    Jan 05 20:19:50 arch sddm-helper[820]: pam_unix(sddm:session): session opened for user gvaram by (uid=0)
    Jan 05 20:19:50 arch sddm-helper[820]: Starting: "/usr/share/sddm/scripts/Xsession" "startxfce4"
    Jan 05 20:19:50 arch sddm-helper[808]: [PAM] Ended.
    Jan 05 20:19:50 arch sddm[803]: Auth: sddm-helper exited successfully
    Jan 05 20:19:50 arch sddm[803]: Greeter stopped.
    Jan 05 20:19:50 arch sddm-helper[821]: Adding cookie to "/home/gvaram/.Xauthority"
    Jan 05 20:19:50 arch systemd[811]: pam_unix(systemd-user:session): session closed for user sddm
    Jan 05 20:19:50 arch sddm[803]: Session started
    Jan 05 20:19:50 arch systemd[1]: Removed slice User Slice of sddm.
    You can see the difference between unsuccessful (peaceful-saber) and successful (aced) attempts.


    Or is the problem 'how to change the SDDM theme when I can't log in' ?
    I don't have a time for virtual console now, but I'll do it ASAP.

    Leave a comment:


  • Rog131
    replied
    Generic problem solving

    Generic problem solving

    1) Get an error message
    2) Solve the error


    Q&G

    I can't log in. I'm getting the lock screen again and again.
    Does this mean that:

    You can type your user name and password ?
    After you type name + password + enter -> the system does something and shows the SDDM greeter again ?

    Have looked the systemd journal ?
    Tools: https://www.kubuntuforums.net/showth...l=1#post382483

    Example:

    Enter: the name+password+enter
    Wait a moment
    Start a virtual console (https://en.wikipedia.org/wiki/Virtual_console)
    Log in with the text console.
    Execute:
    Code:
    journalctl -b > Gossip.txt
    Examine the 'Gossip.txt' file later.

    Any error messages ?





    Or is the problem 'how to change the SDDM theme when I can't log in' ?
    Last edited by Rog131; Jan 06, 2016, 05:46 AM.

    Leave a comment:


  • gvaram
    replied
    Hey Rog131,
    Thank you for fast reply. I see the improvement you made with that code, but the main issue still persists- unable to sign in. On my hand, I will continue searching for the solution.

    Leave a comment:


  • Rog131
    replied
    Originally posted by gvaram View Post
    Hello,
    I'm trying to get this SDDM theme working, bud didn't managed to do so yet. Can anyone help? I can't log in. I'm getting the lock screen again and again.
    At here (*), when testing, there are few warnings:

    [23:29:04.022] (WW) GREETER: file:///usr/share/sddm/themes/peaceful-saber/Main.qml:10:32: Unable to assign [undefined] to int
    [23:29:04.022] (WW) GREETER: file:///usr/share/sddm/themes/peaceful-saber/Main.qml:87:16: Unable to assign double to QQuickAnchorLine
    When trying to log in - it is no possible to type the password - hmm - maybe the mouse is invisible ?

    To get the focus to the password line I added:

    Code:
        Component.onCompleted: {
            if (name.text == "")
                name.focus = true
            else
                password.focus = true
        }
    to the end of the Main.qml:



    Now it is possible to type the password after I click the left mouse button.


    More of the sddm themes and focus: https://forum.kde.org/viewtopic.php?f=17&t=129979


    * 'at here'

    Qt: 5.5.1
    KDE Frameworks: 5.17.0
    KDE Plasma 5.5.2
    sddm version: 0.13.0-2
    Distro: Arch Linux
    Last edited by Rog131; Jan 06, 2016, 12:07 PM.

    Leave a comment:


  • gvaram
    replied
    Hello,
    I'm trying to get this SDDM theme working, bud didn't managed to do so yet. Can anyone help? I can't log in. I'm getting the lock screen again and again.

    Leave a comment:


  • Rog131
    replied
    Questions and Guesses

    At here:
    Qt: 5.5.1
    KDE Frameworks: 5.17.0
    Desktop: KDE Plasma 5.5.1
    Distro: Arch Linux


    Q&G


    Any ideas? What do I need to install in 15.10 to make QML play video?

    QFSFileEngine:pen: No file name specified
    GStreamer; Unable to pause - "file:///home/user1/.local/share/plasma/wallpapers/org.me.gears/splash.mpg"
    Warning: "No decoder available for type 'video/mpeg, systemstream=(boolean)true, mpegversion=(int)1'."
    Error: "Your GStreamer installation is missing a plug-in."
    Maybe a search with the 'ubuntu qml Error: "Your GStreamer installation is missing a plug-in." helps


    I tried to apply what you said and combine it with a video background. This kinda works, I never see the video but I do get a black rectangle and I dont get the normal unlock box.
    Can you capture a picture of it ?
    Is it something like ?


    The plasma has an alternate lock screen when it can't show the qml based lock screen. Syntax error ?
    Have you tried to look the systemd journal ? The lock screen will throw the warnings/errors to the journal.


    ... is anyone using the video background having plasmashell lockups when the video background is active and you try to unlock the widgets....
    At here, the new plasmoid browser is hiding the video background - You will need to pick a new wallpaper and then again the video wallpaper.




    What am I doing wrong? Sorry I am QML newbie...
    So am I - There are lot of material of the qml. Examples etc. Some of them are working sometimes

    /usr/share/plasma/look-and-feel/org.kde.puff.desktop/contents/lockscreen/LockScreen.qml at here:

    Code:
    /********************************************************************
     This file is part of the KDE project.
    
    Copyright (C) 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, 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 General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    *********************************************************************/
    
    import QtQuick 2.0
    import QtQuick.Controls 1.1
    import QtMultimedia 5.5
    import org.kde.plasma.core 2.0 as PlasmaCore
    import org.kde.plasma.private.sessions 2.0
    import "../components"
    import "../additionalcomponents"
    
    
    Image {
        id: root
        property bool viewVisible: false
        property bool debug: false
        property string notification
        property UserSelect userSelect: null
        property int interfaceVersion: org_kde_plasma_screenlocker_greeter_interfaceVersion ? org_kde_plasma_screenlocker_greeter_interfaceVersion : 0
        signal clearPassword()
    
        source: backgroundPath || "../additionalcomponents/artwork/background.png"
        fillMode: Image.PreserveAspectCrop
        asynchronous: true
    
        onStatusChanged: {
            if (status == Image.Error) {
                source = "../additionalcomponents/artwork/background.png";
            }
        }
        
        MediaPlayer {
            id: mediaplayer
            autoPlay: true
            loops: MediaPlayer.Infinite
            source: "../additionalcomponents/video/Ghost in the shell - virtual reality diver.mp4"
        }
    
        VideoOutput {
            fillMode: VideoOutput.PreserveAspectCrop
            anchors.fill: parent
            source: mediaplayer
        }
    
        LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
        LayoutMirroring.childrenInherit: true
    
        Connections {
            target: authenticator
            onFailed: {
                root.notification = i18nd("plasma_lookandfeel_org.kde.lookandfeel","Unlocking failed");
            }
            onGraceLockedChanged: {
                if (!authenticator.graceLocked) {
                    root.notification = "";
                    root.clearPassword();
                }
            }
            onMessage: {
                root.notification = msg;
            }
            onError: {
                root.notification = err;
            }
        }
    
        SessionsModel {
            id: sessionsModel
        }
    
        PlasmaCore.DataSource {
            id: keystateSource
            engine: "keystate"
            connectedSources: "Caps Lock"
        }
    
        Loader {
            id: changeSessionComponent
            active: false
            source: "ChangeSession.qml"
            visible: false
        }
    
        StackView {
            id: stackView
            height: units.largeSpacing * 14
            anchors {
                verticalCenter: parent.verticalCenter
                left: parent.left
                right: parent.right
            }
    
            initialItem: Loader {
                active: root.viewVisible
                source: "MainBlock.qml"
            }
        }
    
        Loader {
            active: root.viewVisible
            source: "LockOsd.qml"
            anchors {
                horizontalCenter: parent.horizontalCenter
                bottom: parent.bottom
            }
        }
    
        Component.onCompleted: {
            // version support checks
            if (root.interfaceVersion < 1) {
                // ksmserver of 5.4, with greeter of 5.5
                root.viewVisible = true;
            }
        }
    }
    Seems to work - at here:



    Direct: https://youtu.be/lU3C6DNr5qQ

    Note - I have also edited the other parts (MainBlock.qml, BreezeBlock.qml,...) but the qml media player should (here it does) work as it is.
    Last edited by Rog131; Dec 16, 2015, 12:36 PM.

    Leave a comment:


  • ManOfLinux
    replied
    Also is anyone using the video background having plasmashell lockups when the video background is active and you try to unlock the widgets.
    I have to change the background to something else(color), unlock widgets and then plasmashell locks anyway and then I have to restart it.
    Then it restarts with the color background and I am then able to unlock the widgets.
    Then when I am done I can lock them with no problems. kinda weird just wondering if it was just me.

    Leave a comment:


  • ManOfLinux
    replied
    Thanks again, but I have a question.
    I tried to apply what you said and combine it with a video background. This kinda works, I never see the video but I do get a black rectangle and I dont get the normal unlock box.
    What am I doing wrong? Sorry I am QML newbie, just want to be able to have a video background on the lockscreen. at least it would be close to a screen saver.
    Code:
    /********************************************************************
     This file is part of the KDE project.
    
    Copyright (C) 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, 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 General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    *********************************************************************/
    
    import QtQuick 2.1
    import QtMultimedia 5.0
    import QtQuick.Layouts 1.1
    import QtQuick.Controls 1.1
    import org.kde.plasma.components 2.0 as PlasmaComponents
    import org.kde.plasma.core 2.0 as PlasmaCore
    import org.kde.kscreenlocker 1.0
    import org.kde.plasma.workspace.keyboardlayout 1.0
    import "../components"
    import "../osd"
    
    Rectangle {
        id: root
        property bool debug: false
        property string notification
        property UserSelect userSelect: null
        property int stage    
        signal clearPassword()
        
       MediaPlayer {
            id: mediaplayer
            autoPlay: true
            loops: MediaPlayer.Infinite
            source: "video/splash.ogv"
        }
    
        VideoOutput {
            fillMode: VideoOutput.PreserveAspectCrop
            anchors.fill: parent
            source: mediaplayer
        }
    
        Rectangle {
            id: bottomRect
            width: parent.width
            y: 2/3 * parent.height
            height: 50
            color: "#4C000000"
    
            Rectangle {
                radius: 3
                color: "darkgrey"
                anchors.centerIn: parent
                height: 8
                width: height*32
                Rectangle {
                    radius: 3
                    anchors {
                        left: parent.left
                        top: parent.top
                        bottom: parent.bottom
                    }
                    width: (parent.width / 6) * (stage - 1)
                    color: "steelblue"
                    Behavior on width { 
                        PropertyAnimation {
                            duration: 250
                            easing.type: Easing.InOutQuad
                        }
                    }
                }
            }
        source: backgroundPath || "../components/artwork/background.png"
        fillMode: Image.PreserveAspectCrop
    
        onStatusChanged: {
            if (status == Image.Error) {
                source = "../components/artwork/background.png";
            }
        }
    
        Connections {
            target: authenticator
            onFailed: {
                root.notification = i18nd("plasma_lookandfeel_org.kde.lookandfeel","Unlocking failed");
            }
            onGraceLockedChanged: {
                if (!authenticator.graceLocked) {
                    root.notification = "";
                    root.clearPassword();
                }
            }
            onMessage: {
                root.notification = msg;
            }
            onError: {
                root.notification = err;
            }
        }
        Sessions {
            id: sessions
        }
    
        PlasmaCore.DataSource {
            id: keystateSource
            engine: "keystate"
            connectedSources: "Caps Lock"
        }
    
        StackView {
            id: stackView
            height: units.largeSpacing * 14
            anchors {
                verticalCenter: parent.verticalCenter
                left: parent.left
                right: parent.right
            }
    
            initialItem: BreezeBlock {
                id: block
                main: UserSelect {
                    id: usersSelection
    
                    onVisibleChanged: {
                        if(visible) {
                            currentIndex = 0;
                        }
                    }
                    Component.onCompleted: root.userSelect = usersSelection
    
                    notification: {
                        var text = ""
                        if (keystateSource.data["Caps Lock"]["Locked"]) {
                            text += i18nd("plasma_lookandfeel_org.kde.lookandfeel","Caps Lock is on")
                            if (root.notification) {
                                text += " • "
                            }
                        }
                        text += root.notification
                        return text
                    }
    
                    model: ListModel {
                        id: users
    
                        Component.onCompleted: {
                            users.append({name: kscreenlocker_userName,
                                          realName: kscreenlocker_userName,
                                          icon: kscreenlocker_userImage,
                                          showPassword: true,
                                          ButtonLabel: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Unlock"),
                                          ButtonAction: "unlock"
                            })
                            if(sessions.startNewSessionSupported) {
                                users.append({realName: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "New Session"),
                                              icon: "system-log-out", //TODO Need an icon for new session
                                              ButtonLabel: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Create Session"),
                                              ButtonAction: "newSession"
                                })
                            }
                            if(sessions.switchUserSupported) {
                                users.append({realName: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Change Session"),
                                              icon: "system-switch-user",
                                              ButtonLabel: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Change Session..."),
                                              ButtonAction: "changeSession"
                                })
                            }
                        }
                    }
                }
    
                controls: Item {
                    height: childrenRect.height
                    Layout.fillWidth: true
                    function unlockFunction() {
                        authenticator.tryUnlock(passwordInput.text);
                    }
    
                    ColumnLayout {
                        anchors.horizontalCenter: parent.horizontalCenter
                        RowLayout {
                            anchors.horizontalCenter: parent.horizontalCenter
    
                            KeyboardLayoutButton {}
    
                            PlasmaComponents.TextField {
                                id: passwordInput
                                placeholderText: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Password")
                                echoMode: TextInput.Password
                                enabled: !authenticator.graceLocked
                                onAccepted: actionButton.clicked(null)
                                focus: true
                                //HACK: Similar hack is needed in sddm loginscreen
                                //TODO: investigate
                                Timer {
                                    interval: 200
                                    running: true
                                    repeat: false
                                    onTriggered: passwordInput.forceActiveFocus()
                                }
                                visible: block.mainItem.model.count > 0 ? !!block.mainItem.model.get(block.mainItem.selectedIndex).showPassword : false
                                onVisibleChanged: {
                                    if (visible) {
                                        forceActiveFocus();
                                    }
                                    text = "";
                                }
                                onTextChanged: {
                                    if (text == "") {
                                        clearTimer.stop();
                                    } else {
                                        clearTimer.restart();
                                    }
                                }
    
                                Keys.onLeftPressed: {
                                    if (text == "") {
                                        root.userSelect.decrementCurrentIndex();
                                    } else {
                                        event.accepted = false;
                                    }
                                }
                                Keys.onRightPressed: {
                                    if (text == "") {
                                        root.userSelect.incrementCurrentIndex();
                                    } else {
                                        event.accepted = false;
                                    }
                                }
                                Timer {
                                    id: clearTimer
                                    interval: 30000
                                    repeat: false
                                    onTriggered: {
                                        passwordInput.text = "";
                                    }
                                }
                            }
    
                            PlasmaComponents.Button {
                                id: actionButton
                                Layout.minimumWidth: passwordInput.width
                                text: block.mainItem.model.count > 0 ? block.mainItem.model.get(block.mainItem.selectedIndex).ButtonLabel : ""
                                enabled: !authenticator.graceLocked
                                onClicked: switch(block.mainItem.model.get(block.mainItem.selectedIndex)["ButtonAction"]) {
                                    case "unlock":
                                        unlockFunction();
                                        break;
                                    case "newSession":
                                        sessions.startNewSession();
                                        break;
                                    case "changeSession":
                                        stackView.push(changeSessionComponent)
                                        break;
                                }
                            }
    
                            Connections {
                                target: root
                                onClearPassword: {
                                    passwordInput.selectAll();
                                    passwordInput.forceActiveFocus();
                                }
                            }
                            Keys.onLeftPressed: {
                                root.userSelect.decrementCurrentIndex();
                            }
                            Keys.onRightPressed: {
                                root.userSelect.incrementCurrentIndex();
                            }
                        }
                    }
    
                    Component {
                        id: changeSessionComponent
                        BreezeBlock {
                            id: selectSessionBlock
    
                            Action {
                                onTriggered: stackView.pop()
                                shortcut: "Escape"
                            }
    
                            main: UserSelect {
                                id: sessionSelect
    
                                model: sessions.model
                                delegate: UserDelegate {
                                    name: i18nd("plasma_lookandfeel_org.kde.lookandfeel","%1 (%2)", model.session, model.location)
                                    userName: model.session
                                    iconSource: "user-identity"
                                    width: ListView.view.userItemWidth
                                    height: ListView.view.userItemHeight
                                    faceSize: ListView.view.userFaceSize
    
                                    onClicked: {
                                        ListView.view.currentIndex = index;
                                        ListView.view.forceActiveFocus();
                                    }
                                }
                            }
    
                            controls: Item {
                                height: childrenRect.height
                                RowLayout {
                                    anchors.centerIn: parent
                                    PlasmaComponents.Button {
                                        text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Cancel")
                                        onClicked: stackView.pop()
                                    }
                                    PlasmaComponents.Button {
                                        text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Change Session")
                                        onClicked: {
                                            sessions.activateSession(selectSessionBlock.mainItem.selectedIndex)
                                            stackView.pop()
                                            userSelect.selectedIndex = 0;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        PlasmaCore.FrameSvgItem {
            id: osd
    
            // OSD Timeout in msecs - how long it will stay on the screen
            property int timeout: 1800
            // This is either a text or a number, if showingProgress is set to true,
            // the number will be used as a value for the progress bar
            property var osdValue
            // Icon name to display
            property string icon
            // Set to true if the value is meant for progress bar,
            // false for displaying the value as normal text
            property bool showingProgress: false
    
            anchors {
                horizontalCenter: parent.horizontalCenter
                bottom: parent.bottom
            }
    
            objectName: "onScreenDisplay"
            visible: false
            width: osdItem.width + margins.left + margins.right
            height: osdItem.height + margins.top + margins.bottom
            imagePath: "widgets/background"
    
            function show() {
                osd.visible = true;
                hideTimer.restart();
            }
    
            OsdItem {
                id: osdItem
                rootItem: osd
    
                anchors.centerIn: parent
            }
    
            Timer {
                id: hideTimer
                interval: osd.timeout
                onTriggered: {
                    osd.visible = false;
                    osd.icon = "";
                    osd.osdValue = 0;
                }
            }
        }
    }

    Leave a comment:


  • ManOfLinux
    replied
    Originally posted by kubicle View Post
    One common cause for a white screen is permissions...sddm greeter runs as user "sddm", so make sure it has read access to the theme directories and files.
    another common cause is your qml wont handle anything but OGV, if you get a white screen and the permissions are correct try replacing the with an ogv file(make sure to change the qml to match) and restart plasmashell.
    If it works I am 99% sure that is the problem.
    You can see the errors by doing a animated wallpaper, shutting down plasmashell, then starting it from a shell so you can see the messages, then change the wall paper to your animated wall paper using a video that is not OGV, you should see errrors about a missing QML plugin.

    Leave a comment:


  • ManOfLinux
    replied
    thanks for the debugging tutorial. I knew about qmlscene, but couldnt get it work the way you said.
    even if I specified the qt to use it would just hang on the command line, never drawing a window in x or giving me an error.
    I will try journalctl and kcmshell5 but I am 99% sure what the problem is.
    I tried the video wall paper example and when I was running plasmashell on the command line it complained about the video type, I switched to OGV and it works, but I am wondering how I can get QML to play mp4's

    Also tried it on the videosplash I was working on, it also works with OGV.
    The only thing that didn't work was the lockscreen.
    Last edited by ManOfLinux; Dec 15, 2015, 08:45 AM.

    Leave a comment:


  • ManOfLinux
    replied
    Originally posted by ManOfLinux View Post
    I am trying to get the video splash to work. it shows up in the list but when I preview it and when I boot using it I just get a white screen for the background. any ideas?
    I saw someone saying it was permission issues so I made it owned by the sddm user and it didnt help.
    I moved it to /usr/share/plasma/lookandfeel and again it shows up and its owned by root like everything else in the directory.
    same thing. so what am I missing?
    Could it be codec? my video originally was wmv so used ffmpeg to convert avi and then from avi to mp4.
    All of them played fine in a media player but still the white screen.

    at my wits end.
    any ideas?
    Found the problem QML doesnt want to play any video. I have tried wmv, avi, mp4(h264), mpg(mp1).
    Any ideas? What do I need to install in 15.10 to make QML play video?

    QFSFileEngine:pen: No file name specified
    GStreamer; Unable to pause - "file:///home/user1/.local/share/plasma/wallpapers/org.me.gears/splash.mpg"
    Warning: "No decoder available for type 'video/mpeg, systemstream=(boolean)true, mpegversion=(int)1'."
    Error: "Your GStreamer installation is missing a plug-in."

    QFSFileEngine:pen: No file name specified
    Warning: "No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)4.2, profile=(string)high, codec_data=(buffer)0164002affe100196764002aacd9405 005bb0110000003001000000c80f183196001000668ebe3cb2 2c0, width=(int)1280, height=(int)720, framerate=(fraction)100/1, pixel-aspect-ratio=(fraction)1/1'."
    Error: "Your GStreamer installation is missing a plug-in."


    UPDATE: worked with OGV just looked awful. Any ideas how I can get QML to play video besides OGV?
    Last edited by Snowhog; Dec 15, 2015, 09:08 AM.

    Leave a comment:


  • Rog131
    replied
    Originally posted by ManOfLinux View Post
    I am trying to get the video splash to work. it shows up in the list but when I preview it and when I boot using it I just get a white screen for the background. any ideas?
    I saw someone saying it was permission issues so I made it owned by the sddm user and it didnt help.
    I moved it to /usr/share/plasma/lookandfeel and again it shows up and its owned by root like everything else in the directory.
    same thing. so what am I missing?
    Could it be codec? my video originally was wmv so used ffmpeg to convert avi and then from avi to mp4.
    All of them played fine in a media player but still the white screen.
    at my wits end.
    any ideas?
    About file format

    Testing with https://samples.ffmpeg.org/asf-wmv/ -> asf_with_chapters.wmv



    All tests -1,2,3 - are working at here.


    Owner

    All files in the users home directory should be owned by the user.
    Last edited by Rog131; Dec 15, 2015, 06:55 AM.

    Leave a comment:

Working...
X