Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

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
 ]
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
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.