pulseaudio: don't create a pulse system user by default, run a user session instead. included in README.md
This commit is contained in:
parent
847ba80a86
commit
4d08950678
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/SU0erLc/HobUm4Tvd0xZVc19+pL1GYPixjnwr5iVa24CvQtw0H0Pp7r64HTbdxW0wqAONLl49siQ/j8S5lpeAQ=
|
||||
SHA256 (Pkgfile) = 22389c588098157496aaeb10fa45c28faa8d9e24b5ee48f39e129ae0009da9f6
|
||||
RWSE3ohX2g5d/Uupn3lYYS8vGkl890Y3Y/m/bcUDMb7jv/XmYAEAJjfh6UVb/V9P8zBjk+DMh/afxHvcZRfZBRz2pK4H8lOuxwE=
|
||||
SHA256 (Pkgfile) = 56368f29ef3824cc56af2bc8cd4a4284c3a7bf5816bc9515ecd7586dfc04642e
|
||||
SHA256 (.footprint) = 62d22fb11c92bc8eedb38679d49bfc77f115894b42ce0866a1a384799ac3a565
|
||||
SHA256 (pulseaudio-16.1.tar.xz) = 8eef32ce91d47979f95fd9a935e738cd7eb7463430dabc72863251751e504ae4
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Description: PulseAudio is a cross-platform, networked sound server
|
||||
# URL: https://www.freedesktop.org/wiki/Software/PulseAudio/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: dbus glib intltool libsndfile meson ninja orc speexdsp
|
||||
# Depends on: dbus glib intltool libsndfile orc speexdsp
|
||||
# Optional: avahi bluez fftw gst-plugins-base sbc xorg-libice xorg-libsm xorg-libxtst
|
||||
|
||||
name=pulseaudio
|
||||
|
@ -1,8 +0,0 @@
|
||||
If you are not running a fully fledged DE you might have trouble
|
||||
with pulseaudio shutting down after being idle for a while. You can
|
||||
work around this by starting pulseaudio like this:
|
||||
|
||||
~/.xinitrc
|
||||
#!/bin/bash
|
||||
pulseaudio --start --exit-idle-time=-1 --log-target=syslog &
|
||||
exec /usr/bin/myawesomewm
|
34
pulseaudio/README.md
Normal file
34
pulseaudio/README.md
Normal file
@ -0,0 +1,34 @@
|
||||
pulseaudio
|
||||
==========
|
||||
|
||||
## server shutting down when used with a WM
|
||||
|
||||
If you are not running a fully fledged DE you might have trouble
|
||||
with pulseaudio shutting down after being idle for a while. You can
|
||||
work around this by starting pulseaudio like this:
|
||||
|
||||
~/.xinitrc
|
||||
#!/bin/bash
|
||||
pulseaudio --start --exit-idle-time=-1 --log-target=syslog &
|
||||
exec /usr/bin/myawesomewm
|
||||
|
||||
## system mode
|
||||
|
||||
See [What is wrong with system mode? – PulseAudio](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/)
|
||||
for more information.
|
||||
|
||||
This was previously a pre-install script:
|
||||
|
||||
```sh
|
||||
#!/bin/sh
|
||||
|
||||
# check for pulseaudio group or add one
|
||||
getent group pulse || /usr/sbin/groupadd pulse
|
||||
getent group pulse-access || /usr/sbin/groupadd pulse-access
|
||||
|
||||
# check for pulseaudio user or add one
|
||||
getent passwd pulse || /usr/sbin/useradd -g pulse -d /var/lib/pulse -s /bin/false -c "Pulseaudio User" pulse
|
||||
|
||||
# lock the account
|
||||
/usr/bin/passwd -l pulse
|
||||
```
|
@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# check for pulseaudio group or add one
|
||||
getent group pulse || /usr/sbin/groupadd pulse
|
||||
getent group pulse-access || /usr/sbin/groupadd pulse-access
|
||||
|
||||
# check for pulseaudio user or add one
|
||||
getent passwd pulse || /usr/sbin/useradd -g pulse -d /var/run/pulse -s /bin/false -c "Pulseaudio User" pulse
|
||||
|
||||
# lock the account
|
||||
/usr/bin/passwd -l pulse
|
Loading…
x
Reference in New Issue
Block a user