Open shubhamshuklaer opened 8 years ago
By default there is no error message, so it just seems like that the plugin is not working. I couldn't find a better place to document it, so I put it here. Maybe someone else can put it at its correct place.
I think it will be enough to write that EWMH(extended window manager hints) is needed for the plugin. People can find how to enable EWMH in xmonad on google.
I noticed that i3 has similar limitations. xdotool windowactivate only works if the windows (vim and browser) are opened on the same hierarchical level (e.g. side-by-side).
You can place this info somewhere for people facing the same problem
For xmonad window manager
xdotool windowactivate
gives errorYour windowmanager claims not to support _NET_ACTIVE_WINDOW, so the attempt to activate the window was aborted.
The solution is to use XMonad.Hooks.EwmhDesktops in your xmonad configuration file.
Useful links https://mail.haskell.org/pipermail/xmonad/2008-November/006770.html https://mail.haskell.org/pipermail/xmonad/2008-November/006773.html http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-EwmhDesktops.html http://www.ohspite.net/posts/keepass-global-autotype-in-xmonad/