Skip to content

Commit 46bdb30

Browse files
authored
more xubuntu power settings
1 parent 7076954 commit 46bdb30

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

oscfg/ubuntu.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,36 @@ EOF
153153
</channel>
154154
EOF
155155

156+
cat >"$WORK/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml" <<EOF
157+
<?xml version="1.0" encoding="UTF-8"?>
158+
159+
<channel name="xfce4-power-manager" version="1.0">
160+
<property name="xfce4-power-manager" type="empty">
161+
<property name="power-button-action" type="empty"/>
162+
<property name="lock-screen-suspend-hibernate" type="bool" value="false"/>
163+
<property name="logind-handle-lid-switch" type="empty"/>
164+
<property name="blank-on-ac" type="int" value="0"/>
165+
<property name="blank-on-battery" type="empty"/>
166+
<property name="dpms-enabled" type="bool" value="false"/>
167+
<property name="dpms-on-ac-sleep" type="uint" value="0"/>
168+
<property name="dpms-on-ac-off" type="uint" value="0"/>
169+
<property name="dpms-on-battery-sleep" type="uint" value="0"/>
170+
<property name="dpms-on-battery-off" type="uint" value="0"/>
171+
<property name="hibernate-button-action" type="uint" value="0"/>
172+
<property name="sleep-button-action" type="uint" value="0"/>
173+
<property name="lid-action-on-ac" type="uint" value="0"/>
174+
<property name="critical-power-action" type="uint" value="0"/>
175+
<property name="lid-action-on-battery" type="uint" value="0"/>
176+
<property name="inactivity-on-ac" type="uint" value="0"/>
177+
<property name="brightness-switch-restore-on-exit" type="int" value="0"/>
178+
<property name="brightness-switch" type="int" value="0"/>
179+
<property name="brightness-level-on-ac" type="uint" value="100"/>
180+
<property name="presentation-mode" type="bool" value="false"/>
181+
</property>
182+
</channel>
183+
EOF
184+
185+
156186
esac
157187

158188
# ensure guest tools

0 commit comments

Comments
 (0)