Linux: LXDE/OpenBox, Disable Mouse Scroll Wheel Hide Window

By Xah Lee. Date: . Last updated: .

In Linux, LXDE/OpenBox, when your mouse is on a window's title bar, rolling the scroll wheel will hide it.

Here's how to disable that feature.

Edit the file at ~/.config/openbox/lxde-rc.xml

Remove the following lines:

<mousebind button="Up" action="Click">
  <action name="Shade"/>
  <action name="FocusToBottom"/>
  <action name="Unfocus"/>
  <action name="Lower"/>
</mousebind>
<mousebind button="Down" action="Click">
  <action name="Unshade"/>
  <action name="Raise"/>
</mousebind>

reload/refresh key config file:

# reload lxde's config file at ~/.config/openbox/lxde-rc.xml
openbox-lxde --reconfigure