I removed the title bar from Openbox by modifying the /openbox/rc.xml. I know that I can use keybindings to minimize, maximize, close, etc. But, how can I drag the windows with the mouse like I did before?

2 Answers 2


According to this Ubuntu forums post, add the following to your rc.xml file:

Re: window dragging in openbox

I think you would want to change (or add) a mousebind entry to the Mouse section of rc.xml with a different binding. Mine currently says this:

<mousebind button="A-Left" action="Drag">
<action name="Move"/>

Then you can move windows by dragging them while pressing Alt. To use the Super-drag instead use button="W-Left"

  • Thanks a lot! This works with the default configuration of rc.xml.
    – user224753
    Commented Apr 13, 2017 at 2:52
  • 1
    Just for clarification, in this case "Left" means left mouse button (not arrow keys), because of the mousebind keyword. Commented Aug 27, 2020 at 12:21

Not sure about Openbox, but most windows can be dragged by pressing the Alt key and dragging with the mouse anywhere in the window.

  • That depends on the window manager configuration. Does Openbox have this configuration by default? Steven's answer explains how to make Openbox do it. Commented Apr 12, 2017 at 23:11
  • @Gilles - I don't know if I have ever used Openbox, but I've used a lot of different window managers and distros, and it seems that most of them had this feature by default. I'm sure it's not 100% universal, but I thought it was worth a shot here. Commented Apr 13, 2017 at 18:18
  • 1
    It worked for me on openbox. A window was placed irregularly on the screen and no titlebar was available. Alt + drag worked for me as described in this answer.
    – Will Haley
    Commented Apr 8, 2018 at 1:21

You must log in to answer this question.