Talk:DaVinci Resolve: Difference between revisions
Line 16: | Line 16: | ||
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. | ||
<syntaxhighlight lang="nix"> | |||
xdg.desktopEntries.davinci-resolve = { | |||
name = "Davinci Resolve"; | |||
genericName = "Video Editor"; | |||
comment = "Professional video editing, color, effects and audio post-processing"; | |||
exec = | |||
let | |||
script = pkgs.writeShellScriptBin "resolve-wrapper" '' | |||
#!/bin/sh | |||
qdbus org.kde.kded6 /kded org.kde.kded6.unloadModule appmenu | |||
exec ${pkgs.davinci-resolve}/bin/davinci-resolve "$@" | |||
qdbus org.kde.kded6 /kded org.kde.kded6.loadModule appmenu | |||
''; | |||
in | |||
"${script}/bin/resolve-wrapper %U"; | |||
icon = "davinci-resolve"; | |||
type = "Application"; | |||
categories = [ | |||
"AudioVideo" | |||
"AudioVideoEditing" | |||
"Video" | |||
"Graphics" | |||
]; | |||
}; | |||
</syntaxhighlight> | |||
Another solution is setting it with home.file but this felt more nix like using home-manager's available options[[User:Sophimoo|Sophimoo]] ([[User talk:Sophimoo|talk]]) 20:42, 19 September 2025 (UTC) | |||
Another solution is setting it with home.file but this felt more nix like using home-manager's available options [[User:Sophimoo|Sophimoo]] ([[User talk:Sophimoo|talk]]) 20:42, 19 September 2025 (UTC) |