-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsys.cfg
88 lines (76 loc) · 2.87 KB
/
sys.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Command to use for halting
SHUTDOWN=halt
# Command to use for rebooting
REBOOT=reboot
# Command to use for suspending
SUSPEND=pm-suspend
# Command to use for hibernating
HIBERNATE=pm-hibernate
# Establish a consolekit session if available?
# (Note: this can be toggled off by a user if they don't need it)
CONSOLEKIT=yes
# Establish a fbterm session if available?
# (Note: this can be toggled off by a user if they don't want it)
FBTERM=yes
FBIMG=/path/to/image.ext
# Log normal program operation?
# The log is stored in /var/log/ncdm.log
LOG=yes
# If logging is enabled, what should the minimum level for writing to the log be?
# levels available are the following, from lowest to highest:
# DEBUG,INFO,WARNING,ERROR,CRITICAL
LOGLVL=WARNING
# Allow root login?
ALLOW_ROOT=yes
# Users who are allowed to only have one session through this program
# Separate each user with :
LOGIN_ONCE=guest
# A message to give to anyone who sees the screen.
# The format of this is a normal python string template.
# You can use the following variables:
# node: Hostname without any domain name
# kver: The release of the kernel
# kname: The name of the kernel
# fullos: Full operating system name
# kdate: The builddate of the kernel
# pyver: The python version NCDM is running on
# This will probably be moved to title.json if I add
# markup support.
WELCOME: {kname}@{node} - Python {pyver}
# Font for the welcome message.
# Please consult urwid.get_all_fonts() for what is available on your system
# examples:
#[('Thin 3x3', <class 'urwid.font.Thin3x3Font'>),
# ('Thin 4x3', <class 'urwid.font.Thin4x3Font'>),
# ('Half Block 5x4', <class 'urwid.font.HalfBlock5x4Font'>),
# ('Half Block 6x5', <class 'urwid.font.HalfBlock6x5Font'>),
# ('Half Block Heavy 6x5', <class 'urwid.font.HalfBlockHeavy6x5Font'>),
# ('Thin 6x6', <class 'urwid.font.Thin6x6Font'>),
# ('Half Block 7x7', <class 'urwid.font.HalfBlock7x7Font'>)
FONT=Thin 6x6
# Path to a valid json file which has a valid color scheme
# When creating a *.json theme, please look at
# http://excess.org/urwid/wiki/DisplayAttributes
# for valid colors
THEME=./default.json
# Other NCDM specific files in this folder:
#
# gui.csv - stores the list of available GUI sessions.
# Having this file not exist means that all GUI
# sessions available will be listed by default.
#
# cli.csv - stores the list of available CLI sessions.
# Since there's nothing to dynamically check what CLI sessions are available,
# not having this file means only the login shell for that user will be listed.
#
# Each line of the csv file should be listed as such:
# "Label","Command"
#
# User specific files:
# ~/.config/ncdm/{gu,cl}i.csv - User specific versions of /etc/ncdm/{gu,cl}i.csv.
#
# ~/.config/ncdm/usr.cfg - User specific version of /etc/ncdm/sys.cfg.
# Only allows overriding CONSOLEKIT, FBTERM, and FBIMG
#
# if ~/.config/ncdm isn't present for the user,
# it is overridden by the system's versions