[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Screen off/blanking



On Thu, Feb 28, 2013 at 08:44:26PM +1100, Jason White wrote:
> > 1. How to turn back on the screen (for both methods)? This might be
> > required on the fly when someone needs to see what I'm doing. 
> 
> setterm -blank poke
> should do this for the console, according to the manual page. I don't know
> about X in this regard.

Thanks. 

> > 3. I no setterm appears to be useless under a screen session. Does this
> > mean I'll just have to open another virtual console or drop out from the
> > screen session to toggle the screen on and off if I need too? 
> 
> When you're in a screen session, you're using a psudo-TTY. Setterm requires a
> real virtual console to set. You could try redirecting its output with the >
> operator to the virtual console, e.g., /dev/tty1.

Very nice idea, it works. 

Thanks for your help. 

Daniel 


Reply to: