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

Missing application shortcut on linux #1475

Closed
MulverineX opened this issue Oct 11, 2023 · 9 comments
Closed

Missing application shortcut on linux #1475

MulverineX opened this issue Oct 11, 2023 · 9 comments
Assignees
Labels
kind/bug Something isn't working status/needs-triage

Comments

@MulverineX
Copy link

Describe the bug

Upon installation, no .desktop file is generated & provided.

Reproduction

No response

Expected behavior

No response

Platform and versions

PopOS 22.04 (system76 ubuntu jammy flavor)

Stack trace

No response

Additional context

No response

@MulverineX MulverineX added kind/bug Something isn't working status/needs-triage labels Oct 11, 2023
@MulverineX MulverineX changed the title Application shortcut on linux Missing application shortcut on linux Oct 11, 2023
@krunalcodes
Copy link

krunalcodes commented Oct 11, 2023

Can confirm this happens on Ubuntu 22.04 as well. Any work arounds for now? @MulverineX

@MulverineX
Copy link
Author

MulverineX commented Oct 11, 2023

afaict not any good ones, I'd rather not screw up my distro. If I happen upon a decent workaround I'll post it here. @imkrunal

One thing that the team could opt to do for now is to release with flatpak, that way using a sandboxed libssl1.1

Edit:
Oh shoot, I thought this was the libssl issue on accident. 🤣

This would be very easy to work around yes, simply make a .desktop file yourself

@HeavenVolkoff HeavenVolkoff self-assigned this Oct 11, 2023
@HeavenVolkoff
Copy link
Member

Is this happening when using the .appimage or the .deb release?

Flatpak's release is planned, but due to it not being natively supported by tauri, it will require some work and is low priority for the moment, hope to have it done by beta release

@krunalcodes
Copy link

I have used the .deb release.

@HeavenVolkoff
Copy link
Member

Odd, when I tested the .deb it did create a .desktop file. However, there are currently other issues with the .deb release, so this is probably one more. I will close this issue in favor of #1512, because it is where I am centralizing all the .deb release issues

@joezhouchenye
Copy link

Ubuntu 22.04.

The .desktop file is indeed created in /usr/share/applications. However, it should be created in ~/.local/share/applications instead.

@HeavenVolkoff
Copy link
Member

@joezhouchenye The correct location for .desktop files when installed by system packages is /usr/share/applications. ~/.local/share/applications is exclusively for user installed programs, outside the distribution package manager.

https://www.debian.org/doc/debian-policy/ch-opersys.html#menus
https://wiki.archlinux.org/title/Desktop_entries#Application_entry

@joezhouchenye
Copy link

Then, some permission or owner problem I think. I cannot find it in the application menu on Ubuntu 22.04.

image

The owner and permission look different from other .desktop files in /usr/share/applications

@joezhouchenye
Copy link

I managed to get it shown in the application menu by copying it to the user applications folder and using chown and chmod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working status/needs-triage
Projects
None yet
Development

No branches or pull requests

4 participants