fixup plank setup for xfce

This commit is contained in:
SolidHal 2018-09-14 15:38:03 +00:00
parent 8ebf65940c
commit 7450f64356
9 changed files with 27 additions and 24 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,21 +0,0 @@
[dock1]
icon-size=42
show-dock-item=false
position='bottom'
dock-items=['xfcalendar.dockitem', 'firefox-esr.dockitem']
unhide-delay=0
items-alignment='center'
theme='Default'
hide-mode='none'
pinned-only=false
auto-pinning=true
alignment='center'
zoom-percent=150
hide-delay=0
zoom-enabled=false
monitor=''
lock-items=false
tooltips-enabled=true
pressure-reveal=false
offset=0
current-workspace-only=false

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Name=Plank
Comment=Plank Dock
Exec=/usr/bin/plank
Type=Application

View File

@ -30,10 +30,10 @@ apt install -y wicd-daemon wicd wicd-curses wicd-gtk
[ "$DE" = "xfce" ] && cp $DIR/xfce-config/lightdm/* /etc/lightdm/
#Copy in wallpapers
[ "$DE" = "xfce" ] && rm /usr/share/images/desktop-base/default && cp $DIR/wallpapers/* /usr/share/images/desktop-base/
#Load in Plank settings
[ "$DE" = "xfce" ] && cat $DIR/xfce-config/plank/plank.dconf | dconf load /net/launchpad/plank/docks/
#Make plank autostart
[ "$DE" = "xfce" ] && mkdir -p /etc/xdg/autostart/
[ "$DE" = "xfce" ] && cp $DIR/plank/plank.desktop /etc/xdg/autostart/
#Copy in acpi, pulse audio, trackpad settings, funtion key settings
@ -51,4 +51,10 @@ adduser $username
usermod -a -G sudo,netdev $username
#install plank launchers
[ "$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/
reboot