It requires root for nvidia-settings but fails each time I make my own autostart on systemd

  • robzombie91OP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago
    [Unit]
    Description=NVIDIA Fan Control on Wayland Arch
    After=graphical-session.target
    
    [Service]
    ExecStart=sudo /home/rob/Documents/fan.sh
    User=root
    
    [Install]
    WantedBy=default.target