Turning off laptop display from command line
Posted: 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
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