xdg-desktop-icon: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/xdg-desktop-icon - from package: xdg-utils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/xdg-desktop-icon - from package: xdg-utils

You may install the required package with command apt-get install {package}
Error in other languages:
xdg-desktop-icon: bevel nie gevind nie
xdg-desktop-icon: comandă negăsită
xdg-desktop-icon: comando não encontrado
xdg-desktop-icon: commande introuvable
xdg-desktop-icon: command not found
xdg-desktop-icon: käsku ei ole
xdg-desktop-icon: không tìm thấy lệnh
xdg-desktop-icon: komanda nerasta
xdg-desktop-icon: Kommando nicht gefunden.
xdg-desktop-icon: kommandot finns inte
xdg-desktop-icon: komut yok
xdg-desktop-icon: nie znaleziono polecenia
xdg-desktop-icon: níor aimsíodh an t-ordú
xdg-desktop-icon: no se encontró la orden
xdg-desktop-icon: no s'ha trobat l'ordre
xdg-desktop-icon: opdracht niet gevonden
xdg-desktop-icon: parancs nem található
xdg-desktop-icon: perintah tidak ditemukan
xdg-desktop-icon: príkaz nenájdený
xdg-desktop-icon: příkaz nenalezen
xdg-desktop-icon: команда не найдена
xdg-desktop-icon: командата не е открита
xdg-desktop-icon: 命令找不到
xdg-desktop-icon: コマンドが見つかりません