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

Gnome3 .desktop file problem #2452

Closed
z49x2vmq opened this issue Feb 6, 2020 · 6 comments
Closed

Gnome3 .desktop file problem #2452

z49x2vmq opened this issue Feb 6, 2020 · 6 comments
Labels
bug It's a bug

Comments

@z49x2vmq
Copy link

z49x2vmq commented Feb 6, 2020

After installing 1.0.179, Joplin is not shown in gnome's application list.

The Joplin icon is back when I remove version string, "1.0.179.940", from "appimagekit-joplin.desktop" file.

Environment

Joplin version: 1.0.179
Platform: Linux
OS specifcs: Fedora 31

Steps To Reproduce

  1. Install or upgrade Joplin as guided in joplinapp.org

Describe what you expected to happen:
Joplin application menu item(Application Icon) is created in gnome's application list

Logfile

@z49x2vmq z49x2vmq added the bug It's a bug label Feb 6, 2020
@nezartarbin
Copy link

nezartarbin commented Feb 6, 2020

This may be related:
I built the same version from source, but executing the resulting .AppImage file does nothing.

Here is a relevant discussion:
https://discourse.joplinapp.org/t/appimage-from-current-master-not-running-on-linux/5667

@miciasto
Copy link
Contributor

miciasto commented Feb 6, 2020

FYI that discussion is more about the current development version which is having a few build issues.

This discussion might be more relevant to 1.0.179:
https://discourse.joplinapp.org/t/unable-to-start-1-0-179-on-linux/5373

@thearchivalone
Copy link
Contributor

thearchivalone commented Feb 6, 2020

I don't know if this will solve your issue or not, but I created an unofficial patch that can't be currently merged into the main code due to it directly altering the AppImage and whatnot outside of being built from source. Just replace the version name with v1.0.179 in the instructions and you should be good to go.

#2332 (comment)

There's also this, which may be useful too. Nice find, @laurent22

@domhnallw
Copy link

I've hit the same error as @z49x2vmq on my Ubuntu 18.04 x86-64 desktop.

The .desktop file gets created, but it's got the version number inserted as the last line on its own rather than being a key-value pair:

[Desktop Entry]
Encoding=UTF-8
Name=Joplin
Comment=Joplin for Desktop
Exec=/home/<redacted>/.joplin/Joplin.AppImage
Icon=joplin
StartupWMClass=Joplin
Type=Application
Categories=Office;
1.0.179.940

If you try to use update-desktop-database to get Gnome to re-examine the file, it reports:

Could not parse file "/home/<redacted>/.local/share/applications/appimagekit-joplin.desktop": Key file contains line ?1.0.179.940? which is not a key-value pair, group, or comment

The culprit seems to be a reference to $APPIMAGE_VERSION here, but I don't know enough about .desktop files to know if this is incomplete or what.

I know removing this last line in the file makes Gnome happy and that all of a sudden I get a desktop icon.

Hope this helps.

@harmlessdrudge
Copy link

Also with a fresh install on Linux Mint 19.3 using wget.
I got the icon by deleting the last line.
Last line on a .175 version installed on another machine is
X-AppImage-BuildId=1UhCx8mcsln5JbH9RzSLD1tiHsy

@mrwulf
Copy link
Contributor

mrwulf commented Feb 12, 2020

Fixed by #2479

@tessus tessus closed this as completed Feb 15, 2020
@lock lock bot locked and limited conversation to collaborators Feb 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

8 participants