Make plank launchers auto install to new users, disable lid lock for now since its touchy.

This commit is contained in:
SolidHal 2018-09-22 10:59:30 -05:00
parent c2057ad2a9
commit eef8e5a251
3 changed files with 5 additions and 6 deletions

View File

@ -1,2 +0,0 @@
[PlankDockItemPreferences]
Launcher=file:///usr/share/applications/firefox-esr.desktop

View File

@ -19,5 +19,6 @@
<property name="lid-action-on-battery" type="uint" value="1"/>
<property name="logind-handle-lid-switch" type="bool" value="true"/>
<property name="lid-action-on-ac" type="uint" value="1"/>
<property name="lock-screen-suspend-hibernate" type="bool" value="false"/>
</property>
</channel>

View File

@ -48,6 +48,9 @@ then
#Make plank autostart
cp $DIR/xfce-config/plank/plank.desktop /etc/xdg/autostart/
#install plank launcher
mkdir -p /etc/skel/.config/plank/dock1/launchers/
cp $DIR/xfce-config/plank/plank-launchers/* /etc/skel/.config/plank/dock1/launchers/
fi
@ -66,9 +69,6 @@ adduser $username
usermod -a -G sudo,netdev,input $username
#install plank launchers #TODO: Disabled as doing it this way causes xconf or xfce4-session to not start??
#[ "$DE" = "xfce" ] && mkdir -p /home/$username/.config/plank/dock1/launchers/
#[ "$DE" = "xfce" ] && cp $DIR/xfce-config/plank/plank-launchers/* /home/$username/.config/plank/dock1/launchers/