mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
forgot one sudo
This commit is contained in:
parent
91e8ce62d4
commit
6d9675a299
@ -163,7 +163,7 @@ fi
|
|||||||
# Disable Screensaver
|
# Disable Screensaver
|
||||||
read -p "Do you want to disable the screen saver? (y/N)?" choice
|
read -p "Do you want to disable the screen saver? (y/N)?" choice
|
||||||
if [[ $choice =~ ^[Yy]$ ]]; then
|
if [[ $choice =~ ^[Yy]$ ]]; then
|
||||||
su -c "echo -e '@xset s noblank\n@xset s off\n@xset -dpms' >> /etc/xdg/lxsession/LXDE-pi/autostart"
|
sudo su -c "echo -e '@xset s noblank\n@xset s off\n@xset -dpms' >> /etc/xdg/lxsession/LXDE-pi/autostart"
|
||||||
export DISPLAY=:0; xset s noblank;xset s off;xset -dpms
|
export DISPLAY=:0; xset s noblank;xset s off;xset -dpms
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user