I am using an HP Laptop.nVidia GPU.
I can turn off my monitor but within 5 seconds it is back on.
DPMS used to work fine until wayland did something to it. So that is out.
1st solution:
Went into KDEs Energy Saing set the Screen switch off witch does turn off the monitor, but within 10secs it is back on. That means something is running that is turning it on.
2nd solution:
/bin/sleep 1 && /bin/dbus-send --session --print-reply --dest=org.kde.kglobalaccel /component/org_kde_powerdevil org.kde.kglobalaccel.Component.invokeShortcut string:'Turn Off Screen'
method return time=1663089705.627152 sender=:1.24 -> destination=:1.428 serial=1259 reply_serial=2
As you can see monitor got turned back on. Have no clue as to what that last line means, but is there any way to find out what keeps waking up my monitor.I do not want to lock my system just turn the monitor of while I am doing something else.
Operating System: Manjaro Linux
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 6.0.0-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070/PCIe/SSE2
Manufacturer: HP
Product Name: OMEN by HP Laptop 17-cb1xxx