How do i disable hibernation and sleep?

I’m using kde and my trackpad stops working after hibernation causing me to have to reboot.

How do I disable hibernation and sleep on kde?

check power settings, mate.

1 Like

There is a nice HowTo disable hibernation here: https://forum.manjaro.org/t/howto-disable-turn-off-hibernate-completely/8033

For sleep, as @Zaiakursed said.

2 Likes

I use

sudo systemctl mask suspend.target hibernate.target sleep.target
3 Likes