Add landscape to Xperia 10 II lockscreen

Doh!, please see the comment from rainemak below, I had no idea we had a new setting in Settings/Display, please do ignore the below message/code!

While mooching about in

/usr/share/lipstick-jolla-home-qt5/lockscreen/LockScreen.qml

I found the default value for rotating the lockscreen to landscape.

At the bottom of LockScreen.qml, see the following dollop of code;

    ConfigurationValue {
        id: homescreenOrientationConfig

        key: "/desktop/lipstick-jolla-home/allow_homescreen_rotation"
        defaultValue: true //false <------- change from false to true
    }

save the file, close it and restart lipstick;

systemctl --user restart lipstick

Did you check Settings → Display “Rotating homescreen”?

To be noted that orientation takes even higher precedense. If locked to portrait, then it’s locked to portrait.

If an app requests landscape, then it is landscape regardless of the orientation lock meaning that app requested orientation takes the highest precedense.

2 Likes

:laughing: thanks @rainemak, no, I did not see that new setting!, thank you. I will remove/edit my post!

1 Like

@Edz you’re welcome! Hope this help other users as well.

2 Likes