Skip to content

Commit 592f00a

Browse files
committed
fix(Linux): Fix missing ubuntu tray icon
1 parent 034162f commit 592f00a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ if (isSecondInstance) {
4848
app.exit();
4949
}
5050

51-
// Lets disable Hardware Acceleration until we have a better solution
52-
// to deal with the high-perf-gpu requirement of some services
53-
54-
// Disabled to test tweetdeck glitches
55-
// app.disableHardwareAcceleration();
51+
// Fix Unity indicator issue
52+
// https://github.com/electron/electron/issues/9046
53+
if (isLinux && ['Pantheon', 'Unity:Unity7'].indexOf(process.env.XDG_CURRENT_DESKTOP) !== -1) {
54+
process.env.XDG_CURRENT_DESKTOP = 'Unity'
55+
}
5656

5757
// Initialize Settings
5858
const settings = new Settings();

0 commit comments

Comments
 (0)