vlc default folder, no startup dialog and fix openbox.
This commit is contained in:
parent
6699ff1c17
commit
e01b60368c
@ -1,7 +1,7 @@
|
||||
FROM m1k1o/neko:base
|
||||
|
||||
#
|
||||
# install firefox-esr
|
||||
# install vlc
|
||||
RUN set -eux; apt-get update; \
|
||||
apt-get install -y --no-install-recommends openbox vlc; \
|
||||
#
|
||||
@ -9,6 +9,8 @@ RUN set -eux; apt-get update; \
|
||||
apt-get clean -y; \
|
||||
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||
|
||||
ENV VLC_MEDIA="/media"
|
||||
|
||||
#
|
||||
# copy configuation files
|
||||
COPY supervisord.conf /etc/neko/supervisord/vlc.conf
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
<applications>
|
||||
<!-- Match all windows and remove their decorations (obxprop | grep "^_OB_APP") -->
|
||||
<application class="VLC*" name="VLC">
|
||||
<application class="vlc" name="vlc">
|
||||
<decor>no</decor>
|
||||
<maximized>true</maximized>
|
||||
<focus>yes</focus>
|
||||
|
@ -1,6 +1,6 @@
|
||||
[program:vlc]
|
||||
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
|
||||
command=/usr/bin/vlc --x11-display=%(ENV_DISPLAY)s
|
||||
command=/usr/bin/vlc --x11-display=%(ENV_DISPLAY)s --no-qt-privacy-ask %(ENV_VLC_MEDIA)s
|
||||
autorestart=true
|
||||
priority=800
|
||||
user=%(ENV_USER)s
|
||||
|
@ -66,7 +66,7 @@ For n.eko room management software visit https://github.com/m1k1o/neko-rooms.
|
||||
Use following docker images:
|
||||
- `m1k1o/neko:latest` - for Firefox.
|
||||
- `m1k1o/neko:chromium` - for Chromium Ungoogled (needs `--cap-add=SYS_ADMIN`).
|
||||
- `m1k1o/neko:vlc` - for VLC Video player (needs `volumes` folder with local video files)
|
||||
- `m1k1o/neko:vlc` - for VLC Video player (needs volume mounted to `/media` with local video files, or setting `VLC_MEDIA=/media` path).
|
||||
- `m1k1o/neko:xfce` - for an shared desktop / installing shared software
|
||||
- `m1k1o/neko:base` - for custom base.
|
||||
|
||||
|
Reference in New Issue
Block a user