postbird
postbird copied to clipboard
Linux .desktop shortcut needs tweaking
The postbird.desktop
file that is distributed in the .deb
and .rpm
packages labels postbird with a lowercase p and the icon doesn't appear to be packaged along with the relevant files resulting in a missing icon.
postbird.desktop
[Desktop Entry]
Name=postbird <--- Lowercase title
Exec=/opt/postbird/postbird %U
Terminal=false
Type=Application
Icon=postbird <--- Missing icon file, should reference a postbird.png
StartupWMClass=postbird
Comment=Postbird is a cross-platform PostgreSQL GUI client. Simple and efficient, with support of postgres specific features
MimeType=application/sql;x-scheme-handler/postgres;x-scheme-handler/postgresql;x-scheme-handler/postgres;x-scheme-handler/postgresql;x-scheme-handler/postgres;x-scheme-handler/postgresql;
Categories=Programming;
for anyone coming from google,
you should be able to find the desktop file here: /usr/share/applications/postbird.desktop
Reading the comment from @azerella about icon was a bit confusing for me, I believe the icon is entirely missing from the .deb package somehow or it is not put in the proper place where the desktop entry can read it. Edit: I did not read the headline carefully, azrella does mention that icon is missing.
For me to get the icon working, I had to clone this repo locally and copy the icon from ./build_files/icon.png to ~/.icons directory and that was sufficient to get it working. You may need to reload the desktop as described here