xpra: fix application icon location
This makes the icon visible in desktop environments. (Tested in GNOME).
This commit is contained in:
parent
19d9ac28cc
commit
06e2c42ae4
1 changed files with 6 additions and 1 deletions
|
@ -186,9 +186,14 @@ in buildPythonApplication rec {
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# append module paths to xorg.conf
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
# append module paths to xorg.conf
|
||||||
cat ${xorgModulePaths} >> $out/etc/xpra/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;
|
doCheck = false;
|
||||||
|
|
Loading…
Reference in a new issue