Kdenlive: Difference between revisions
Appearance
No edit summary |
m Minor code cleanup |
||
| Line 6: | Line 6: | ||
To work around this issue, add/append the following to you Nix/NixOS configuration file accordingly:<syntaxhighlight lang="nixos" line="1"> | To work around this issue, add/append the following to you Nix/NixOS configuration file accordingly:<syntaxhighlight lang="nixos" line="1"> | ||
# kdenlive-fix.nix | # kdenlive-fix.nix | ||
{ | { pkgs, ... }: | ||
}: | |||
{ | { | ||
# Fix for Kdenlive crash under GNOME | |||
# https://github.com/NixOS/nixpkgs/issues/469503 | |||
nixpkgs.overlays = [ | |||
(final: prev: { | |||
kdePackages = prev.kdePackages.overrideScope ( | |||
kfinal: kprev: { | |||
kdenlive = prev.symlinkJoin { | |||
inherit (kprev.kdenlive) | |||
pname | |||
version | |||
meta | |||
passthru | |||
; | |||
name = "kdenlive-crashfix"; | |||
paths = [ kprev.kdenlive ]; | |||
nativeBuildInputs = [ prev.makeWrapper ]; | |||
postBuild = '' | |||
wrapProgram $out/bin/kdenlive \ | |||
--prefix XDG_DATA_DIRS : "${prev.gtk3}/share/gsettings-schemas/${prev.gtk3.name}" | |||
''; | |||
}; | |||
} | |||
); | |||
}) | |||
]; | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 21:53, 28 September 2026
Fix for crashing on GNOME
As of NixOS 26.05, there is an issue with Kdenlive (version 26.04 as of time of writing) while running under GNOME, where Kdenlive will crash whenever a filepicker dialog is supposed to be opened along the lines of "Settings schema 'org.gtk.Settings.FileChooser' is not installed."
This has been reported on Github, with no fix at time of writing this article. However, you can work around this crash by using a nixpkgs overlay.
To work around this issue, add/append the following to you Nix/NixOS configuration file accordingly:
# kdenlive-fix.nix
{ pkgs, ... }:
{
# Fix for Kdenlive crash under GNOME
# https://github.com/NixOS/nixpkgs/issues/469503
nixpkgs.overlays = [
(final: prev: {
kdePackages = prev.kdePackages.overrideScope (
kfinal: kprev: {
kdenlive = prev.symlinkJoin {
inherit (kprev.kdenlive)
pname
version
meta
passthru
;
name = "kdenlive-crashfix";
paths = [ kprev.kdenlive ];
nativeBuildInputs = [ prev.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/kdenlive \
--prefix XDG_DATA_DIRS : "${prev.gtk3}/share/gsettings-schemas/${prev.gtk3.name}"
'';
};
}
);
})
];
}