desktop-file-edit: 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 Debian possible default full paths are:

/usr/bin/desktop-file-edit - from package: desktop-file-utils

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