File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 131131 cat > " $WORK /etc/skel/.config/kscreenlockerrc" << EOF
132132[Daemon]
133133Autolock=false
134+ EOF
135+
136+ esac
137+
138+ case " $1 " in
139+ ubuntu-* -xubuntu-desktop)
140+ mkdir -p " $WORK /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/"
141+ cat > " $WORK /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml" << EOF
142+ <?xml version="1.0" encoding="UTF-8"?>
143+ <channel name="xfce4-session" version="1.0">
144+ <property name="shutdown" type="empty">
145+ <property name="ShowHibernate" type="bool" value="false"/>
146+ <property name="ShowSuspend" type="bool" value="false"/>
147+ <property name="ShowHybridSleep" type="bool" value="false"/>
148+ <property name="ShowSwitchUser" type="bool" value="false"/>
149+ <property name="ShowLogout" type="bool" value="false"/>
150+ </property>
151+ <property name="xfce4-power-manager" type="empty">
152+ <property name="dpms-enabled" type="bool" value="false"/>
153+ </property>
154+ </channel>
134155EOF
135156
136157 esac
You can’t perform that action at this time.
0 commit comments