diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2022-10-22 21:10:21 +0200 |
---|---|---|
committer | ehmry <ehmry@posteo.net> | 2022-10-31 09:03:16 -0500 |
commit | 06e2c42ae411d57087217096cacb409ade96ac74 (patch) | |
tree | e32dba3fb496d4c6634b2bc9fd7319b0ce514a46 /pkgs | |
parent | 19d9ac28cc04047b2a7b9ed8a0c509f2d1d3d8d2 (diff) |
xpra: fix application icon location
This makes the icon visible in desktop environments. (Tested in GNOME).
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/X11/xpra/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/X11/xpra/default.nix b/pkgs/tools/X11/xpra/default.nix index b478ab4886bf0..dd94f5ad46a23 100644 --- a/pkgs/tools/X11/xpra/default.nix +++ b/pkgs/tools/X11/xpra/default.nix @@ -186,9 +186,14 @@ in buildPythonApplication rec { ) ''; - # append module paths to xorg.conf postInstall = '' + # append module paths to xorg.conf cat ${xorgModulePaths} >> $out/etc/xpra/xorg.conf + + # make application icon visible to desktop environemnts + icon_dir="$out/share/icons/hicolor/64x64/apps" + mkdir -p "$icon_dir" + ln -sr "$out/share/icons/xpra.png" "$icon_dir" ''; doCheck = false; |