Talk:DaVinci Resolve: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
</syntaxhighlight>
</syntaxhighlight>
I'm not sure of the formal way nor the deeper workings of such drivers but the fix should be provided in the Wiki somehow in order to save people from the pain that I just went through :P
I'm not sure of the formal way nor the deeper workings of such drivers but the fix should be provided in the Wiki somehow in order to save people from the pain that I just went through :P
== Hotkeys not working while using the Global Menu widget on KDE ==


When using the global menu widget on kde, all hotkeys/inputs will be ignored while davinci resolve is the active window. Using the following home-manager xdg.desktop entry will fix this.
When using the global menu widget on kde, all hotkeys/inputs will be ignored while davinci resolve is the active window. Using the following home-manager xdg.desktop entry will fix this.
Line 20: Line 22:
     comment = "Professional video editing, color, effects and audio post-processing";
     comment = "Professional video editing, color, effects and audio post-processing";
     exec =
     exec =
    let
      let
         script = pkgs.writeShellScriptBin "resolve-wrapper" ''
         script = pkgs.writeShellScriptBin "resolve-wrapper" ''
        #!/bin/sh
          #!/bin/sh
        qdbus org.kde.kded6 /kded org.kde.kded6.unloadModule appmenu
          qdbus org.kde.kded6 /kded org.kde.kded6.unloadModule appmenu
        exec ${pkgs.davinci-resolve}/bin/davinci-resolve "$@"
          exec ${pkgs.davinci-resolve}/bin/davinci-resolve "$@"
        qdbus org.kde.kded6 /kded org.kde.kded6.loadModule appmenu
          qdbus org.kde.kded6 /kded org.kde.kded6.loadModule appmenu
         '';
         '';
    in
      in
    "${script}/bin/resolve-wrapper %U";
      "${script}/bin/resolve-wrapper %U";
     icon = "davinci-resolve";
     icon = "davinci-resolve";
     type = "Application";
     type = "Application";
     categories = [
     categories = [
    "AudioVideo"
      "AudioVideo"
    "AudioVideoEditing"
      "AudioVideoEditing"
    "Video"
      "Video"
    "Graphics"
      "Graphics"
     ];
     ];
};
};
</syntaxhighlight>
</syntaxhighlight>


Another solution is setting it with home.file but this felt more nix like using home-manager's available
Another solution is setting it with home.file but this felt more nix like using home-manager's available options
Return to "DaVinci Resolve" page.