Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux .desktop shortcut needs tweaking #115

Open
azerella opened this issue Jun 8, 2020 · 1 comment
Open

Linux .desktop shortcut needs tweaking #115

azerella opened this issue Jun 8, 2020 · 1 comment

Comments

@azerella
Copy link

azerella commented Jun 8, 2020

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;

@prince-thind
Copy link

prince-thind commented Dec 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants