diff --git a/src/index.js b/src/index.js index acae356eb..9c1f94f18 100644 --- a/src/index.js +++ b/src/index.js @@ -48,11 +48,11 @@ if (isSecondInstance) { app.exit(); } -// Lets disable Hardware Acceleration until we have a better solution -// to deal with the high-perf-gpu requirement of some services - -// Disabled to test tweetdeck glitches -// app.disableHardwareAcceleration(); +// Fix Unity indicator issue +// https://github.com/electron/electron/issues/9046 +if (isLinux && ['Pantheon', 'Unity:Unity7'].indexOf(process.env.XDG_CURRENT_DESKTOP) !== -1) { + process.env.XDG_CURRENT_DESKTOP = 'Unity' +} // Initialize Settings const settings = new Settings();