Merge branch 'screen-saver' into 'master'

Let xfce4-power-manager configure screen saver

See merge request fdupoux/sysresccd-src!22
This commit is contained in:
Francois Dupoux 2020-03-28 20:12:00 +00:00
commit 6ac40a0ff5
2 changed files with 9 additions and 3 deletions

View file

@ -1,6 +1,3 @@
#!/bin/bash
[ -x /usr/bin/xset ] && /usr/bin/xset s off >/dev/null 2>&1 &
[ -x /usr/bin/xset ] && /usr/bin/xset r >/dev/null 2>&1 &
exec /usr/bin/startxfce4

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-power-manager" version="1.0">
<property name="xfce4-power-manager" type="empty">
<property name="blank-on-ac" type="int" value="0"/>
<property name="dpms-on-ac-sleep" type="uint" value="0"/>
<property name="dpms-on-ac-off" type="uint" value="0"/>
</property>
</channel>