diff options
author | Luca Tringali <tringalinvent@libero.it> | 2019-01-22 19:14:01 +0100 |
---|---|---|
committer | Luca Tringali <tringalinvent@libero.it> | 2019-01-22 19:14:01 +0100 |
commit | f728342b730a236dd6e648e3f0dfee1028dbd293 (patch) | |
tree | 139783742f65a9b50166fc57df8572ed07d2cf7c | |
parent | 4c8de2f02ce8b8252a41c0246705778d90adb389 (diff) |
raspi-config
-rw-r--r-- | autologin.sh | 4 | ||||
-rwxr-xr-x | termostato.py | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/autologin.sh b/autologin.sh index 939b57a..f7135b3 100644 --- a/autologin.sh +++ b/autologin.sh @@ -46,3 +46,7 @@ chown $username:$username /home/$username/appstart sudo systemctl disable sddm.service sudo usermod -a -G tty $username sudo usermod -a -G video $username + +echo "Don't forget to turn off Splash Screen under Boot section" +read +sudo raspi-config diff --git a/termostato.py b/termostato.py index a91af56..55f38fc 100755 --- a/termostato.py +++ b/termostato.py @@ -12,14 +12,12 @@ except: try: from tkinter import messagebox messagebox.showinfo("Installazione, attendi prego", "Sto per installare le librerie grafiche e ci vorrà del tempo. Premi Ok e vai a prenderti un caffè.") - pip.main(["install", "--index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/", "pyside2", "--trusted-host", "download.qt.io"]) - #pip install --index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/ pyside2 --trusted-host download.qt.io - #pip install PySide2 + pip.main(["install", "PySide2"]) from PySide2.QtWidgets import QApplication except: try: from pip._internal import main - main(["install", "--index-url=http://download.qt.io/snapshots/ci/pyside/5.9/latest/", "pyside2", "--trusted-host", "download.qt.io"]) + main(["install", "PySide2"]) from PySide2.QtWidgets import QApplication except: sys.exit(1) |