-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
goxlr-utility desktop entry starts daemon instead of opening utility #331319
Comments
For anyone else who would like this behaviour as a workaround or if this issue is closed as unplanned: pkgs.goxlr-utility.overrideAttrs (oldAttrs: {
postInstall = builtins.replaceStrings ["--replace goxlr-launcher goxlr-daemon"] [""] oldAttrs.postInstall;
}); |
Weird, I have no memory why I would have done that. I'll try to remember to fix it when I get home. Thanks for reporting it! |
@different-name looked into this and now I remember why I changed this when I created the package. The reason was this nixpkgs/pkgs/build-support/make-startupitem/default.nix Lines 17 to 35 in 50d494e
With the original .desktop file it opened default browser with the goxlr interface automatically after each boot. Looking at it now it seems that Anyways, that's the reasoning why I originally changed it. Should be somewhat simple to fix. I'll think about what would be the cleanest way a bit and add a fix once I'm done. |
Solution suggested in #332757 |
Describe the bug
The goxlr-utility package changes the functionality of the desktop entry. Instead of opening the web interface, it instead starts the daemon.
Expected behavior
The original functionality of the desktop entry should be kept, as currently, the only way to open the web interface is:
The goxlr-daemon command only starts the daemon in the background, strange for a desktop entry
Due to the nature of goxlr-utility, it makes sense to have this program start with the system in most use cases, there's also an option provided by the goxlr-utility nixos module that is enabled by default to autostart the utility
Additional context
Here is the relevant code:
nixpkgs/pkgs/tools/audio/goxlr-utility/default.nix
Lines 53 to 55 in 52ec9ac
@errnoh
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: