xset s noblank
xset s off
xset -dpms
Note: if you want to automatically disable screen blanking on Raspberry Pi during startup you have to sudo vim /etc/xdg/lxsession/LXDE-pi/autostart
appending the following lines:
+@xset -dpms
+@xset s off
+@xset s noblank