05-31-2020, 02:12 PM
(05-31-2020, 08:41 AM)koparthur Wrote: Hi,This needs paprefs with pulseaudio on network enabled right?
Here is my configuration of /usr/local/bin/chromium-armhf, with sound control (in Bluetooth too) :
Code:#!/usr/bin/env bash
addrip="$(hostname -i | grep -v '127.0.0.1' | awk '{ print $1}')"
echo "Enabling XHost Forwarding"
xhost +local:docker
echo "Searching for Docker image ..."
DOCKER_IMAGE_ID=$(docker images -q hthiemann/chromium-armhf:latest | head -n 1)
echo "Found and using ${DOCKER_IMAGE_ID}"
docker run --rm --privileged \
-e DISPLAY=unix$DISPLAY \
-e PULSE_SERVER=tcp:${addrip}:4713 \
-e PULSE_COOKIE_DATA=`pax11publish -d | grep --color=never -Po '(?<=^Cookie: ).*'` \
-v chromium_home:/home \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev:/dev -v /run:/run \
-v /etc/machine-id:/etc/machine-id \
--ipc=host \
${DOCKER_IMAGE_ID}
If it helps anyone.
Nice I wanted to use something similar thanks for the code.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
Devices: Pinebook Pro & PinePhone.