Install by Package Manager vbetool for your puppy. Edit with geany /root/.jwm/jwmrc-personal inserting the following two lines:
Code: Select all
<Key mask="C" key="F10">exec:screensaveron</Key>
<Key mask="C" key="F11">exec:screensaveroff</Key>
Put in /usr/bin the following two script screensaveron:
Code: Select all
#!/bin/sh
#xset dpms force off
#setterm -powersave on
vbetool dpms off
and scrensaveroff:
Code: Select all
#!/bin/sh
#xset dpms force on
#setterm -powersave off
#vbetool dpms off
vbetool dpms on
Give them execute permissions. Restart jwm. Now pushing Ctrl-F10 and Ctrl-F11 you can turn on and off the screen in any situation even in console noX.