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

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