Skip to content

Instantly share code, notes, and snippets.

@DennisLfromGA
Last active March 17, 2024 14:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save DennisLfromGA/aa1c92ebe77c3df4ca84 to your computer and use it in GitHub Desktop.
Save DennisLfromGA/aa1c92ebe77c3df4ca84 to your computer and use it in GitHub Desktop.
An external control file for adjusting six parameters in 'crouton.conf' to invoke a crouton chroot.
##########################################################################
##* crouton.conf defaults are: ##
# DELAY=10 # delay desired number of seconds before starting ##
# CHROOT=xenial # enter desired chroot to start ##
# START_DE=startxfce4 # enter desired Desktop Envirnoment to use ##
# CHROOT_APP=none # enter desired chroot application to run ##
# XMETHOD=default # enter the desired XMETHOD (xorg,xephyr,xiwi) ##
# RUN_STATE=y # change to 'n' to disable running $CHROOT ##
##########################################################################
###
##############################################################
## Place a '#' in the 1st column before the variable if you ##
#+ don't want to change it from the crouton.conf defaults. ##
## ##
## SEVERAL EXAMPLES ARE GIVEN BELOW FOR YOUR REFERENCE ##
#+ YOU CAN REMOVE THEM IF YOU LIKE TO KEEP THINGS NEAT ##
##############################################################
###
### DELAY: change to desired number of seconds before starting
##* It helps sometimes to give other applicaitons time to initialize.
#--
DELAY=30
###
### CHROOT: change to desired chroot to use
#--
##* chroot(s) in '/var/crouton/chroots': trusty, xenial, wheezy-cb, mdwatson
##! trusty - DE:kde,xbmc
#CHROOT=trusty
##! xenial - DE:gnome,kde,xfce,xbmc
CHROOT=xenial
##! wheezy-cb - DE:xinit,startob
#CHROOT=wheezy-cb
##! mdwatson - DE:elementary
#CHROOT=mdwatson
###
### START_DE: change to desired Desktop Envirnoment to use
#--
#START_DE=startelementary
#START_DE=startkde
START_DE=startlxde
#START_DE=startgnome
#START_DE=startunity
#START_DE=startxbmc
#START_DE=startxfce4
##! below 'enter-chroot' commonly used with
##! CHROOT_APP=sleep infinity (below) for headless operations.
#START_DE=enter-chroot
###
### CHROOT_APP: enter a chroot application to run, used for startxiwi
##* or enter-chroot, etc.
#--
#CHROOT_APP=pidgin
#CHROOT_APP=skype
#CHROOT_APP=xterm
## below 'sleep infinity' commonly used with
## START_DE=enter-chroot (above) for headless operations, etc.
#CHROOT_APP=sleep infinity
###
### XMETHOD: Override the default XMETHOD for this session - if installed, some examples shown
#--
#XMETHOD=default
#XMETHOD=xephyr
#XMETHOD=xorg
XMETHOD=xiwi
###
### RUN_STATE: change to 'n' to disable running crouton.conf
#--
RUN_STATE=y
@DennisLfromGA
Copy link
Author

Added XMETHOD option.

@DennisLfromGA
Copy link
Author

Added CHROOT_APP option and other minor tweaks.

@DennisLfromGA
Copy link
Author

Added some additional notes about 'enter-chroot sleep infinity' for headless operations, etc.

@DennisLfromGA
Copy link
Author

Updated for release 'xenial'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment