Skip to content

Instantly share code, notes, and snippets.

@marpontes
Created October 5, 2017 12:40
Show Gist options
  • Save marpontes/23cec835ac161d8d66c4c65e0c283434 to your computer and use it in GitHub Desktop.
Save marpontes/23cec835ac161d8d66c4c65e0c283434 to your computer and use it in GitHub Desktop.
Pass --disable-gpu down to Electron apps on mac (Slack, Whatsapp, Trello, ...)

On my Macbook Pro (OS X El Capitan) I was having issues on Electron based apps. These apps had visual issues/glitches like blank screens, visual components showing only when hovering or transparent menus.

By opening with these comands, the problems disappeared.

open /Applications/Slack.app/ --args --disable-gpu
open /Applications/Trello.app/ --args --disable-gpu
open /Applications/Whatsapp.app/ --args --disable-gpu
@noritaka97
Copy link

open /Applications/Discord.app/ --args --disable-gpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment