Written by
akendo
on
1 minutes reading
1 minutes reading
KDE4 - Simple KScreensaver using custom background image
For the beauty of a system you can placed your current background for your Kscreensaver instead of the default.
KDE is by default not able to changes this for the ‘Simple Lock’, see in this[1] open bug for more Info.
But there is a a small workaround for this[2][3].
Change into the /usr/share/apps/ksmserver/screenlocker/org.kde.passworddialog/contents/ui/
directory and edit the main.qml
with your editor of your choice.
Create a backup of this file,
cp main.qml main.qml.baku
then edit on the line 45 and replace:
- source: theme.wallpaperPathForSize(parent.width, parent.height)
+ source: "1920x1080.jpg"
Now you copy your current background image to "1920x1080.jpg"
.
Note you have to redo this for each update of the package ‘‘kdebase-workspace’’.
Links:
[1] https://bugs.kde.org/show_bug.cgi?id=312828
[2] http://lists.opensuse.org/opensuse-kde/2013-02/msg00082.html