diff --git a/compose/.env-raspberrypi b/compose/.env-raspberrypi index 9f5bb28..effef88 100644 --- a/compose/.env-raspberrypi +++ b/compose/.env-raspberrypi @@ -9,4 +9,5 @@ RENDER_GID=106 TMP_FOLDER=~/ovos/tmp TZ=America/Montreal VERSION=alpha +VIDEO_GID=44 XDG_RUNTIME_DIR=/run/user/1000 diff --git a/compose/.env.example b/compose/.env.example index 23c633f..8da7dcd 100644 --- a/compose/.env.example +++ b/compose/.env.example @@ -8,4 +8,5 @@ PULL_POLICY=always TMP_FOLDER=~/ovos/tmp TZ=America/Montreal VERSION=alpha +VIDEO_GID=44 XDG_RUNTIME_DIR=/run/user/1000 diff --git a/compose/docker-compose.gui.yml b/compose/docker-compose.gui.yml index 1888f74..d3636b9 100644 --- a/compose/docker-compose.gui.yml +++ b/compose/docker-compose.gui.yml @@ -49,7 +49,6 @@ services: pull_policy: $PULL_POLICY environment: DBUS_SESSION_BUS_ADDRESS: unix:path=${XDG_RUNTIME_DIR}/bus - DISPLAY: :0 PULSE_SERVER: unix:${XDG_RUNTIME_DIR}/pulse/native PULSE_COOKIE: /home/${OVOS_USER}/.config/pulse/cookie QML2_IMPORT_PATH: /usr/lib/qml @@ -70,6 +69,8 @@ services: - /dev/input - /dev/dri - /dev/snd + group_add: + - $VIDEO_GID volumes: - ~/.config/pulse/cookie:/home/${OVOS_USER}/.config/pulse/cookie:ro - ${OVOS_CONFIG_FOLDER}:/home/${OVOS_USER}/.config/mycroft:ro @@ -123,6 +124,8 @@ services: # - /dev/input # - /dev/dri # - /dev/snd + # group_add: + # - $VIDEO_GID # volumes: # - ~/.config/pulse/cookie:/home/${OVOS_USER}/.config/pulse/cookie:ro # - ${OVOS_CONFIG_FOLDER}:/home/${OVOS_USER}/.config/mycroft:ro