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

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