Disable Blank Screen on Idle
Oliver
ofabelo at gmail.com
Fri Mar 1 09:09:09 UTC 2019
Hi,
I've found solution. My problem in all moment is not passing -display
parameter to xset command. Solution:
xset -display :0.0 -dpms
xset -display :0.0 s off
xset -display :0.0 s noblank
I think that first command is enough, as I'm not using screensaver. I've
put these commands in the openbox "autostart" script and it is automated
from boot now.
With xset -q -display :0.0 I can see too current configuration, screensaver
to no and dpms disabled.
Thanks!
Cheers...
El jue., 28 feb. 2019 a las 13:35, Oliver (<ofabelo at gmail.com>) escribió:
> No, I'm sorry. Explaining me better now. I need run the solution via
> command line but the problem is with X environment.
> I'm adding xset s off and xset s -noblank to my system xinitrc file but
> not working.
> Thanks beforehand.
>
> El jue., 28 feb. 2019 a las 13:16, Ken D'Ambrosio (<ken at jots.org>)
> escribió:
>
>> On 2019-02-28 07:17, Oliver wrote:
>>
>> Solution should be via command line, I'm sorry, I forgot say it in my
>> original mail. I run a VDI machine when I start X environment (so I don't
>> see X from Linux). In the VDI machine, it is configured for never turn off
>> the screen).
>>
>>
>>
>> Ah. In *that* case, forget X: "setterm -blank 0". Throw it in your
>> .bashrc to disable at login. Or "consleblank=0" appended to your Linxu
>> kernel line or GRUB_CMDLINE_LINUX_DEFAULT= .
>>
>> -Ken
>>
>>
>>
>>
>> Thanks beforehand...
>>
>> El jue., 28 feb. 2019 a las 12:12, Liam Proven (<lproven at gmail.com>)
>> escribió:
>>
>>> On Thu, 28 Feb 2019 at 13:08, Ken D'Ambrosio <ken at jots.org> wrote:
>>> >
>>> > * I'd suggest checking, through the GUI, your power and screensaver
>>> options.
>>>
>>> I'm not sure OpenBox *has* any!
>>>
>>> --
>>> Liam Proven - Profile: https://about.me/liamproven
>>> Email: lproven at cix.co.uk - Google Mail/Hangouts/Plus: lproven at gmail.com
>>> Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven
>>> UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
>>>
>>> --
>>> ubuntu-users mailing list
>>> ubuntu-users at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>
>>
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20190301/30dfee97/attachment.html>
More information about the ubuntu-users
mailing list