#!/bin/bash # This script runs as root when the container starts echo "**** Setting up custom desktop shortcuts ****" mkdir -p /config/Desktop mkdir -p /config/.config/xfce4/xfconf/xfce-perchannel-xml cat < /config/Desktop/LazyPM.desktop [Desktop Entry] Version=1.0 Type=Application Name=PM Survey Comment=Launch the Project Management Survey Exec=/usr/local/bin/pm start Icon=utilities-terminal Terminal=true Categories=Utility; EOF cat < /config/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml EOF cat < /config/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml EOF chmod +x /config/Desktop/LazyPM.desktop chown -R abc:abc /config/Desktop /config/.config echo "**** Desktop setup complete ****"