How to disable automatic suspend warning


Answer: 1

6 hours ago

I'm using ubuntu 13.10 as htpc. To save some power, i have set it to suspend after 30minutes of inactivity. Before entering suspended state, a popup appears to warn me that computer is about to get put to sleep. This is a little annoyance since it appears when i resume the pc later.

How can i disable this notification for good?

Added by: Kristoffer Durgan

Answer: 2

4 hours ago

One workaround posted on launchpad is a script that is based on the hooks of pm-utils:

sudo wget -O /etc/pm/sleep.d/20_kill-notify-osd
sudo chmod +x /etc/pm/sleep.d/20_kill-notify-osd

Another workaround might be the following method:

Download a script and make it executable:

wget -O ~/
chmod +x ~/

Add it to ~/.bashrc:

echo "if [ -f ~/ ]; then
. ~/
fi" >> ~/.bashrc

After logging out and in the notifications should not pop up anymore after resume.

Added by: Kristin Dooley MD

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9