display_conf - bruno-beloff/scs_mfr GitHub Wiki

docs > software repositories > scs_mfr > commands > system identity


DESCRIPTION

The display_conf utility is used to specify the content of a visual display, such as the Pimoroni Inky pHAT eInk module. In particular, it specifies some of the initial screen content.

The configuration managed by this utility is used by the scs_dev/display utility.

SYNOPSIS

display_conf.py [{ [-m MODE] [-n NAME] [-u STARTUP] [-s SHUTDOWN] [-t { 0 | 1 }] | -d }] [-v]

Options
--version show program's version number and exit
-h, --help show this help message and exit
-m MODE, --mode=MODE set display mode (SYS only)
-n NAME, --name=NAME set device name
-u STARTUP, --startup=STARTUP set startup message
-s SHUTDOWN, --shutdown=SHUTDOWN set shutdown message
-t SHOW_TIME, --show-time=SHOW_TIME show current time
-d, --delete delete display configuration
-v, --verbose report narrative to stderr

EXAMPLES

./display_conf.py -m SYS -n "SCS Praxis/Handheld v1.0" -u RUNNING -s STANDBY -t 1

FILES

~/SCS/conf/display_conf.json

DOCUMENT EXAMPLE

{"mode": "SYS", "device-name": "SCS Praxis/Handheld (dev)", "startup-message": "ON", "shutdown-message": "STANDBY", "show-time": true}

SEE ALSO

scs_dev/display

RESOURCES

https://github.com/bruno-beloff/scs_display_inky