5

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

9

From https://bbs.archlinux.org/viewtopic.php?pid=1065196, 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
 ]
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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