HGL
flat-fuchsia

.desktop file is not working (NixOS - Gnome)

when I run the game from the Heroic launcher it woks fine but when running it outside it doesn't launch. I went inside the desktop file and copied the Exec argument and run it directly from the console and I got:
[USER@nixos:~]$ xdg-open heroic://launch/legendary/0a2d9f6403244d12969e11da6713137b
gio: heroic://launch/legendary/0a2d9f6403244d12969e11da6713137b: The specified location is not supported
[USER@nixos:~]$ xdg-open heroic://launch/legendary/0a2d9f6403244d12969e11da6713137b
gio: heroic://launch/legendary/0a2d9f6403244d12969e11da6713137b: The specified location is not supported
8 Replies
rare-sapphire
rare-sapphire2y ago
Are you using the Heroic package from nixpkgs?
flat-fuchsia
flat-fuchsiaOP2y ago
yes
CommandMC
CommandMC2y ago
The Nix package is not official; it seems like something is going wrong when registering our heroic:// protocol
rare-sapphire
rare-sapphire2y ago
OK, then please create a GitHub issue, on nixpkgs, for this: https://github.com/NixOS/nixpkgs/issues/new/choose
flat-fuchsia
flat-fuchsiaOP2y ago
what do I do here: Notify maintainers <!-- Please @ people who are in the meta.maintainers list of the offending package or module. If in doubt, check git blame for whoever last touched something. --> should I just @ you
rare-sapphire
rare-sapphire2y ago
Just @ me, yeah.
flat-fuchsia
flat-fuchsiaOP2y ago
okay thanks
rare-sapphire
rare-sapphire2y ago
Issue link for anyone else who finds this thread: https://github.com/NixOS/nixpkgs/issues/273608
GitHub
Heroic protocol not working · Issue #273608 · NixOS/nixpkgs
Describe the bug So basically when I try launching games from the Heroic launcher nothing happens. When I checked the .desktop file, Exec set to: xdg-open heroic://launch/legendary/0a2d9f6403244d12...

Did you find this page helpful?