vlc default folder, no startup dialog and fix openbox.

This commit is contained in:
m1k1o 2021-03-22 18:53:41 +01:00
parent 6699ff1c17
commit e01b60368c
4 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
FROM m1k1o/neko:base FROM m1k1o/neko:base
# #
# install firefox-esr # install vlc
RUN set -eux; apt-get update; \ RUN set -eux; apt-get update; \
apt-get install -y --no-install-recommends openbox vlc; \ apt-get install -y --no-install-recommends openbox vlc; \
# #
@ -9,6 +9,8 @@ RUN set -eux; apt-get update; \
apt-get clean -y; \ apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/* rm -rf /var/lib/apt/lists/* /var/cache/apt/*
ENV VLC_MEDIA="/media"
# #
# copy configuation files # copy configuation files
COPY supervisord.conf /etc/neko/supervisord/vlc.conf COPY supervisord.conf /etc/neko/supervisord/vlc.conf

View File

@ -13,7 +13,7 @@
<applications> <applications>
<!-- Match all windows and remove their decorations (obxprop | grep "^_OB_APP") --> <!-- Match all windows and remove their decorations (obxprop | grep "^_OB_APP") -->
<application class="VLC*" name="VLC"> <application class="vlc" name="vlc">
<decor>no</decor> <decor>no</decor>
<maximized>true</maximized> <maximized>true</maximized>
<focus>yes</focus> <focus>yes</focus>

View File

@ -1,6 +1,6 @@
[program:vlc] [program:vlc]
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s" 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 autorestart=true
priority=800 priority=800
user=%(ENV_USER)s user=%(ENV_USER)s

View File

@ -66,7 +66,7 @@ For n.eko room management software visit https://github.com/m1k1o/neko-rooms.
Use following docker images: Use following docker images:
- `m1k1o/neko:latest` - for Firefox. - `m1k1o/neko:latest` - for Firefox.
- `m1k1o/neko:chromium` - for Chromium Ungoogled (needs `--cap-add=SYS_ADMIN`). - `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:xfce` - for an shared desktop / installing shared software
- `m1k1o/neko:base` - for custom base. - `m1k1o/neko:base` - for custom base.