Skip to content

Instantly share code, notes, and snippets.

@agingorange
Created July 25, 2022 06:18
Show Gist options
  • Save agingorange/ab557c37e05d65888fe0b4361fc64c7c to your computer and use it in GitHub Desktop.
Save agingorange/ab557c37e05d65888fe0b4361fc64c7c to your computer and use it in GitHub Desktop.
Make JetBrains apps work under a WM
---
For the window manager (here in bspwmrc):
# For java apps (Jetbrains)
export _JAVA_AWT_WM_NONREPARENTING=1
wmname LG3D &
---
In idea.properties of the JetBrains app (see URL):
# For running in a WM
# See: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000550879-Can-t-type-on-CLion-after-moving-focus-to-another-window-and-coming-back?page=1#community_comment_360001599439
suppress.focus.stealing=false
suppress.focus.stealing.disable.auto.request.focus=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment