This is an old revision of the document!
Syntax: ./chromelike_setup.sh <USERNAME>
#!/bin/sh HGUSER=$1 wget --output-document=/etc/apt/sources.list.d/google-chrome.list http://wiki.sebeka.k12.mn.us/_export/code/ubuntu:xfce_desktop_script?codeblock=1 apt-get update apt-get install vim mercurial google-chrome-stable #================================================== # Setup /scripts/ directory #================================================== mkdir /scripts/ wget --output-document=/scripts/custom_session.sh http://wiki.sebeka.k12.mn.us/_export/code/ubuntu:xfce_desktop?codeblock=2 chmod 755 /scripts/custom_session.sh wget --output-document=/usr/share/xsessions/custom_session.desktop http://wiki.sebeka.k12.mn.us/_export/code/ubuntu:xfce_desktop?codeblock=3 wget --output-document=/scripts/chrome_login.sh http://wiki.sebeka.k12.mn.us/_export/code/ubuntu:xfce_desktop?codeblock=4 chmod 755 /scripts/chrome_login.sh #================================================== # Setup User Profile/Home directory #================================================== cd /scripts hg --config web.cacerts= clone https://hg.sebeka.k12.mn.us/misc/xfce4_user/ cd ~${HGUSER} ln -s /scripts/xfce4_user/.hg hg revert --all hg --config extensions.purge= purge cd ../ chown -R ${HGUSER} ~${HGUSER} #================================================== # Install Misc Config Files #================================================== mkdir -p /etc/xdg/xfce4/kiosk/kioskrc wget --output-document=/etc/xdg/xfce4/kiosk/kioskrc http://wiki.sebeka.k12.mn.us/_export/code/ubuntu:xfce_desktop?codeblock=6 wget --output-document=/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml http://wiki.sebeka.k12.mn.us/_export/code/ubuntu:xfce_desktop?codeblock=6
### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. deb http://dl.google.com/linux/chrome/deb/ stable main