mouse-dpi-tool: 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/mouse-dpi-tool - from package: libevdev-utils

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