Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdotool windowactivate does not work in xmonad window manager #37

Open
shubhamshuklaer opened this issue Apr 15, 2016 · 3 comments
Open

Comments

@shubhamshuklaer
Copy link

shubhamshuklaer commented Apr 15, 2016

You can place this info somewhere for people facing the same problem

For xmonad window manager xdotool windowactivate gives error

Your 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/

@shubhamshuklaer shubhamshuklaer changed the title xmonad xdotool windowactivate does not work xdotool windowactivate does not work in xmonad window manager Apr 15, 2016
@shubhamshuklaer
Copy link
Author

shubhamshuklaer commented Apr 15, 2016

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.

@shubhamshuklaer shubhamshuklaer changed the title xdotool windowactivate does not work in xmonad window manager xdotool windowactivate(by default) does not work in xmonad window manager Apr 16, 2016
@shubhamshuklaer shubhamshuklaer changed the title xdotool windowactivate(by default) does not work in xmonad window manager xdotool windowactivate does not work in xmonad window manager Apr 16, 2016
@shubhamshuklaer
Copy link
Author

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.

@pylipp
Copy link

pylipp commented Aug 29, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants