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

nexusmods-app won't start .desktop file #318567

Closed
Tracked by #331150
Ithvr opened this issue Jun 9, 2024 · 5 comments
Closed
Tracked by #331150

nexusmods-app won't start .desktop file #318567

Ithvr opened this issue Jun 9, 2024 · 5 comments
Labels
0.kind: bug Something is broken

Comments

@Ithvr
Copy link

Ithvr commented Jun 9, 2024

Describe the bug

I am unable to start nexusmods-app outside of ruining the executable file directly in the nix store folder (from the console).
I do not have any shortcut in the start menu (in KDE), and there is no path setup in for the console.
I do see that the .desktop file do set itself up under .local/share/applications/, btu I am getting the impression that it only deals with the URL handler.

Steps To Reproduce

Steps to reproduce the behavior:

  1. See description

Expected behavior

Being able to start for a shortcut or path.

Additional context

I have tested both the free and nonfree version

Notify maintainers

@l0b0

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.3, NixOS, 24.11 (Vicuña), 24.11pre636273.051f920625ab`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

@Ithvr Ithvr added the 0.kind: bug Something is broken label Jun 9, 2024
@MattSturgeon
Copy link
Contributor

MattSturgeon commented Sep 28, 2024

I do see that the .desktop file do set itself up under .local/share/applications/, but I am getting the impression that it only deals with the URL handler.

That is the intended purpose of that file, yes. However I think it can lead to issues when there's multiple desktop entries of the same name (in different locations).

Thankfully, the newer versions will not install a desktop entry at runtime. Instead the nix package will include a desktop entry that handles both launching and the URL mimetype.

However you'll still have to manually remove the old ~/.local/share/applications/com.nexusmods.app.desktop as it will override the new version's desktop entry.

@MattSturgeon
Copy link
Contributor

MattSturgeon commented Oct 3, 2024

Now that 0.6.1 has made it to nixos-unstable, I'm curious if this issue is resolved?

Note that the upgrade notes mentioned in #331150 are also required; in particular you must "uninstall" any app state before upgrading:

NexusMods.App uninstall-app

And you'll also need to remove the old desktop entries:

rm ~/.local/share/applications/*nexus*.desktop

@Ithvr
Copy link
Author

Ithvr commented Oct 3, 2024

@MattSturgeon Ah, I was waiting for 6.1 to hit unstable. The new version seems to have solved the issue.
Thank you for your hard work updating Nexus Mods.

@Ithvr Ithvr closed this as completed Oct 3, 2024
@Niedzwiedzw
Copy link

gui does not start for me

@l0b0
Copy link
Contributor

l0b0 commented Nov 23, 2024

gui does not start for me

Nothing we can do without more information. Please file a new issue with all the details mentioned in the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

4 participants