Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to prevent notifyd notifications from taking focus in Xmonad and XFCE?

share|improve this question

From, add doIgnore for Xfce4-notifyd in your ManageHook. See below in xmonad.hs:

import XMonad
import XMonad.Config.Xfce
import XMonad.Hooks.ManageHelpers

main = xmonad xfceConfig {
, manageHook = myManageHook <+> manageHook xfceConfig

myManageHook = composeAll
  , className =? "Xfce4-notifyd" --> doIgnore
share|improve this answer
Is this possible in Ubuntu with Unity ? – Stefanos Kalantzis Nov 14 '13 at 22:46
I don't use Ubuntu, but looks like people are finding success install XMonad on Ubuntu if that's what you're asking – Lionel Nov 15 '13 at 4:37
Sorry for not clarifying, I meant how to prevent applications from taking focus. I have only found the opposite, telling compiz which applications to "remove" from the focus stealing defence mechanism. – Stefanos Kalantzis Nov 15 '13 at 8:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .