kelyvin / Google-Messages-For-Desktop

A "native-like" OS X, Windows, & Linux desktop app for Google Messages
https://www.messagesfordesktop.com/
364 stars 50 forks source link

Ubuntu Shortcut Instructions Outdated or Incorrect #78

Open jeff-zimmerman opened 8 months ago

jeff-zimmerman commented 8 months ago

When using the desktop entry as provided on the main page under the Ubuntu Shortcut section, the following errors are produced:

$ desktop-file-validate ~/.local/share/applications/Android-Messages.desktop
/home/username/.local/share/applications/Android-Messages.desktop: error: value "1.0.0" for key "Version" in group "Desktop Entry" is not a known version
/home/username/.local/share/applications/Android-Messages.desktop: error: value "Internet;Application;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Internet"; values extending the format should start with "X-"
/home/username/.local/share/applications/Android-Messages.desktop: warning: value "Internet;Application;" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application"
/home/username/.local/share/applications/Android-Messages.desktop: hint: value "Internet;Application;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu

To correct for errors, the following desktop entry should be used:

[Desktop Entry]
Name=Google Messages
Version=1.0
Comment=Send and recieve messages from your Android Phone
Keywords=Message;Messaging;Android;SMS
Exec=/path/to/installfolder/GoogleMessages
Icon=/path/to/installfolder/resources/app/icon.png
Terminal=false
Type=Application
Categories=Network;InstantMessaging;Chat;
StartupWMClass=android-messages-nativefier-f3cfa3