====== Xubuntu as a Windows XP (ChromeOS like) Replacement ====== ===== Basic Setup ===== - install Xubuntu 14.04 - Download and install [[http://www.google.com/chrome|Google chrome]] - Install supporting packages apt-get install vim mercurial tuxpaint tuxpaint-config libreoffice ===== Create User Account ===== - customize default user to your liking, create a new user or use the account created during install - execute the following commands remember to enter a log message after hg commit. If you make changes to your user update the template by running hg addremove and hg commit again hg init hg addremove hg --config ui.username=foo commit - Create the session script in /scripts/custom_session.sh #!/bin/sh cd ~ hg revert --all hg --config extensions.purge= purge startxfce4 - Create a new login session by creating /usr/share/xsessions/custom_session.desktop [Desktop Entry] Version=1.0 Name=School Session Comment=Use this session to run Xubuntu as your desktop environment Exec=/scripts/custom_session.sh Icon= Type=Application - You now can select **School Session** from the login manager and it will revert your home directory to the state it was the last time hg commit was run ===== Other Recommendations ===== * add a startup application script to start chrome at a google login page #!/bin/sh google-chrome "http://g.sebeka.k12.mn.us" * you can remove the Application menus from the panel and desktop menu * sub pixel hinting is not enabled by default, enable to enhance font rendering on LCD displays * mercurial will delete empty directories on purge, run "touch .desktop" to create a empty hidden file * you can remove a password from a user by running, be sure to enable the root user if you only have one user passwd -d * mercurial stores the home directory template in ~/.hg ===== Tuxpaint ===== * tuxpaint uses lpr for printing so ${PRINTER} must be set, use lpstat -p to see a list of printers * use tuxpaint config to set tuxpaint options ===== Prevent Shutdown and Restart from Logout Menu (Optional) ===== [xfce4-panel] CustomizePanel=NONE [xfce4-session] CustomizeSplash=NONE CustomizeChooser=NONE CustomizeLogout=NONE CustomizeCompatibility=NONE Shutdown=NONE CustomizeSecurity=NONE [xfdesktop] UserMenu=NONE CustomizeBackdrop=NONE CustomizeDesktopMenu=NONE CustomizeWindowlist=NONE CustomizeDesktopIcons=NONE ===== Lock Down Xfce Panels (Optional) ===== ===== Tux Paint Printing ===== - Get a list of printers by using lpstat -a - set the **PRINTER** varibile in ${HOME}/.config/xfce/xinitrc - e. g. export PRINTER="rm217ptr"