DEV Community

Leon Nunes
Leon Nunes

Posted on

4 2

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

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay