Posts

Showing posts with the label sleep

Making sure my linux system does not wake up on suspend

Had this annoying problem in my linux Xubuntu 20.04 when putting on suspend the system then starts even though I put it in suspend and sleep. Using acpitool to turn off wake-up from unnecessary devices. But the problem the change is not permanent and does not survive a restart. So I used cron @reboot to make sure it is always off: @reboot acpitool -W 3 && acpitool -W 9 && acpitool -W 10 && acpitool -W 17 && acpitool -W 63 && acpitool -W 64 && acpitool -W 66 && acpitool -W 68 && acpitool -W 74    

Fixing screen not waking up (xorg) on Ubuntu from command line

Sometimes after xubunutu screen is in hibernate mode the screen does not wake up. Open terminal ALT+CTRL+F1 (tty) Run:   sleep 5 && xrandr -d :0 --output 'eDP-1' --primary --auto Then switch fast back to the graphic mode (ALT+CTRL+F7) wait a few seconds for the screen to wake up. 'eDP-1' is the name of your screen You can see connected screens running     xrandr -d :0