DEV Community

Leon Nunes
Leon Nunes

Posted on

Fixing Android Studio Blank/Grey screen in Linux + Picom

If you use Linux with Picom and transparency enabled, android studio is not going to work.

Initially when I installed it I got this
Blank screen of Android Studio

After struggling for few minutes I said lets check the compositor, and I reloaded it and for a second I saw the android studio... then it hit me it seems that Android Studio doesn't support rounded-corners and doesn't have a way to work around it and so I went in picom.conf and excluded
jetbrains-studio under the rounded-corners-exclude and also under transparency and opacity

rounded-corners-exclude = [
  "window_type = 'dock'",
  "window_type = 'desktop'",
  "window_type = 'tooltip'",
  "window_type = 'popup_menu'",
  "class_g = 'firefox'",
  "class_g = 'Brave-browser'",
  "class_g = 'LibreWolf'",
  "class_g = 'jetbrains-studio'"
];
Enter fullscreen mode Exit fullscreen mode

Android Studio

Top comments (0)