chrisknepper / android-messages-desktop

Android Messages as a Cross-platform Desktop App
MIT License
1.01k stars 117 forks source link

App icon doesn't behave properly on Linux #75

Open jbforth4 opened 6 years ago

jbforth4 commented 6 years ago

The app icon from the dock will not launch the app nor minimize or maximize the application. It really provides no functionality that I can tell. The app icon in the tray does work as intended. I can launch the app from the application's folder or launcher but when it is saved as a favorite and in dock is will not launch. It shows up as duplicate once launched and neither icon provides any functionality. screenshot from 2018-07-31 15-49-23

OS: Ubuntu 18.04 using dash to dock.

subulaz commented 6 years ago

This is easy to fix on your local system - edit the .desktop launcher (typically /usr/share/applications/android-messages-desktop.desktop) and add the line StartupWMClass=Android Messenger

I'm not familiar with the electron-builder framework but if anyone knows where to commit that change I'm happy to do so.

aia832003 commented 5 years ago

Also have this often with electron apps and can confirm that @subulaz has the fix for Gnome Shell.