Make plank launchers auto install to new users, disable lid lock for now since its touchy.
This commit is contained in:
parent
c2057ad2a9
commit
eef8e5a251
@ -1,2 +0,0 @@
|
||||
[PlankDockItemPreferences]
|
||||
Launcher=file:///usr/share/applications/firefox-esr.desktop
|
@ -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>
|
@ -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/
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user