[openbox] keybind to move windows to second monitor

Johan Vromans jvromans at squirrel.nl
Fri Aug 17 03:42:19 EDT 2012

Mykola Dzham <i at levsha.org.ua> writes:

> http://openbox.org/wiki/Help:Actions#MoveResizeTo                                                                                      
>     <keybind key="W-Left">
>       <action name="MoveResizeTo">
>         <monitor>1</monitor>
>       </action>

I tried this, but I cannot get it to work.

I have two monitors and run openbox on each of them. I use the nvidia
proprietary driver that apparently does not use Xinerama/TwinView. This
is the screen section for one monitor from xorg.conf .

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: 1600x1200 +0+0"
    SubSection     "Display"
        Depth       24

Any idea how to get this setup working?

-- Johan

More information about the openbox mailing list