Re: auto blanking screen is not working
On Mon 21 Apr 2014 at 12:49:43 +0100, Brian wrote:
> On Mon 21 Apr 2014 at 14:14:03 +0300, Andrei POPESCU wrote:
>
> > On Du, 20 apr 14, 14:26:02, Brian wrote:
> > >
> > > Screen blanking is completely under user control in Debian. First read
> > > xset(1). Then create the file ~/.xsessionrc and put the wanted commands
> > > in it. 'xset s dpms 10' might be worth a go.
> >
> > Depending on what you want to achieve :p
>
> Indeed. Hopefully the OP will combine reading the manual with a search
> on the web. Commands to tested can be run in a terminal before finally
> being committed to a file.
There are always gotchas, aren't there?
Whatever is set in ~/.xsessionrc may be undone by the window manager or
DE settings. The tested commands may work in a terminal but they could
be overridden during the bringing up of the X session. To illustrate:
'xset r off' works from an xterm in Xfce4; put it in ~/.xsessionrc and
it can be reversed by 'Enable key repeat' in Xfce4's keyboard settings.
If the WM or DE uses power management facilities 'xset s' may not work
in ~/.xsessionrc.
So it is quite possible the OP may have to look to getting screen
blanking to work within gnome3 using power management.
Reply to: