Hello fellow nixOS users
Since the new version of bitwig-studio from nixos unstable the gtk file dialog isn’t working anymore.
While I can manually run it from the command line like that:
[I] ➜ /nix/store/vwhrcd9jiy0gc3jb2b60v4p02qibikdy-bitwig-studio-4.0.1/libexec/bin/show-file-dialog-gtk3
(show-file-dialog-gtk3:202979): dconf-WARNING **: 17:40:44.620: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
... more of these warnings
/tmp/xxx/alacritty.yml
When I try to open it from the app I am getting that error:
This command is not for general use and should only be run as the result of a call to
ProcessBuilder.start() or Runtime.exec() in a java application
[2021-08-14 16:34:17.437 x11-windowing-system error] Error launching show file dialog command:
com.bitwig.base.io.ProcessException: Error retrieving localized message for exception class com.bitwig.base.io.ProcessException java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key ProcessException.message
at com.bitwig.base.io.RKn.Fep(SourceFile:412)
at com.bitwig.base.io.RKn.Fep(SourceFile:105)
at com.bitwig.x11_windowing_system.X11FileDialog.OgE(SourceFile:206)
at com.bitwig.x11_windowing_system.X11FileDialog.bWD(SourceFile:32)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Cannot run program "/nix/store/vwhrcd9jiy0gc3jb2b60v4p02qibikdy-bitwig-studio-4.0.1/libexec/bin/show-file-dialog-gtk3": error=0, Failed to exec spawn helper: pid: 617783, exit value: 1
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at com.bitwig.base.io.RKn.Fep(SourceFile:129)
... 4 more
Caused by: java.io.IOException: error=0, Failed to exec spawn helper: pid: 617783, exit value: 1
at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
at java.base/java.lang.ProcessImpl.<init>(Unknown Source)
at java.base/java.lang.ProcessImpl.start(Unknown Source)
... 7 more
All the resources I have found with similar problems recommend adding something like that to the package but the bitwig-studio package already has these
nativeBuildInputs = [
wrapGAppsHook
];
buildInputs = [
gtk3
];
not sure what this does:
dontWrapGApps = true; # we only want $gappsWrapperArgs here
but it’s not working without.
Woud be great if someone could give me a pointer.
Thanks