/etc/X11/Xsession.d/55awesome-javaworkaround is in awesome 4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | # If we are running the awesome, expose it to Java as a non-reparenting window
# manager. Cf. bug #508650.
BASESTARTUP=$(basename "$STARTUP" | cut -d\ -f1)
if [ "$BASESTARTUP" = x-window-manager ]; then
BASESTARTUP=$(basename $(readlink /etc/alternatives/x-window-manager))
fi
if [ "$BASESTARTUP" = "awesome" ]; then
_JAVA_AWT_WM_NONREPARENTING=1; export _JAVA_AWT_WM_NONREPARENTING
fi
|