I also hit this problem. I think a preferable solution would be just to simply avoid copying the .desktop file if the destination dir does not exist.
This is fixed for a future update, thanks!
Aehm.. is it possible to turn that off? I do not want this .desktop-file on my Desktop. I've a clean Desktop.
When i edit the file, steam updates itself and the edited-file is overwritten with the orig. This sucks :-1:
Nothing extracted yet.
This is somewhat related to issue #655. I don't have any Desktop dir. I don't use any bundled desktop environment and I don't have any "desktop" as collection of icons with links.
/usr/bin/steamscript fails because of the same snippet as in #655:But for me the problem looks like this (
bash -x /usr/bin/steamoutput):The problem is that if the dir does not exist, script will copy steam.desktop file to ~/Desktop file. So it should either create the dir if it does not exist (
[ -d "$DESKTOP_DIR" ] || mkdir -p $DESKTOP_DIR) or fail earlier (add one / to the end of cp command:cp "/usr/share/applications/$STEAMPACKAGE.desktop" "$DESKTOP_DIR"/).