Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188776 Details for
Bug 266311
media-sound/pulseaudio is lacking suspend support for sys-power/pm-utils (?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pulseaudio suspend script
01PulseAudio (text/plain), 477 bytes, created by
Richard Marko
on 2009-04-18 08:32:18 UTC
(
hide
)
Description:
pulseaudio suspend script
Filename:
MIME Type:
Creator:
Richard Marko
Created:
2009-04-18 08:32:18 UTC
Size:
477 bytes
patch
obsolete
>#!/bin/sh > >. "${PM_FUNCTIONS}" > >get_pulse_users() { > echo $(ps aux | awk '/pulseaudio -D/ {print $1}') >} > >suspend_pulse() { > for i in $(get_pulse_users); do > echo 'suspend 1' | sudo -u $i pacmd &> /dev/null > done >} > >resume_pulse() { > for i in $(get_pulse_users); do > echo 'suspend 0' | sudo -u $i pacmd &> /dev/null > done >} > >case $1 in > hibernate|suspend) suspend_pulse ;; > thaw|resume) resume_pulse ;; > *) exit $NA ;; >esac >exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 266311
:
188776
|
188778