unable to power off macbook display w/ ubuntu server
up vote
0
down vote
favorite
I have two macbooks, one running 16.04 server, another running 18.04 server. I'm trying to disable the monitors to save power
It seems setterm
is the command I should be using based on this power management doc and this post
If instead you're using the Linux console (not X-Windows), you'll want
to use setterm(1):
I've tried a couple of the commands to no avail
setterm --powersave on
setterm --half-bright on
setterm --powersave powerdown
Essentially nothing happens when I run these commands. I'm running them at a console on the laptop itself (not over SSH).
setterm --cursor off|on
do work, so I feel like setterm
is the right direction, but for some reason the power management options do nothing. Maybe there's something I could install that would fix that?
I was looking into disabling kernel modules as well, I've got the nouveau driver, when I run sudo rmmod -f nouveau
I get
rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'nouveau': Resource temporarily unavailable
rmmod: ERROR: could not remove module nouveau: Resource temporarily unavailable
I also tried changing the keyboard layout to a Macbook layout and using the built-in keys, but when I press the function key and the appropriate function key to change the brightness, it just acts as if I'm typing random characters into the terminal.
How can I power off my displays?
server power-management macbook
add a comment |
up vote
0
down vote
favorite
I have two macbooks, one running 16.04 server, another running 18.04 server. I'm trying to disable the monitors to save power
It seems setterm
is the command I should be using based on this power management doc and this post
If instead you're using the Linux console (not X-Windows), you'll want
to use setterm(1):
I've tried a couple of the commands to no avail
setterm --powersave on
setterm --half-bright on
setterm --powersave powerdown
Essentially nothing happens when I run these commands. I'm running them at a console on the laptop itself (not over SSH).
setterm --cursor off|on
do work, so I feel like setterm
is the right direction, but for some reason the power management options do nothing. Maybe there's something I could install that would fix that?
I was looking into disabling kernel modules as well, I've got the nouveau driver, when I run sudo rmmod -f nouveau
I get
rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'nouveau': Resource temporarily unavailable
rmmod: ERROR: could not remove module nouveau: Resource temporarily unavailable
I also tried changing the keyboard layout to a Macbook layout and using the built-in keys, but when I press the function key and the appropriate function key to change the brightness, it just acts as if I'm typing random characters into the terminal.
How can I power off my displays?
server power-management macbook
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have two macbooks, one running 16.04 server, another running 18.04 server. I'm trying to disable the monitors to save power
It seems setterm
is the command I should be using based on this power management doc and this post
If instead you're using the Linux console (not X-Windows), you'll want
to use setterm(1):
I've tried a couple of the commands to no avail
setterm --powersave on
setterm --half-bright on
setterm --powersave powerdown
Essentially nothing happens when I run these commands. I'm running them at a console on the laptop itself (not over SSH).
setterm --cursor off|on
do work, so I feel like setterm
is the right direction, but for some reason the power management options do nothing. Maybe there's something I could install that would fix that?
I was looking into disabling kernel modules as well, I've got the nouveau driver, when I run sudo rmmod -f nouveau
I get
rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'nouveau': Resource temporarily unavailable
rmmod: ERROR: could not remove module nouveau: Resource temporarily unavailable
I also tried changing the keyboard layout to a Macbook layout and using the built-in keys, but when I press the function key and the appropriate function key to change the brightness, it just acts as if I'm typing random characters into the terminal.
How can I power off my displays?
server power-management macbook
I have two macbooks, one running 16.04 server, another running 18.04 server. I'm trying to disable the monitors to save power
It seems setterm
is the command I should be using based on this power management doc and this post
If instead you're using the Linux console (not X-Windows), you'll want
to use setterm(1):
I've tried a couple of the commands to no avail
setterm --powersave on
setterm --half-bright on
setterm --powersave powerdown
Essentially nothing happens when I run these commands. I'm running them at a console on the laptop itself (not over SSH).
setterm --cursor off|on
do work, so I feel like setterm
is the right direction, but for some reason the power management options do nothing. Maybe there's something I could install that would fix that?
I was looking into disabling kernel modules as well, I've got the nouveau driver, when I run sudo rmmod -f nouveau
I get
rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'nouveau': Resource temporarily unavailable
rmmod: ERROR: could not remove module nouveau: Resource temporarily unavailable
I also tried changing the keyboard layout to a Macbook layout and using the built-in keys, but when I press the function key and the appropriate function key to change the brightness, it just acts as if I'm typing random characters into the terminal.
How can I power off my displays?
server power-management macbook
server power-management macbook
edited Nov 27 at 2:07
asked Nov 26 at 23:16
quickshiftin
188
188
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Try setterm -blank force
.
You can also try using xrandr
to set the brightness to 0. Use xrandr
to get your display name and do xrandr --output <display name here> --brightness 0
.
Related questions I found: https://unix.stackexchange.com/questions/366868/macbook-ubuntu-server-how-can-i-have-the-screen-turn-off-when-lid-closed-but-k
Manually turn off monitor
Edit: If that doesn’t work, try using DPMS to turn off your monitor. You can use xset
. Or, you can also use vbetool
although they seem to be the same.
sleep 3; xset dpms force off
(note: the sleep is needed so that it doesn’t turn back on which is a known bug with xset dpms force off
)
vbetool dpms off
I've triedsetterm -blank force
, but it doesn't power off the display, it just blanks it out. I also triedxrandr
, that is for X, which I'm not using.
– quickshiftin
Nov 27 at 1:22
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Try setterm -blank force
.
You can also try using xrandr
to set the brightness to 0. Use xrandr
to get your display name and do xrandr --output <display name here> --brightness 0
.
Related questions I found: https://unix.stackexchange.com/questions/366868/macbook-ubuntu-server-how-can-i-have-the-screen-turn-off-when-lid-closed-but-k
Manually turn off monitor
Edit: If that doesn’t work, try using DPMS to turn off your monitor. You can use xset
. Or, you can also use vbetool
although they seem to be the same.
sleep 3; xset dpms force off
(note: the sleep is needed so that it doesn’t turn back on which is a known bug with xset dpms force off
)
vbetool dpms off
I've triedsetterm -blank force
, but it doesn't power off the display, it just blanks it out. I also triedxrandr
, that is for X, which I'm not using.
– quickshiftin
Nov 27 at 1:22
add a comment |
up vote
0
down vote
Try setterm -blank force
.
You can also try using xrandr
to set the brightness to 0. Use xrandr
to get your display name and do xrandr --output <display name here> --brightness 0
.
Related questions I found: https://unix.stackexchange.com/questions/366868/macbook-ubuntu-server-how-can-i-have-the-screen-turn-off-when-lid-closed-but-k
Manually turn off monitor
Edit: If that doesn’t work, try using DPMS to turn off your monitor. You can use xset
. Or, you can also use vbetool
although they seem to be the same.
sleep 3; xset dpms force off
(note: the sleep is needed so that it doesn’t turn back on which is a known bug with xset dpms force off
)
vbetool dpms off
I've triedsetterm -blank force
, but it doesn't power off the display, it just blanks it out. I also triedxrandr
, that is for X, which I'm not using.
– quickshiftin
Nov 27 at 1:22
add a comment |
up vote
0
down vote
up vote
0
down vote
Try setterm -blank force
.
You can also try using xrandr
to set the brightness to 0. Use xrandr
to get your display name and do xrandr --output <display name here> --brightness 0
.
Related questions I found: https://unix.stackexchange.com/questions/366868/macbook-ubuntu-server-how-can-i-have-the-screen-turn-off-when-lid-closed-but-k
Manually turn off monitor
Edit: If that doesn’t work, try using DPMS to turn off your monitor. You can use xset
. Or, you can also use vbetool
although they seem to be the same.
sleep 3; xset dpms force off
(note: the sleep is needed so that it doesn’t turn back on which is a known bug with xset dpms force off
)
vbetool dpms off
Try setterm -blank force
.
You can also try using xrandr
to set the brightness to 0. Use xrandr
to get your display name and do xrandr --output <display name here> --brightness 0
.
Related questions I found: https://unix.stackexchange.com/questions/366868/macbook-ubuntu-server-how-can-i-have-the-screen-turn-off-when-lid-closed-but-k
Manually turn off monitor
Edit: If that doesn’t work, try using DPMS to turn off your monitor. You can use xset
. Or, you can also use vbetool
although they seem to be the same.
sleep 3; xset dpms force off
(note: the sleep is needed so that it doesn’t turn back on which is a known bug with xset dpms force off
)
vbetool dpms off
edited Nov 28 at 1:03
answered Nov 27 at 1:14
an actual toaster
1285
1285
I've triedsetterm -blank force
, but it doesn't power off the display, it just blanks it out. I also triedxrandr
, that is for X, which I'm not using.
– quickshiftin
Nov 27 at 1:22
add a comment |
I've triedsetterm -blank force
, but it doesn't power off the display, it just blanks it out. I also triedxrandr
, that is for X, which I'm not using.
– quickshiftin
Nov 27 at 1:22
I've tried
setterm -blank force
, but it doesn't power off the display, it just blanks it out. I also tried xrandr
, that is for X, which I'm not using.– quickshiftin
Nov 27 at 1:22
I've tried
setterm -blank force
, but it doesn't power off the display, it just blanks it out. I also tried xrandr
, that is for X, which I'm not using.– quickshiftin
Nov 27 at 1:22
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096319%2funable-to-power-off-macbook-display-w-ubuntu-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown