Commit 06e2c42a authored by Bjørn Forsman's avatar Bjørn Forsman Committed by ehmry
Browse files

xpra: fix application icon location

This makes the icon visible in desktop environments. (Tested in GNOME).
parent 19d9ac28
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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;