How to switch screens with the keyboard

I’m using a dual head setup without Xinerama. Is there I way to can move the focus from one screen to another without using the mouse? I’ve seen that WindowMaker can do this.


There isn’t at present. The only way you’re going to be able to do it, is create a key combination and a function which launches some sort of transient window, and then immediately uses the MoveToScreen option (to get the focus) and close the window.

It’s ugly, but it’s the only way I can think of at present.

– Thomas Adam

while the function is not available in fvwm you can code an XLib application for this and use a keycombo to call the app.
back in the days when i used fluxbox i’ve done something like this… can’t remember what it does exactly, but i’m willing to look it up for you, if you’re interested.

MoveToScreen seems to only be for Xinerama. In my configuration there are 2 copies of fvwm running (this is done automatically).

I guess I will have to look into Xlib.


jbi130 –

Does your config, with Xinerama and two copies of fvwm running, allow you to interact with your two monitors independent of each other? E.g., with this setup, are your monitors pretty much independent of each other?

You might find wmctrl useful for some of that. I haven’t looked at it in a while.

i’m using this little tool: works great.

Don’t know how I missed this post, but this little app works great. Thanks!