Jump to content

Kdenlive: Difference between revisions

From Official NixOS Wiki
Noewaeda (talk | contribs)
No edit summary
Klinger (talk | contribs)
m Link, Description, Category:Applications
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Fix for crashing on GNOME ==
[https://kdenlive.org Kdenlive] is a video editor.
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 "<bdi>Settings schema 'org.gtk.Settings.FileChooser' is not installed</bdi>."


[https://github.com/NixOS/nixpkgs/issues/469503 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.
== Fix for crash while running under 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 file picker dialog is opened, logging an error message of "<bdi>Settings schema 'org.gtk.Settings.FileChooser' is not installed</bdi>".


To work around this issue, add/append the following to you Nix/NixOS configuration file accordingly:<syntaxhighlight lang="nixos" line="1">
[https://github.com/NixOS/nixpkgs/issues/469503 This has been reported on Github], with no fix at the time of writing this article. However, you can work around this crash by using a nixpkgs overlay.
 
To fix this crash, add the following to your configuration file:
 
<syntaxhighlight lang="nixos" line="1">
# kdenlive-fix.nix
# kdenlive-fix.nix
{
{ pkgs, ... }:
  config,
  lib,
  pkgs,
  ...
}:


{
{
   config = lib.mkMerge [
   # Fix for Kdenlive crash under GNOME
    # fix for Kdenlive crash under GNOME
  # https://github.com/NixOS/nixpkgs/issues/469503
    # ## https://github.com/NixOS/nixpkgs/issues/469503
  nixpkgs.overlays = [
    {
    (final: prev: {
      nixpkgs.overlays = [
      kdePackages = prev.kdePackages.overrideScope (
        (final: prev: {
        kfinal: kprev: {
          kdePackages = prev.kdePackages.overrideScope (
          kdenlive = prev.symlinkJoin {
            kfinal: kprev: {
            inherit (kprev.kdenlive)
              kdenlive = prev.symlinkJoin {
              pname
                inherit (kprev.kdenlive)
              version
                  pname
              meta
                  version
              passthru
                  meta
              ;
                  passthru
            name = "kdenlive-crashfix";
                  ;
            paths = [ kprev.kdenlive ];
                name = "kdenlive-crashfix";
            nativeBuildInputs = [ prev.makeWrapper ];
                paths = [ kprev.kdenlive ];
            postBuild = ''
                nativeBuildInputs = [ prev.makeWrapper ];
              wrapProgram $out/bin/kdenlive \
                postBuild = ''
                --prefix XDG_DATA_DIRS : "${prev.gtk3}/share/gsettings-schemas/${prev.gtk3.name}"
                  wrapProgram $out/bin/kdenlive \
            '';
                    --prefix XDG_DATA_DIRS : "${prev.gtk3}/share/gsettings-schemas/${prev.gtk3.name}"
          };
                '';
        }
              };
      );
            }
    })
          );
  ];
        })
      ];
    }
  ];
}
}
</syntaxhighlight>
</syntaxhighlight>
[[Category:Applications]]

Latest revision as of 22:13, 4 November 2026

Kdenlive is a video editor.

Fix for crash while running under 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 file picker dialog is opened, logging an error message of "Settings schema 'org.gtk.Settings.FileChooser' is not installed".

This has been reported on Github, with no fix at the time of writing this article. However, you can work around this crash by using a nixpkgs overlay.

To fix this crash, add the following to your configuration file:

# 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}"
            '';
          };
        }
      );
    })
  ];
}