Actually, it should not be a plain shutdown -h now. Instead,
gnome-power-manager should be handling the shutdown (which is faster and lacks
the sound) according to the /etc/acpi/powerbtn.sh script:
# If gnome-power-manager, kpowersave or klaptopdaemon are running, let
# them handle policy This is effectively the same as 'acpi-support's
# '/usr/share/acpi-support/policy-funcs' file.
if pidof gnome-power-manager kpowersave > /dev/null ||
(pidof dcopserver > /dev/null && test -x /usr/bin/dcop && /usr/bin/dcop kded k
ded loadedModules | grep -q klaptopdaemon) ; then
exit
fi
[truncated kde script]
# If all else failed, just initiate a plain shutdown.
/sbin/shutdown -h now "Power button pressed"
But for some reason, using the power button is faster by a few seconds.
Just for informational purposes. :)
--
Shutdown sound is truncated
https://launchpad.net/bugs/61530
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs