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

Ubuntu gnome desktop file name #1019

Closed
bios-ben opened this Issue Sep 10, 2018 · 7 comments

Comments

Projects
None yet
3 participants
@bios-ben

bios-ben commented Sep 10, 2018

Expected behaviour

Add to favorites button works in ubuntu 18.

Actual behaviour

Add to favorites missing.

Steps to reproduce

Open app and right click in dock to see missing menu, try renaming solution and now it shows.

Version 18.09.01

After reading stack exchange I found that desktop links cannot be added to favorites unless their file name matches the window name. Checking into this it seems the file is named PBE.QOwnNotes.desktop and when renamed to QOwnNotes.desktop the problem is fixed, as per the above link. However, I did find #933 that caused this rename to happen in the first place. Is it possible to get the default desktop link named properly to work in ubuntu?

@pbek

This comment has been minimized.

Owner

pbek commented Sep 10, 2018

You have researched the problem pretty well. Unfortunately I have no secret information on how to make it work in both conditions, please let me know if you find anything out!

@PaulVanSchayck

This comment has been minimized.

PaulVanSchayck commented Oct 17, 2018

I also ran into this, and can confirm this temporary workaround:

sudo mv /usr/share/applications/PBE.QOwnNotes.desktop /usr/share/applications/QOwnNotes.desktop
@pbek

This comment has been minimized.

Owner

pbek commented Oct 17, 2018

That was the previous name, see #933.
I will try adding StartupWMClass=QOwnNotes to the desktop file in the next release. Can you please try using the PBE.QOwnNotes.desktop and adding above line to it and report if that works.

@PaulVanSchayck

This comment has been minimized.

PaulVanSchayck commented Oct 17, 2018

Yup, this also seems to works! Thanks for that

@pbek

This comment has been minimized.

Owner

pbek commented Oct 17, 2018

awesome!

@pbek pbek added enhancement and removed question labels Oct 17, 2018

@pbek pbek added this to the 18.10.3 milestone Oct 17, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Oct 18, 2018

18.10.3

  • fixed QOwnNotes favorite button in Gnome dash

pbek added a commit that referenced this issue Oct 18, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Oct 18, 2018

There now is a new release, could you please test it and report if it works for you?

@pbek pbek closed this Oct 24, 2018

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