desktop2menu: 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/desktop2menu - from package: devscripts

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