GNC Examples

From GroovixWiki
Revision as of 10:41, 24 April 2012 by Chris (talk | contribs) (Setting a custom homepage)

Jump to: navigation, search

Introduction to GNC

Making a new GNC Script using the gnc template



Introduction to the gncget command



Introduction to the apt-get install and apt-get remove commands



Examples

Setting a custom homepage

Start by creating a new GNC template and naming it with the date, followed by title, and a '-1' since this is the first of this type; this example uses the name 20120101-custom-homepage-1. In the directory 20120101-custom-homepage-1 edit the gnc file to include the following:

###############################################################################################################
GNC_PARAMETERS=' --runonce --skipinstall --abort '
###############################################################################################################

bashconfset.pl PAC_BROWSER_STARTUP_HOMEPAGE "[homepage]" /etc//groovix/pac.conf

*Change [homepage] to the desired website you want to use. For example, to use Google, enter http://www.google.com inbetween the quotes.

Setting a custom desktop background


Setting a custom screensaver



Setting a custom welcome message on the login screen


Setting the Acceptable Use Policy page


Enabling the web filter



Whitelisting a website



Adding sites to the DansGuardian exception list



Configuring a Reservation Station machine



Catalog only/kiosk machine



Setting a custom user profile


Downloading large files with a random delay


Setting up or changing printers


Setting custom shutdown delays and shutdown times