User Tools

Site Tools


ubuntu:xfce_desktop

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 [2014/04/09 10:42]
tschulz
ubuntu:xfce_desktop [2014/04/17 11:35] (current)
tschulz [Tux Paint Printing]
Line 1: Line 1:
-====== ​Ubuntu ​as Windows XP Replacement ======+====== ​Xubuntu ​as Windows XP (ChromeOS like) Replacement ====== 
 + 
 +===== Basic Setup =====
  
   - install Xubuntu 14.04   - install Xubuntu 14.04
   - Download and install [[http://​www.google.com/​chrome|Google chrome]]   - Download and install [[http://​www.google.com/​chrome|Google chrome]]
   - Install supporting packages<​file>​   - Install supporting packages<​file>​
-apt-get install vim mercurial+apt-get install vim mercurial ​tuxpaint tuxpaint-config libreoffice
 </​file>​ </​file>​
-  - customize default user to your liking +===== Create User Account =====
-  - create a .hgrc and save to your home dir<file hgrc ~/​.hgrc>​ +
-[ui] +
-username ​user@dom.net+
  
-[web] +  - customize default user to your liking, create a new user or use the account created during install 
-cacerts =  +  - 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<​file>​
- +
-[extensions] +
-purge =  +
-</​file>​ +
-  - execute the following commands remember to enter a log message after hg commit<​file>​+
 hg init hg init
 hg addremove hg addremove
-hg commit+hg --config ui.username=foo ​commit
 </​file>​ </​file>​
   - Create the session script in /​scripts/​custom_session.sh<​file bash /​scripts/​custom_session.sh>​   - Create the session script in /​scripts/​custom_session.sh<​file bash /​scripts/​custom_session.sh>​
Line 27: Line 21:
 cd ~ cd ~
 hg revert --all hg revert --all
-hg purge+hg --config extensions.purge= ​purge 
 startxfce4 startxfce4
 </​file>​ </​file>​
Line 39: Line 33:
 Type=Application Type=Application
 </​file>​ </​file>​
 +  - 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
  
-===== Prevent Shutdown and Restart from Logout Menu =====+===== Other Recommendations ===== 
 +  * add a startup application script to start chrome at a google login page<​file bash /​scripts/​chrome_login.sh>​ 
 +#!/bin/sh 
 + 
 +google-chrome "​http://​g.sebeka.k12.mn.us"​ 
 +</​file>​ 
 +  * 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<​file>​ 
 +passwd -d <​USERNAME>​ 
 +</​file>​ 
 +  * 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) ​=====
 <file xml /​etc/​xdg/​xfce4/​kiosk/​kioskrc>​ <file xml /​etc/​xdg/​xfce4/​kiosk/​kioskrc>​
 [xfce4-panel] [xfce4-panel]
Line 61: Line 74:
 </​file>​ </​file>​
  
-===== Lock Down Xfce Panels =====+===== Lock Down Xfce Panels ​(Optional) ​=====
  
 <file xml /​etc/​xdg/​xfce4/​xfconf/​xfce-perchannel-xml/​xfce4-panel.xml>​ <file xml /​etc/​xdg/​xfce4/​xfconf/​xfce-perchannel-xml/​xfce4-panel.xml>​
Line 182: Line 195:
 </​channel>​ </​channel>​
 </​file>​ </​file>​
 +
 +===== Tux Paint Printing =====
 +  - Get a list of printers by using <​file>​lpstat -a</​file>​
 +  - set the **PRINTER** varibile in ${HOME}/​.config/​xfce/​xinitrc
 +  - e. g. <file bash>
 +export PRINTER="​rm217ptr"​
 +</​file>​
 +
 +
ubuntu/xfce_desktop.1397058127.txt.gz · Last modified: 2014/04/09 10:42 by tschulz