index
/bin/config.sh
Config is a binary used to change minux's settings.
a version number behind the option indicates it is present from that version and later.
usage:
config set|get option setting
options:
login - sets login method, either true or false
authys - sets a new login system, must be a working login script
userdata - sets a new location to store user data for the login system, must be a folder
update - sets automatic update, setting is a number in seconds, 0 = disabled
ui - sets the default ui on system boot, must point to a working UI starter program
shell - sets a default system shell, must be a working shell program
logmode - sets log file create on or off, either true or false
logpath - sets the folder for log files to be written to, must be an existing folder
maptsource - sets a new source file for mapt, remember to also add sources!
maptinstall - sets a new installed list file for mapt, remember to copy the last one over!
color - changes colors - user specific
syscolor - changes colors - system wide
get vs set
the "get" option makes a request to read the setting, it requires the option you want to read but no more. eg: "config get login"
the "set" option is used to set an option to another value, it requires the option and then setting to save, eg:"config set login true"
login
"config set login false"
disables the login system, use "true" to enable it. if no root account exists you will be prompted to create one.
authsys
"config set authsys /bin/login.sh"
sets a new login script to be used, allowing you to change the login system entirely
authfun
"config set authfun minux.login"
sets a new login lua function to be used, allowing you to change the login system entirely
userdata
"config set userdata /folder"
sets a new folder to store user data
update
"config set update number"
change number with a number, 0 = disabled, any number will make the system wait said number of reboots before checking,
eg: setting it to "5" would cause the system to skip updating 5 times and run the update check on the 6th boot.
ui
"config set ui path"
change "path" with the location of a UI program, this will launch on login if set.
this setting is user specific
sui
"config set sui path"
change "path" with the location of a UI program, this will launch on login unless a user interface was set by the user.
this setting is system wide
shell
"config set shell path"
change "path" with the location of a shell program, this will launch on login if no default ui is set.
logmode
"config set logmode 0"
set the log file system level, the higher the number the more logs will be produced.
log level 0 = disabled, 1 = error, 2 = warning, 3 = debug
logpath
"config set logpath path"
sets a new directory to store log files, "path" must be a directory
maptsource
"config set maptsource path"
sets a new file for mapt to store it's source url's, do not forget to add sources or copy the previous source file
maptinstall
"config set maptinstall path"
sets a new file for mapt to store it's installed program list, do not forget to copy the old file over to avoid trouble
crashhandler
"config set crashhandler true"
enables or disables the crash handler on bootup
color
"config set color tc white"
changes computer colors, user specific, first argument can be tc(text color),bc(background color) and sc(system/prompt color)
second argument can be: white,orange,magenta,lightBlue,yellow,lime,pink,gray,lightGray,cyan,purple,blue,brown,green,red,black
syscolor
"config set syscolor tc white"
changes computer colors, system default, first argument can be tc(text color),bc(background color) and sc(system/prompt color)
second argument can be: white,orange,magenta,lightBlue,yellow,lime,pink,gray,lightGray,cyan,purple,blue,brown,green,red,black
tempfolder
"config set tempfolder /temp"
changes the computer's temporary files folder, if you wish these to be somewhere else.
keep in mind changing this setting while programs are running might not work all that well.
maptmfpath
"config set maptmfpath /usr/mapt/"
changes the computer's mapt manifest file folder, if you wish these to be somewhere else.
it is best you run mapt -u -f after this command to rebuild your manifests.