(05-07-2020, 03:48 AM)Eight Bit Wrote: Though maybe obvious, I had to try ^ ^
The Alsamixer DAC audio output of Chromium-armhf doesn't route to a connected bluetooth headset either.
I can easily have Chromium play spotify through the speakers while listening to a youtube from firefox through a headset.
It's not a bug, it's a feature!
LOL!!!
Yes a feature for you :p
Someone on Manjaro forum have advices a fix for Volume controller to be used in Chromium-Docker
Here is the post
DE Volume Control Fix
I am testing it and then will see how I can get it included in the package so users can just upgrade the package to get it fixed.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
Chromium Docker package updated to fix netflix-1080p plugin.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
(05-31-2020, 08:41 AM)koparthur Wrote: Hi,
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.
This needs paprefs with pulseaudio on network enabled right?
Nice I wanted to use something similar thanks for the code.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
(05-31-2020, 03:55 PM)koparthur Wrote: (05-31-2020, 02:12 PM)spikerguy Wrote: (05-31-2020, 08:41 AM)koparthur Wrote: Hi,
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.
This needs paprefs with pulseaudio on network enabled right?
Nice I wanted to use something similar thanks for the code.
Yes, and you have to activate that in Paprefs (sorry it's in french) :
I activated the PulseAudio server (Papref) and modified /usr/local/bin/chromium-armhf, it works fine.
The only problem is that if the IPv4 of the PBP changes, the sound doesn't work anymore and you have to restart Chromium.
The only problem is that if the IPv4 of the PBP changes, the sound doesn't work anymore and you have to restart Chromium.
If IP changes then a restart is a must as even your internet will stop working. That is how dockers work
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.