Difference between revisions of "GNC Examples"
From GroovixWiki
Line 3: | Line 3: | ||
== Introduction to GNC == | == Introduction to GNC == | ||
=== Making a new GNC Script using the gnc template === | === Making a new GNC Script using the gnc template === | ||
− | |||
− | |||
=== Introduction to the gncget command === | === Introduction to the gncget command === | ||
− | |||
− | |||
=== Introduction to the apt-get install and apt-get remove commands === | === Introduction to the apt-get install and apt-get remove commands === | ||
− | |||
− | |||
== Examples == | == Examples == |
Revision as of 10:16, 24 April 2012
Contents
- 1 Introduction to GNC
- 2 Examples
- 2.1 Setting a custom homepage
- 2.2 Setting a custom desktop background
- 2.3 Setting a custom screensaver
- 2.4 Setting a custom welcome message on the login screen
- 2.5 Setting the Acceptable Use Policy page
- 2.6 Enabling the web filter
- 2.7 Whitelisting a website
- 2.8 Adding sites to the DansGuardian exception list
- 2.9 Configuring a Reservation Station machine
- 2.10 Catalog only/kiosk machine
- 2.11 Setting a custom user profile
- 2.12 Downloading large files with a random delay
- 2.13 Setting up or changing printers
- 2.14 Setting custom shutdown delays and shutdown times
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
############################################################################################################### GNC_PARAMETERS=' --runonce --skipinstall --abort ' ############################################################################################################### bashconfset.pl PAC_BROWSER_STARTUP_HOMEPAGE "http://www.google.com" /etc//groovix/pac.conf
Setting a custom desktop background
############################################################################################################### GNC_PARAMETERS=' --runonce --skipinstall --skiplive --abort ' ############################################################################################################### gncget --mod=644 /var/lib/groovix/pac/images/desktop_background.png
You will also need to place your desktop image file in the following folder structure var\lib\groovix\pac\images\, along with your GNC script located in the root directory.
Setting a custom screensaver
Setting a custom welcome message on the login screen
############################################################################################################### GNC_PARAMETERS=' --runonce --skipinstall --abort ' ############################################################################################################### bashconfset.pl GDM_WELCOME_MESSAGE "Enter your welcome message here" /etc//groovix/pac.conf
Setting the Acceptable Use Policy page
############################################################################################################### GNC_PARAMETERS=' --runonce --skipinstall --abort ' ############################################################################################################### apt-get-dontask install groovix-accept bashconfset.pl GK_ACCEPT_USE true /etc//groovix/pac.conf pyconfset.pl mainurl '[ServerIP]/groovix/accept/acceptable-use.html' /etc//groovix/accept.conf
* where [ServerIP] is the IP address of your local Groovix Server
Enabling the web filter
Whitelisting a website
Adding sites to the DansGuardian exception list
Configuring a Reservation Station machine
Catalog only/kiosk machine