As a workaround you may want to try this script in /usr/lib/pm-
utils/sleep.d/02Alsa and chmod 755 it.  The second version is for a
Xubuntu installation to restore the volume panel icon--maybe it can be
modified for Kubuntu if you lose your panel icon.

#!/bin/sh
[ -f /sbin/alsa ] || exit $NA
case "$1" in
        hibernate|suspend)
                ;;
        thaw|resume)
                /sbin/alsa force-reload
                ;;
        *) exit $NA
                ;;
esac


#! /bin/sh
[ -f /sbin/alsa ] || exit $NA
XUSER=`finger| grep -m1 ":0" | awk '{print $1}'`
export DISPLAY=:0.0
export XAUTHORITY=$(find /var/run/gdm -type d -name auth-for-$XUSER-*)/database
case "$1" in
        hibernate|suspend)
                su ${XUSER} -l -c 'xfce4-panel -x' &
                ;;
        thaw|resume)
                /sbin/alsa force-reload
                su ${XUSER} -l -c xfce4-panel &
                ;;
        *) exit $NA
                ;;
esac

-- 
Lucid: sleep / resume / alsa error causes system damage
https://bugs.launchpad.net/bugs/591727
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to