Skip to content

Commit

Permalink
Switch from PulseAudio to PipeWire for 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
yama07 committed Jun 16, 2024
1 parent 1e1df9f commit 0a74f80
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 54 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu24.04_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
uses: ./.github/workflows/xrdp-ubuntu24.04.yml
secrets: inherit

xrdp-ubuntu24_04_pulseaudio:
xrdp-ubuntu24_04_audio:
needs: [xrdp-ubuntu24_04]
uses: ./.github/workflows/xrdp-ubuntu24.04_pulseaudio.yml
uses: ./.github/workflows/xrdp-ubuntu24.04_audio.yml
secrets: inherit

xrdp-ubuntu24_04_slim:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Docker image xrdp/ubuntu24.04_pulseaudio
name: Publish Docker image xrdp/ubuntu24.04_audio

on: [workflow_dispatch, workflow_call]

Expand Down Expand Up @@ -27,8 +27,8 @@ jobs:
with:
push: true
context: xrdp
file: xrdp/Dockerfile.ubuntu24.04_pulseaudio
file: xrdp/Dockerfile.ubuntu24.04_audio
platforms: linux/amd64,linux/arm64
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/docker-ubuntu-lxde:24.04-xrdp-pulseaudio_ja
${{ secrets.DOCKERHUB_USERNAME }}/docker-ubuntu-lxde:noble-xrdp-pulseaudio_ja
${{ secrets.DOCKERHUB_USERNAME }}/docker-ubuntu-lxde:24.04-xrdp-audio_ja
${{ secrets.DOCKERHUB_USERNAME }}/docker-ubuntu-lxde:noble-xrdp-audio_ja
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ Ubuntu の LXDE/LXQt デスクトップ環境の Docker image です。
### XRDP

- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/24.04-xrdp_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=24.04-xrdp_ja)
`24.04-xrdp_ja`, `noble-xrdp_ja`: Ubuntu24.04 ベース [(xrdp/Dockerfile.ubuntu24.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04)
`24.04-xrdp_ja`, `noble-xrdp_ja`: Ubuntu24.04 ベース LXQt [(xrdp/Dockerfile.ubuntu24.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/24.04-xrdp-slim_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=24.04-xrdp-slim_ja)
`24.04-xrdp-slim_ja`, `noble-xrdp-slim_ja`: サイズを軽量化した Ubuntu24.04 ベース [(xrdp/Dockerfile.ubuntu24.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/24.04-xrdp-pulseaudio_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=24.04-xrdp-pulseaudio_ja)
`24.04-xrdp-pulseaudio_ja`, `noble-xrdp-pulseaudio_ja`: 音声転送可能な Ubuntu24.04 ベース [(xrdp/Dockerfile.ubuntu24.04_pulseaudio)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04_pulseaudio)
`24.04-xrdp-slim_ja`, `noble-xrdp-slim_ja`: サイズを軽量化した Ubuntu24.04 ベース LXQt [(xrdp/Dockerfile.ubuntu24.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/24.04-xrdp-audio_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=24.04-xrdp-audio_ja)
`24.04-xrdp-audio_ja`, `noble-xrdp-audio_ja`: 音声転送可能な Ubuntu24.04 ベース LXQt [(xrdp/Dockerfile.ubuntu24.04_audio)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04_audio)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/22.04-xrdp_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=22.04-xrdp_ja)
`22.04-xrdp_ja`, `jammy-xrdp_ja`, `latest-xrdp`, `latest`: Ubuntu22.04 ベース [(xrdp/Dockerfile.ubuntu22.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu22.04)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/22.04-xrdp-slim_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=22.04-xrdp-slim_ja)
Expand Down
11 changes: 11 additions & 0 deletions xrdp/Dockerfile.ubuntu24.04_audio
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM yama07/docker-ubuntu-lxde:24.04-xrdp_ja

RUN \
# Disable unavailable pipewire features
sed -i -r 's/^( *module.jackdbus-detect = )true$/\1false/' /usr/share/pipewire/pipewire.conf \
# Launch the audio server before starting LXQt session
&& sed -i \
-e "/startlxqt/iDISABLE_RTKIT=true PIPEWIRE_LOG_SYSTEMD=false pipewire &" \
-e "/startlxqt/iDISABLE_RTKIT=true PIPEWIRE_LOG_SYSTEMD=false pipewire-pulse &" \
-e "/startlxqt/iDISABLE_RTKIT=true PIPEWIRE_LOG_SYSTEMD=false wireplumber &" \
/etc/skel/.xsession
40 changes: 0 additions & 40 deletions xrdp/Dockerfile.ubuntu24.04_pulseaudio

This file was deleted.

8 changes: 4 additions & 4 deletions xrdp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Docker による Ubuntu の LXDE/LXQt デスクトップ環境です。
## Supported tags

- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/24.04-xrdp_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=24.04-xrdp_ja)
`24.04-xrdp_ja`, `noble-xrdp_ja`: Ubuntu24.04 ベース [(xrdp/Dockerfile.ubuntu24.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04)
`24.04-xrdp_ja`, `noble-xrdp_ja`: Ubuntu24.04 ベース LXQt [(xrdp/Dockerfile.ubuntu24.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/24.04-xrdp-slim_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=24.04-xrdp-slim_ja)
`24.04-xrdp-slim_ja`, `noble-xrdp-slim_ja`: サイズを軽量化した Ubuntu24.04 ベース [(xrdp/Dockerfile.ubuntu24.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/24.04-xrdp-pulseaudio_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=24.04-xrdp-pulseaudio_ja)
`24.04-xrdp-pulseaudio_ja`, `noble-xrdp-pulseaudio_ja`: 音声転送可能な Ubuntu24.04 ベース [(xrdp/Dockerfile.ubuntu24.04_pulseaudio)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04_pulseaudio)
`24.04-xrdp-slim_ja`, `noble-xrdp-slim_ja`: サイズを軽量化した Ubuntu24.04 ベース LXQt [(xrdp/Dockerfile.ubuntu24.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/24.04-xrdp-audio_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=24.04-xrdp-audio_ja)
`24.04-xrdp-audio_ja`, `noble-xrdp-audio_ja`: 音声転送可能な Ubuntu24.04 ベース LXQt [(xrdp/Dockerfile.ubuntu24.04_audio)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu24.04_audio)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/22.04-xrdp_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=22.04-xrdp_ja)
`22.04-xrdp_ja`, `jammy-xrdp_ja`, `latest-xrdp`, `latest`: Ubuntu22.04 ベース [(xrdp/Dockerfile.ubuntu22.04)](https://github.com/yama07/docker-ubuntu-lxde/blob/master/xrdp/Dockerfile.ubuntu22.04)
- [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/yama07/docker-ubuntu-lxde/22.04-xrdp-slim_ja?style=flat-square)](https://hub.docker.com/r/yama07/docker-ubuntu-lxde/tags?name=22.04-xrdp-slim_ja)
Expand Down

0 comments on commit 0a74f80

Please sign in to comment.