User Tools

Site Tools


ubuntu:xfce_desktop_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ubuntu:xfce_desktop_script [2014/04/10 09:05]
tschulz
ubuntu:xfce_desktop_script [2014/04/11 14:09] (current)
tschulz
Line 2: Line 2:
  
 Syntax: ./​chromelike_setup.sh <​USERNAME>​ Syntax: ./​chromelike_setup.sh <​USERNAME>​
 +  * Download and Run, for a user named user
 +<file bash>
 +wget http://​goo.gl/​fJ4mo9
 +mv fJ4mo9 chromelike_setup.sh
 +chmod 755 chromelike_setup.sh
 +./​chromelike_setup.sh user
 +</​file>​
 <file bash chromelike_setup.sh>​ <file bash chromelike_setup.sh>​
 #!/bin/sh #!/bin/sh
 HGUSER=$1 HGUSER=$1
 +HGUSER_HOME=/​home/​${HGUSER}
  
 if [ "​${HGUSER}"​ = ""​ ] if [ "​${HGUSER}"​ = ""​ ]
Line 12: Line 20:
 fi fi
  
-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+wget --output-document=/​etc/​apt/​sources.list.d/​google-chrome.list http://​wiki.sebeka.k12.mn.us/​_export/​code/​ubuntu:​xfce_desktop_script?​codeblock=2
 apt-get update apt-get update
-apt-get install vim mercurial google-chrome-stable+apt-get install vim mercurial google-chrome-stable ​tuxpaint tuxpaint-config libreoffice
  
  
Line 32: Line 40:
 cd /scripts cd /scripts
 hg --config web.cacerts= clone http://​hg.sebeka.k12.mn.us/​xfce4_user/​ hg --config web.cacerts= clone http://​hg.sebeka.k12.mn.us/​xfce4_user/​
-cd ~${HGUSER+cd ${HGUSER_HOME
-ln -/​scripts/​xfce4_user/​.hg+cp -/​scripts/​xfce4_user/​.hg ​./
 hg revert --all hg revert --all
 hg --config extensions.purge= purge  hg --config extensions.purge= purge 
 cd ../ cd ../
-chown -R ${HGUSER} ​~${HGUSER}+chown -R ${HGUSER} ${HGUSER_HOME}
  
 #​================================================== #​==================================================
 # Install Misc Config Files # Install Misc Config Files
 #​================================================== #​==================================================
-mkdir -p /​etc/​xdg/​xfce4/​kiosk/kioskrc+mkdir -p /​etc/​xdg/​xfce4/​kiosk
 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/​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+mkdir -p /​etc/​xdg/​xfce4/​xfconf/​xfce-perchannel-xml 
 +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=7
 </​file>​ </​file>​
  
ubuntu/xfce_desktop_script.1397138728.txt.gz · Last modified: 2014/04/10 09:05 by tschulz