Turn off screen after auto logoff

Hello,

I am really enjoying this distro but I have not figured out how to get my screen to go blank after auto logoff. How do I achieve this or direct me to the wiki area where I can read this. Thank you!

Please post the output of garuda-inxi.

Can you explain more specifically what you mean by this?

What is “auto logoff”?

Thanks for the response. Maybe I should have worded my question differently:

If you are in Dragonized KDE, and you press Ctrl+Alt+L to logoff, the screen that is shown next remains on indefinitley and I'd like it to turn off, maybe after 10 min or so. INXI Below....

Kernel: 5.17.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=177f7a3d-6e6d-42b1-9c91-f92c59f6972e rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3
Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.4 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: MAG Z490 TOMAHAWK (MS-7C80) v: 1.0
serial: <superuser required> UEFI: American Megatrends v: 1.A0
date: 10/19/2021
CPU:
Info: model: Intel Core i7-10700K bits: 64 type: MT MCP arch: Comet Lake
family: 6 model-id: 0xA5 (165) stepping: 5 microcode: 0xF0
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 5023 high: 5134 min/max: 800/5100 scaling:
driver: intel_pstate governor: performance cores: 1: 5001 2: 5002 3: 5089
4: 5121 5: 5002 6: 4947 7: 5002 8: 5002 9: 5002 10: 4980 11: 5134
12: 5085 13: 5001 14: 5001 15: 5001 16: 5001 bogomips: 121596
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: Micro-Star MSI driver: amdgpu v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2, DP-3, DVI-D-1
bus-ID: 01:00.0 chip-ID: 1002:67df class-ID: 0300
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1080 s-dpi: 96 s-size: 677x285mm (26.65x11.22")
s-diag: 735mm (28.92")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Viewteck GNV29CB built: 2020
res: 2560x1080 hz: 60 dpi: 96 gamma: 1.2 size: 680x288mm (26.77x11.34")
diag: 738mm (29.1") modes: max: 2560x1080 min: 720x400
OpenGL: renderer: AMD Radeon RX 570 Series (polaris10 LLVM 13.0.1 DRM
3.44 5.17.7-zen1-1-zen)
v: 4.6 Mesa 22.0.3 direct render: Yes
Audio:
Device-1: Intel Comet Lake PCH cAVS vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel
alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:06c8 class-ID: 0403
Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aaf0 class-ID: 0403
Sound Server-1: ALSA v: k5.17.7-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e
v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 4000 bus-ID: 03:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Device-3: Realtek RTL8812AE 802.11ac PCIe Wireless Network Adapter
driver: rtl8821ae v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:8812 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
Bluetooth:
Device-1: Realtek type: USB driver: btusb v: 0.8 bus-ID: 1-1:2
chip-ID: 0bda:a725 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
Local Storage: total: 931.51 GiB used: 11.27 GiB (1.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 2B2QEXE7
temp: 42.9 C scheme: GPT
Partition:
ID-1: / raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 11.24 GiB (11.5%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 29.5 MiB (30.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 11.24 GiB (11.5%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-4: /var/log raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 11.24 GiB (11.5%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-5: /var/tmp raw-size: 97.66 GiB size: 97.66 GiB (100.00%)
used: 11.24 GiB (11.5%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.54 GiB used: 2.2 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 27.8 C pch: 44.0 C mobo: N/A gpu: amdgpu
temp: 54.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 195
Info:
Processes: 383 Uptime: 8h 41m wakeups: 0 Memory: 15.54 GiB
used: 4.01 GiB (25.8%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1488 lib: 357 Shell: fish
v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.15
Garuda (2.6.3-2):
System install date:     2022-05-15
Last full system update: 2022-05-15 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper (maybe)
Failed units:

Your post was edited to add code formatting to the terminal output, which you can do by adding three tildes (~) before and after the output
~~~
like this.
~~~

Unfortunately, that screen (SDDM) doesn't follow the settings you specify in "Power Management" because those settings are assigned to a specific user. When you are on the SDDM screen, the user profile hasn't been loaded yet.

You are supposed to be able to configure this by editing a config file:

sudo micro /etc/systemd/logind.conf

Thirty or forty lines down there are these lines:

#IdleAction=ignore
#IdleActionSec=30min

If you delete the "#" and change "ignore" to "suspend" (and specify the duration you want) that is supposed to initiate suspend after the specified idle time. However, I do see there are a couple issues open here and here related to it not working for some reason. I just tried it on my machine and couldn't get it to work.

All that to say, I'm afraid I do not have the answer to your question. Hopefully someone else can chime in with a solution.

Welcome to the community! :slightly_smiling_face:

5 Likes

Thank you for the tips on how to add code formatting.

And thank for trying this on your own machine! It is just as easy for me to switch off the monitor when I am done with my sessions. Maybe this is something that developers will add in future updates...

Thanks BluishHumility. You do make me feel welcomed to the community!!!

2 Likes

I have found using hdmi to connect to the monitor, the monitor will time out and shutdown after powering down your computer.
A vga connector does not do that.

Thanks artb!

You are in luck, I presume. Mine is using an HDMI KVM. Maybe it is due to a difference in GPU cards or displays themselves. Mine is a Radian GPU and my display is made by VIOTEK. I've not been really impressed with this monitor. DP has already died within a year! Maybe I need to go over my monitor.

Just a thought if you go into monitor timer settings and turn off sleep the monitor may cooperate and shut down the way you want. instead of say after an hour. My monitor is a wallmart 32 inch rca I got on sale. Nothing special.

System:
  Kernel: 5.17.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=15449417-b8af-455f-ac34-892500896455 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: GNOME v: 42.1 tk: GTK v: 3.24.33 wm: gnome-shell dm: GDM v: 42.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: Hewlett-Packard product: HP Compaq Elite 8300 SFF
    v: N/A serial: <superuser required> Chassis: type: 4
    serial: <superuser required>
  Mobo: Hewlett-Packard model: 3397 serial: <superuser required>
    UEFI: Hewlett-Packard v: K01 v03.06 date: 02/12/2018
CPU:
  Info: model: Intel Core i5-3470 bits: 64 type: MCP arch: Ivy Bridge
    family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 1596 min/max: 1600/3600 scaling: driver: intel_cpufreq
    governor: powersave cores: 1: 1596 2: 1596 3: 1596 4: 1596 bogomips: 25541
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: disabled, RSB filling
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 730] vendor: ASUSTeK driver: nvidia
    v: 470.103.01 alternate: nouveau,nvidia_drm pcie: gen: 1 speed: 2.5 GT/s
    lanes: 4 link-max: gen: 2 speed: 5 GT/s lanes: 8 bus-ID: 01:00.0
    chip-ID: 10de:1287 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
    compositor: gnome-shell driver: X: loaded: nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1024x768 s-dpi: 96 s-size: 271x203mm (10.67x7.99")
    s-diag: 339mm (13.33")
  Monitor-1: HDMI-0 res: 1024x768 hz: 60 dpi: 63
    size: 410x230mm (16.14x9.06") diag: 470mm (18.51") modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GK208 HDMI/DP Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: gen: 2 speed: 5 GT/s lanes: 8 bus-ID: 01:00.1
    chip-ID: 10de:0e0f class-ID: 0403
  Sound Server-1: ALSA v: k5.17.5-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard
    driver: e1000e v: kernel port: f040 bus-ID: 00:19.0 chip-ID: 8086:1502
    class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
    driver: btusb v: 0.8 bus-ID: 1-1.1:3 chip-ID: 0a12:0001 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 447.13 GiB used: 61.47 GiB (13.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: A-Data model: SU635 size: 447.13 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: 4c18 scheme: GPT
Partition:
  ID-1: / raw-size: 446.83 GiB size: 446.83 GiB (100.00%)
    used: 61.47 GiB (13.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 446.83 GiB size: 446.83 GiB (100.00%)
    used: 61.47 GiB (13.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 446.83 GiB size: 446.83 GiB (100.00%)
    used: 61.47 GiB (13.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 446.83 GiB size: 446.83 GiB (100.00%)
    used: 61.47 GiB (13.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.3 GiB used: 2.5 MiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 42 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 264 Uptime: 3h 33m wakeups: 0 Memory: 31.3 GiB
  used: 3.64 GiB (11.6%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: 1450 pacman: 1437 lib: 371 flatpak: 13
  Shell: fish v: 3.4.1 running-in: kitty inxi: 3.3.15
e[1;34mGaruda (2.6.2-1):e[0m
e[1;34m  System install date:e[0m     2022-05-03
e[1;34m  Last full system update:e[0m 2022-05-07 e[1;31m↻
e[1;34m  Is partially upgraded:  e[0m No
e[1;34m  Relevant software:      e[0m NetworkManager
e[1;34m  Windows dual boot:      e[0m No/Undetected
e[1;34m  Snapshots:              e[0m Snapper
e[1;34m  Failed units:           e[0m 

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.