mathoudebine / turing-smart-screen-python

Unofficial Python system monitor and library for small IPS USB-C displays like Turing Smart Screen or XuanFang
GNU General Public License v3.0
966 stars 166 forks source link

It doesn't start when the PC starts #486

Closed DJRoby19 closed 2 months ago

DJRoby19 commented 4 months ago

I changed distro from linux mint to Nobara linux kde. the problem that it doesn't start at startup in the logs I have this

13/03/2024 20:13:59 [INFO] Loading theme Material_Dark_Full_Landscape from res/themes/Material_Dark_Full_Landscape/theme.yaml 03/13/2024 8:13:59 PM [DEBUG] HW revision: A 03/13/2024 8:13:59 PM [DEBUG] Auto detected COM port: /dev/ttyACM0

roberto@nobara-pc:~$ systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION
● turing-smart-screen-python.service loaded failed failed Turing Smart Screen

LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed.

DJRoby19 commented 4 months ago

Fixed the problem under nobara 39 linux in the home page identify the .bash_profile file write these lines inside

cd /opt/turing-smart-screen-python nohup python3 main.py &

obviously the folder must be under opt