mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
feat: add OPENBOX_ARGS (issue #97)
This commit is contained in:
parent
f1d608d92c
commit
99ceecbf0e
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,10 @@ if [ -n "$X11VNC_ARGS" ]; then
|
||||||
sed -i "s/^command=x11vnc.*/& ${X11VNC_ARGS}/" /etc/supervisor/conf.d/supervisord.conf
|
sed -i "s/^command=x11vnc.*/& ${X11VNC_ARGS}/" /etc/supervisor/conf.d/supervisord.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$OPENBOX_ARGS" ]; then
|
||||||
|
sed -i "s#^command=/usr/bin/openbox.*#& ${OPENBOX_ARGS}#" /etc/supervisor/conf.d/supervisord.conf
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$RESOLUTION" ]; then
|
if [ -n "$RESOLUTION" ]; then
|
||||||
sed -i "s/1024x768/$RESOLUTION/" /usr/local/bin/xvfb.sh
|
sed -i "s/1024x768/$RESOLUTION/" /usr/local/bin/xvfb.sh
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue