sudo nano /etc/lightdm/lightdm.conf
tambah comand line berikut dibawah section [SeatDefaults]
# don't sleep the screen
xserver-command=X -s 0 dpms
save nano anda dan reboot.
Jika masih tidak berjaya, iaitu screen masih sleep selepas beberapa minit, boleh cuba kaedah ini pula.
sudo apt-get update
sudo apt-get install xscreensaver
Kemudian masuk sofware xscreensaver tersebut dan disable
tambah comand line berikut dibawah section [SeatDefaults]
# don't sleep the screen
xserver-command=X -s 0 dpms
save nano anda dan reboot.
Jika masih tidak berjaya, iaitu screen masih sleep selepas beberapa minit, boleh cuba kaedah ini pula.
sudo apt-get update
sudo apt-get install xscreensaver
Kemudian masuk sofware xscreensaver tersebut dan disable




