Skip to content

Instantly share code, notes, and snippets.

@njdro
Forked from dlech/pulseaudio-bluetooth.conf
Created April 16, 2018 14:42
Show Gist options
  • Select an option

  • Save njdro/1b1bf5d847e3729a892650f35706e4e6 to your computer and use it in GitHub Desktop.

Select an option

Save njdro/1b1bf5d847e3729a892650f35706e4e6 to your computer and use it in GitHub Desktop.

Revisions

  1. @dlech dlech revised this gist Dec 8, 2014. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions pulseaudio.service
    Original file line number Diff line number Diff line change
    @@ -4,3 +4,6 @@ Description=Pulse Audio
    [Service]
    Type=simple
    ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disable-shm

    [Install]
    WantedBy=multi-user.target
  2. @dlech dlech revised this gist Nov 11, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pulseaudio.service
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,4 @@ Description=Pulse Audio

    [Service]
    Type=simple
    ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disallow-module-loading --disable-shm
    ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disable-shm
  3. @dlech dlech revised this gist Nov 11, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions pulseaudio.service
    Original file line number Diff line number Diff line change
    @@ -3,5 +3,4 @@ Description=Pulse Audio

    [Service]
    Type=simple
    User=pulse
    ExecStart=/usr/bin/pulseaudio
    ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disallow-module-loading --disable-shm
  4. @dlech dlech revised this gist Nov 10, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions pulseaudio.service
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,6 @@
    Description=Pulse Audio

    [Service]
    Type=oneshot
    RemainAfterExit=yes
    Type=simple
    User=pulse
    ExecStart=/usr/bin/pulseaudio
  5. @dlech dlech revised this gist Nov 10, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions pulseaudio.service
    Original file line number Diff line number Diff line change
    @@ -5,5 +5,4 @@ Description=Pulse Audio
    Type=oneshot
    RemainAfterExit=yes
    User=pulse
    ExecStart=/usr/bin/pulseaudio --start
    ExecStop=/usr/bin/pulseaudio --kill
    ExecStart=/usr/bin/pulseaudio
  6. @dlech dlech revised this gist Nov 10, 2014. 1 changed file with 0 additions and 3 deletions.
    3 changes: 0 additions & 3 deletions pulseaudio-bluetooth.conf
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,5 @@
    <busconfig>

    <!-- System-wide PulseAudio runs as 'pulse' user. This fragment is
    not necessary for user PulseAudio instances. -->

    <policy user="pulse">
    <allow send_destination="org.bluez"/>
    </policy>
  7. @dlech dlech revised this gist Nov 10, 2014. 2 changed files with 11 additions and 1 deletion.
    10 changes: 10 additions & 0 deletions pulseaudio-bluetooth.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    <busconfig>

    <!-- System-wide PulseAudio runs as 'pulse' user. This fragment is
    not necessary for user PulseAudio instances. -->

    <policy user="pulse">
    <allow send_destination="org.bluez"/>
    </policy>

    </busconfig>
    2 changes: 1 addition & 1 deletion pulseaudio.service
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,4 @@ Type=oneshot
    RemainAfterExit=yes
    User=pulse
    ExecStart=/usr/bin/pulseaudio --start
    ExecStop=/usr/bin/pulseaudio --kill
    ExecStop=/usr/bin/pulseaudio --kill
  8. @dlech dlech revised this gist Nov 10, 2014. 1 changed file with 1 addition and 5 deletions.
    6 changes: 1 addition & 5 deletions pulseaudio.service
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,9 @@
    [Unit]
    Description=Pulse Audio
    After=bluetooth-discoverable.service

    [Install]
    WantedBy=legoev3-bluetooth.service

    [Service]
    Type=oneshot
    RemainAfterExit=yes
    User=pi
    User=pulse
    ExecStart=/usr/bin/pulseaudio --start
    ExecStop=/usr/bin/pulseaudio --kill
  9. @dlech dlech created this gist Jul 19, 2014.
    13 changes: 13 additions & 0 deletions pulseaudio.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    [Unit]
    Description=Pulse Audio
    After=bluetooth-discoverable.service

    [Install]
    WantedBy=legoev3-bluetooth.service

    [Service]
    Type=oneshot
    RemainAfterExit=yes
    User=pi
    ExecStart=/usr/bin/pulseaudio --start
    ExecStop=/usr/bin/pulseaudio --kill