Turning off laptop display from command line

wale3411
Posts: 4
Joined: Mon Dec 14, 2020 1:12 am

Turning off laptop display from command line

Postby wale3411 » Mon Dec 14, 2020 5:25 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Turning off laptop display from command line

Postby bigfoot65 » Mon Dec 14, 2020 9:36 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wale3411
Posts: 4
Joined: Mon Dec 14, 2020 1:12 am

Re: Turning off laptop display from command line

Postby wale3411 » Tue Dec 15, 2020 12:11 am

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Turning off laptop display from command line

Postby bigfoot65 » Tue Dec 15, 2020 9:09 am

No problem. Hope you find the solution.

If so, we can update the wiki guidance.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 4 guests