kmscon is one of those scripts that need configs
This commit is contained in:
parent
d8089e6325
commit
d9610d7832
3
conf.d/kmscon.sh
Normal file
3
conf.d/kmscon.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
# KMSCON config
|
||||
|
||||
service_args+=' --hwaccel --drm --font-name terminus --palette solarized' # The space at the start is important.
|
13
init.d/X
Executable file
13
init.d/X
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env watchman
|
||||
|
||||
service_username='fbt'
|
||||
export HOME="/home/${service_username}"
|
||||
service_workdir="$HOME"
|
||||
service_command='/bin/ssh-agent'
|
||||
service_args='/bin/xinit'
|
||||
|
||||
|
||||
start() {
|
||||
cd "$service_workdir"
|
||||
su "$service_username" -c "$BASH -l -c '${service_command} ${service_args}'" &>/tmp/xinit.log &
|
||||
}
|
|
@ -4,4 +4,4 @@ tty=${service_name##*-};
|
|||
|
||||
service_respawn='true'
|
||||
service_command='/usr/bin/kmscon'
|
||||
service_args="--vt ${tty} --hwaccel --drm --font-name terminus --palette solarized"
|
||||
service_args="--vt ${tty}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user