Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I certainly like notifications in 12.04, but depending on the work I do they can be quite distracting.

Is there an official way or a tweak to temporarily deactivate notifications?

UPDATE: To clearify, I am looking for a way to do that in Unity.

share|improve this question
    
this is a wishlist bug report: bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/461058 –  fossfreedom Sep 7 '12 at 15:02
add comment

2 Answers 2

I don't believe there's an official way, but it's easy enough to disable in the terminal (for presentations, etc.):

  sudo chmod 000 /usr/lib/notify-osd/notify-osd
  killall notify-osd

Afterward, just chmod it back to 755 and notifications will resume.

Relevant: http://brainstorm.ubuntu.com/idea/25512/

share|improve this answer
    
You need root access to do this. That's not very practical. –  Marco Sep 7 '12 at 12:05
add comment

This is how I achieved it

Create a sh file called stopNotification.sh and paste this line

killall -s SIGSTOP notify-osd

Create another sh file and continueNotification.sh and paste following line

killall -s SIGCONT notify-osd

Then goto system settings > keyboard and assign a shortcut for it.

Simple :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.