How to change kde plasma lock screen from command line

I recently changed the lock screen on my kde plasma install on arch, and now it’s stuck as a black screen when I try to log in. My guess is the one I tried to use is borked or something… So now the only way I can login to my computer is through the command line. Is there a way I can set my lock screen for kde through the command line and set it back to breeze?

Edit: I ended up doing something else that someone on reddit did to fix my issue, but it would still be nice to know if there’s a way to do what I mentioned here nonetheless.

(the fix was to install layer-shell-qt5 while in the command line)

Hi! I’m thinking when you mentioned the lock screen, you’re referring to the initial login screen (provided by the SDDM component, more than likely)? If so, then just an FYI that the “lock screen” would usually refer to what you use to lock a session that’s already logged in when you’re away from your device :slight_smile:

The setting for the login screen’s theme is stored in the file /etc/sddm.conf.d/kde_settings.conf - you can change the Current= line in the [Theme] section to match the name of any of the themes installed in /usr/share/sddm/themes/.

Hope that helps,

1 Like