gtk-recordMyDesktop: 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/gtk-recordMyDesktop - from package: gtk-recordmydesktop

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

On Debian possible default full paths are:

/usr/bin/gtk-recordMyDesktop - from package: gtk-recordmydesktop

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