kscreenlocker: deploy default configurations
This commit is contained in:
@@ -32,13 +32,18 @@ DEPENDS = " \
|
||||
|
||||
SRC_URI:append = " \
|
||||
file://kde.pam \
|
||||
file://kscreenlockerrc \
|
||||
file://kscreensaverrc \
|
||||
"
|
||||
|
||||
inherit cmake_plasma
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/pam.d
|
||||
install -d 0755 ${D}${sysconfdir}/pam.d
|
||||
install -m 0644 ${WORKDIR}/kde.pam ${D}${sysconfdir}/pam.d/kde
|
||||
install -d 0755 ${D}{sysconfdir}/xdg
|
||||
install -m 0644 ${WORKDIR}/kscreenlockerrc ${D}{sysconfdir}/xdg/
|
||||
install -m 0644 ${WORKDIR}/kscreensaverrc ${D}{sysconfdir}/xdg/
|
||||
}
|
||||
|
||||
FILES:${PN} += " \
|
||||
|
||||
5
recipes-plasma/kscreenlocker/kscreenlockerrc
Normal file
5
recipes-plasma/kscreenlocker/kscreenlockerrc
Normal file
@@ -0,0 +1,5 @@
|
||||
[$Version]
|
||||
update_info=kscreenlocker.upd:0.1-autolock
|
||||
|
||||
[Daemon]
|
||||
Autolock=false
|
||||
2
recipes-plasma/kscreenlocker/kscreensaverrc
Normal file
2
recipes-plasma/kscreenlocker/kscreensaverrc
Normal file
@@ -0,0 +1,2 @@
|
||||
[ScreenSaver]
|
||||
Enabled=true
|
||||
Reference in New Issue
Block a user