Installing jre7-openjdk prints this message:

when you use a non-reparenting window manager set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh

My WM is openbox, have I to edit the file?

  • 3
    /etc/profile.d is a weird place. The choice of window manager is a per-user setting. That means it should be set within the users home directory e.g. $HOME/.profile. – Marco Apr 13 '13 at 13:05

The re-parenting window manager article on Wikipedia strongly implies that openbox is a reparenting wm:

Virtually all modern window managers are re-parenting, although earlier window managers, such as the uwm window manager, were not. Exceptions to that rule are awesome, dwm, PLWM, ratpoison and xmonad, due to a lack of any typical window decorations used by these window managers, and also Compiz which drew the decorations separately up until version 0.9.0, where it became a re-parenting window manager to allow it to run in a non-composited mode.


This is already answered (and goldilocks is right), but the answer isn't direct. To remedy this: No. Openbox is a reparenting WM. Just about any WM with "fancy" window borders is re-parenting. I know of no window manager with borders that is non-reparenting.

  • To make this even clearer: Xorg provides a simple form of "borders" that is not indicative of non-reparenting wms. If there's a simple {n}px border on all sides of a window (think dwm) it may not be reparenting. However, the sorts of borders that openbox (and most modern wms) draw require reparenting. – bbenne10 May 12 '15 at 19:11

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.