1. Create the autostart directory: mkdir -p /home/pi/.config/autostart 2. Open a new text file in your preferred editor. 3. Add the following three lines: [Desktop Entry] Type=Application Exec=mousepad Replace mouespad with the command of your choice. 4. Save in /home/pi/.config/autostart with a name ending in .desktop e.g. mousepad.desktop 5. Logout and login or reboot.
workgroup = WORKGROUP wins support = yes
[PiShare] comment=Raspberry Pi Share path=/home/pi/Videos browseable=Yes writeable=Yes ; chnage this after videos are copied only guest=no create mask=0777 directory mask=0777 public=Yes