3

I removing the title bar from Openbox by modifying the /openbox/rc.xml. I know that I can use keybinds for minimize, maximize, close, etc. But, can I drag the windows with the mouse like i did before?

4

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"/>
</mousebind>

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 Apr 13 '17 at 2:52
2

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. – Gilles 'SO- stop being evil' Apr 12 '17 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. – Marty Fried Apr 13 '17 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 Apr 8 '18 at 1:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy