Page 1 of 1

Turning off laptop display from command line

Posted: Mon Dec 14, 2020 5:25 am
by wale3411
Hi All,
I have set up an old Sony VIAO laptop as my Amahi server. All access is through the web portal or the command prompt on my Windows PCs. I'd like to be able to shut down the laptop display so that it is not on 24/7. I only have the command line. No GUI installed (that I'm aware of). I haven't tried to install Gnome (I gather it causes problems with the DHCP functions)
After a bit of trawling this is what I've tried so far:
Installed X server utilities - ok
Tried to run [xset -display :0.0 dpms force off] but got [-bash: xset: command not found}
Then tried [dnf install xorg-xset] and [yum install xorg-xset] under root user but in both case got 'No match for argument: xorg-set' 'Error: Unable to find match'
Would appreciate any guidance on the best approach to controling the display of the laptop.
Many Thanks

Re: Turning off laptop display from command line

Posted: Mon Dec 14, 2020 9:36 am
by bigfoot65
I only have the command line. No GUI installed (that I'm aware of). I haven't tried to install Gnome (I gather it causes problems with the DHCP functions)
Yes that is correct. Do not install a desktop environment or you will break your HDA.
Would appreciate any guidance on the best approach to controling the display of the laptop.
The Amahi wiki might help. There is a lot of how to's and such there.

Re: Turning off laptop display from command line

Posted: Tue Dec 15, 2020 12:11 am
by wale3411
Thanks for the steer BF. It's so far got me editing config files which has been useful but nothing specific on switching off the display as yet. I'll keep digging and report back is I turn up anything.

Re: Turning off laptop display from command line

Posted: Tue Dec 15, 2020 9:09 am
by bigfoot65
No problem. Hope you find the solution.

If so, we can update the wiki guidance.