summaryrefslogtreecommitdiff
path: root/pulseaudio/README.md
blob: 878cf5f5f987eb8f79cf3083490557deab8cc502 (plain)
    1 pulseaudio
    2 ==========
    3 
    4 ## server shutting down when used with a WM
    5 
    6 If you are not running a fully fledged DE you might have trouble
    7 with pulseaudio shutting down after being idle for a while. You can
    8 work around this by starting pulseaudio like this:
    9 
   10 ~/.xinitrc
   11 #!/bin/bash
   12 pulseaudio --start --exit-idle-time=-1 --log-target=syslog &
   13 exec /usr/bin/myawesomewm
   14 
   15 ## system mode
   16 
   17 See [What is wrong with system mode? – PulseAudio](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/)
   18 for more information.
   19 
   20 This was previously a pre-install script:
   21 
   22 ```sh
   23 #!/bin/sh
   24 
   25 # check for pulseaudio group or add one
   26 getent group pulse || /usr/sbin/groupadd pulse
   27 getent group pulse-access || /usr/sbin/groupadd pulse-access
   28 
   29 # check for pulseaudio user or add one
   30 getent passwd pulse || /usr/sbin/useradd -g pulse -d /var/lib/pulse -s /bin/false -c "Pulseaudio User" pulse
   31 
   32 # lock the account
   33 /usr/bin/passwd -l pulse
   34 ```

Generated by cgit