Kaydet (Commit) 1b6b7e21 authored tarafından Hakkı Dizdar's avatar Hakkı Dizdar

Açılışta PulseAudio Çalışması için gerekli ayarları yaptık

üst 198fcf79
...@@ -17,4 +17,11 @@ RUN echo "Europe/Istanbul" > /etc/timezone ...@@ -17,4 +17,11 @@ RUN echo "Europe/Istanbul" > /etc/timezone
EXPOSE 5900/tcp EXPOSE 5900/tcp
ENV DISPLAY=:0.0 ENV DISPLAY=:0.0
CMD Xspice --port 5900 --auto --vdagent --disable-ticketing $DISPLAY > /dev/null 2>&1 & ADD dosyalar /
\ No newline at end of file RUN ls -la /etc/xdg/autostart
WORKDIR /oyunparki
COPY ./calistir.sh ./
COPY ./sound.sh ./
COPY ./client.conf ./
COPY ./default.pa ./
ENTRYPOINT [ "bash", "/oyunparki/calistir.sh" ]
\ No newline at end of file
default-sink = fifo
autospawn = no
daemon-binary = /bin/true
.fail
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-native-protocol-unix
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-suspend-on-idle
load-module module-position-event-sounds
load-module module-x11-publish
set-default-sink fifo
.nofail
load-module module-console-kit
[Desktop Entry]
Type=Application
Name=OyunParkı PulseAudio
Exec=/oyunparki/sound.sh USERNAME
NoDisplay=true
Terminal=false
Categories=
\ No newline at end of file
#!/usr/bin/env bash
set -e
mkdir -p /home/$1/.config/pulse/
cp /oyunparki/default.pa /home/$1/.config/pulse/
cp /oyunparki/client.conf /home/$1/.config/pulse/
pulseaudio --start
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment