For the screen, you could use 'xset' : $ xset +dpms ; xset s blank ; xset s 120 very easy, isn't it. chao carlosb