# Hiya is there a easy way to shut off a laptop screen?

**URL:** <https://dietpi.com/forum/t/hiya-is-there-a-easy-way-to-shut-off-a-laptop-screen/25609>\
**Category:** General Discussion\
**Created:** [28 November 2026 20:30 UTC](https://dietpi.com/forum/t/hiya-is-there-a-easy-way-to-shut-off-a-laptop-screen/25609 "2026-11-28T20:30:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kannz](https://dietpi.com/forum/user_avatar/dietpi.com/kannz/32/4666_2.png) [@kannz](https://dietpi.com/forum/u/kannz)\
**Post date:** [28 November 2026 20:30 UTC](https://dietpi.com/forum/t/hiya-is-there-a-easy-way-to-shut-off-a-laptop-screen/25609/1 "2026-11-28T20:30:20Z")

</div>

testing out a oldish laptop with dietpi I was wondering if there was a easy way to get the screen to shut off or blank either through time or a command? haven’t tried this before as most of the things Ive used don’t have a screen.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [28 November 2026 21:21 UTC](https://dietpi.com/forum/t/hiya-is-there-a-easy-way-to-shut-off-a-laptop-screen/25609/2 "2026-11-28T21:21:12Z")

</div>

`dietpi-display` allows to disable a display permanently, if this is what you want.

Otherwise the `setterm` command can be used, like

```sh
setterm --powersave powerdown

```

or

```sh
setterm --blank force

```

Check its manual page for all it can do: [setterm(1) — util-linux — Debian trixie — Debian Manpages](https://manpages.debian.org/setterm)

---

<div class="post-metadata">

**Author:** ![kannz](https://dietpi.com/forum/user_avatar/dietpi.com/kannz/32/4666_2.png) [@kannz](https://dietpi.com/forum/u/kannz)\
**Post date:** [29 November 2026 01:08 UTC](https://dietpi.com/forum/t/hiya-is-there-a-easy-way-to-shut-off-a-laptop-screen/25609/3 "2026-11-29T01:08:30Z")

</div>

says terminal xterm does not support --blank. i don’t want it permanent. is there a temporary thing?

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [29 November 2026 01:28 UTC](https://dietpi.com/forum/t/hiya-is-there-a-easy-way-to-shut-off-a-laptop-screen/25609/4 "2026-11-29T01:28:12Z")

</div>

Try the other command, and see other options of `setterm` in the linked man page. These are all temporary changes.

---

<div class="post-metadata">

**Author:** ![StephanStS](https://dietpi.com/forum/user_avatar/dietpi.com/stephansts/32/2522_2.png) [@StephanStS](https://dietpi.com/forum/u/StephanStS)\
**Post date:** [29 November 2026 11:14 UTC](https://dietpi.com/forum/t/hiya-is-there-a-easy-way-to-shut-off-a-laptop-screen/25609/5 "2026-11-29T11:14:51Z")

</div>

I am actually using an old Macbook Pro (Late 2014) for testing with xfce graphical desktop.  
There I had to install the [xfce power manager](https://dietpi.com/docs/software/desktop/#xfce-power-manager) and additionally the hibernate package (`apt install hibernate`).  
With the power manager and the hibernate package, I can set the standby state by pressing the on/off key resp. by closing the lid.

Do you use a graphical desktop?

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [29 November 2026 12:07 UTC](https://dietpi.com/forum/t/hiya-is-there-a-easy-way-to-shut-off-a-laptop-screen/25609/6 "2026-11-29T12:07:55Z")

</div>

I was assuming no GUI, i.e. bare Linux console. From a desktop environment, there are various different ways, including the native button and lid behavior Stephan described. Also from terminal emulator, DPMS power savings mode via `xset` from the `x11-xserver-utils` package:

```auto
xset dpms force off

```

- [xset(1) — x11-xserver-utils — Debian trixie — Debian Manpages](https://manpages.debian.org/xset)

And alternative from bare Linux console seems to be `vbetool` from the same-named package: [vbetool(8) — vbetool — Debian trixie — Debian Manpages](https://manpages.debian.org/vbetool)

```sh
sudo apt install vbetool
vbetool dpms off

```
