This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE Plasma lockscreen colors and testing lock screen

Tags: None
(comma "," separated)
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Linking to https://bugs.kde.org/show_bug.cgi?id=369676


Lock screen colors

KDE Plasma Breeze look and feel lockscreen with the Breeze colorscheme:

Image
Full image: https://imgur.com/kjk4cvH

    Text is using complementary normal text color.
    Password field is using view normal background color.
    Password text is using view normal text color.
    Unlock button is using button normal background color.
    Unlock text is using button normal text color.

Note !

If the plasma desktop theme has the colors file then it will be using colors from the plasma theme.


Testing lockscreen greeter

Code: Select all
$ /usr/lib/kscreenlocker_greet --help
Usage: /usr/lib/kscreenlocker_greet [options]
Greeter for the KDE Plasma Workspaces Screen locker

Options:
  -h, --help                  Displays this help.
  -v, --version               Displays version information.
  --testing                   Starts the greeter in testing mode
  --theme <theme>             Starts the greeter with the selected theme (only
                              in Testing mode)
  --immediateLock             Lock immediately, ignoring any grace time etc.
  --graceTime <milliseconds>  Delay till the lock user interface gets shown in
                              milliseconds.
  --nolock                    Don't show any lock user interface.
  --switchuser                Default to the switch user UI.
  --ksldfd <fd>               File descriptor for connecting to ksld.



An example clip: https://youtu.be/ayuHtMOXeKI
User avatar
dequire
Registered Member
Posts
81
Karma
0
OS
Very cool tip! Thanks for the work in outlining the nuances and even posting a video.
User avatar
Rog131
Registered Member
Posts
828
Karma
10
... and with a theme with the colors file: https://techbase.kde.org/Development/Tu ... ils#Colors

Using Diamond theme as example: https://store.kde.org/content/show.php/ ... ent=153930

With the Diamond theme the lock screen text colors can be changed from button text color - Plasma Theme Explorer:

Image


Sample clip: https://youtu.be/nXxZiZMzW_U
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Custom plasma lock screen

With the Plasma 5.12 it is possible to add lock screen configuration to the LnF theme /1/. The Plasma 5.12.2 or later is needed to show the configuration options /2/.

The configuration options can be added by editing the Look and Feel theme lock screen config.xml and config.qml files.

An example: Custom Breeze Lock KDE Store: https://store.kde.org/p/1216681/

Image

Preview: https://youtu.be/6LsRMrCrm-c


Links

[1] https://phabricator.kde.org/D9684
[2] https://bugs.kde.org/show_bug.cgi?id=389483


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]