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 button="Down" action="Click">
  <action name="Unshade"/>
  <action name="Raise"/>

reload/refresh key config file:

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

Linux Desktop Topic

  1. Linux: How to Switch to LXDE, Xfce
  2. Linux: LXDE Keyboard Shortcuts
  3. Linux: LXDE/Openbox, Change Keyboard Shortcuts
  4. Linux: LXDE Set Key Repeat Rate
  5. Linux: LXDE/OpenBox, Disable Mouse Scroll Wheel Hide Window
  6. Linux: Xfce Keyboard Shortcuts
  7. Linux: Xfce Good Themes
  8. Linux: xmonad Keybinding
  9. Why Tiling Window Manager Sucks (xmonad, ratpoison, dwm, …)

  1. Linux: Set Default App
  2. Linux: Shell Commands for GUI Apps
  3. Linux: Image Viewers
  4. Linux: Move File to Trash by Command

Mouse topic

  1. Linux: Mouse Hover to Auto-Raise Window
  2. Linux: Mouse Hover-Click
  3. Linux: Set Mouse Single-Click to Open File
  4. Linux: How to Set Mouse Speed
  5. Linux: How to Swap Mouse Buttons
  6. Linux: Set Trackball/Mouse Do Scroll
  7. Linux: Setup Accelerated Scroll and AutoScroll
  8. Linux: X11 Mouse Button Numbering

If you have a question, put $5 at patreon and message me.