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

Rename Linux .desktop file #933

Closed
ludenticus opened this Issue Jun 6, 2018 · 17 comments

Comments

Projects
None yet
4 participants
@ludenticus
Contributor

ludenticus commented Jun 6, 2018

The Wayland compositor requires to change the desktop file name in order to map the window icon. So, instead of QOwnNotes.desktop, it has to be PBE.QOwnNotes.desktop, as PBE is the organizationDomain. See the porting changes here.

@pbek pbek added the enhancement label Jun 6, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Jun 6, 2018

Thank you for mentioning, I'm not sure what renaming it has for existing installations.

@stobbsm

This comment has been minimized.

Contributor

stobbsm commented Jun 11, 2018

Where as flatpak requires icons and desktop files to be in the reverse dns format of "org.qownnotes.QOwnNotes".
Not having an icon issue in the flatpak on fedora 28 wayland.

@pbek

This comment has been minimized.

Owner

pbek commented Jun 11, 2018

Where as flatpak requires icons and desktop files to be in the reverse dns format of "org.qownnotes.QOwnNotes".

what needs to be done?

Not having an icon issue in the flatpak on fedora 28 wayland.

you don't have issues?

pbek added a commit that referenced this issue Jun 12, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Jun 12, 2018

I hope this doesn't make troubles...

18.06.2

  • the desktop file QOwnNotes.desktop was renamed to PBE.QOwnNotes.desktop
    for the Wayland compositor (for #933)

@pbek pbek added this to the 18.06.2 milestone Jun 12, 2018

@pbek

This comment has been minimized.

Owner

pbek commented Jun 12, 2018

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

@pbek

This comment has been minimized.

Owner

pbek commented Jun 12, 2018

Damn, on Manjaro (via AUR) I now have two menu entries for QOwnNotes and one of them doesn't work. :(

EDIT: could be a not working snap installation too

@pbek

This comment has been minimized.

Owner

pbek commented Jun 13, 2018

@cal2195 from which repository do you have QOwnNotes installed and do you get two menu entries for QOwnNotes? On KDE Neon it seems I now have two, one for the snap, one for the launchpad installation.

@cal2195

This comment has been minimized.

Contributor

cal2195 commented Jun 13, 2018

I'm on a Mac atm, but I use it on my Arch machine at home! I'll have a check later, although I'm using i3 there.

@pbek

This comment has been minimized.

Owner

pbek commented Jun 13, 2018

Ok, thank you @cal2195. I assume you are using the AUR too then.

@cal2195

This comment has been minimized.

Contributor

cal2195 commented Jun 13, 2018

Yep - pretty sure that's the way I chose to install it!

@ludenticus

This comment has been minimized.

Contributor

ludenticus commented Jun 13, 2018

In gnome-shell I can add QON to the dash as a Favorite. It launches the program, but then it shows another instance. I think that this kind of issue was solved in Xorg via WMClass, but it changed in Wayland. I found out something regarding the Application ID. Let me see if I can post some info.

@ludenticus

This comment has been minimized.

Contributor

ludenticus commented Jun 13, 2018

BTW, I used to install it via AUR, but now I found that archlinuxcn has binaries and I avoid the hassle of compiling. ;)

@pbek

This comment has been minimized.

Owner

pbek commented Jun 13, 2018

I also create binaries for Arch using the open build service...

@pbek

This comment has been minimized.

Owner

pbek commented Jun 18, 2018

It launches the program, but then it shows another instance.

what other instance? is it started a 2nd time? you can turn that off in the QON settings

@ludenticus

This comment has been minimized.

Contributor

ludenticus commented Jun 22, 2018

I customized the .desktop file icon and app name, like this. Under the gnome-shell search dash there is no other QON app. Picked as favorite, the dock shows my selected icon/name. However, after launching it (either via dash, dock or terminal), this option is ignored and, instead, the «regular» QOwnNotes .desktop file is shown. That's what I meant when speaking about another «instance». I'm not sure whether this is a QON issue or a qt/Wayland issue.

@pbek

This comment has been minimized.

Owner

pbek commented Jun 22, 2018

Maybe your dash shows some icon from inside the application? I guess that's a "feature" of the dash...

@pbek

This comment has been minimized.

Owner

pbek commented Sep 10, 2018

Great, Gnome seems to need the old desktop file name. See: #1019

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