cd /var/www/html/jobran/indicadores/ php yii serve --docroot "backend/web" en esta ruta: /usr/local/sbin/ajustes_pantalla.sh crear: bajar la temperatura de color de la pantalla: #!/bin/bash # Ajustar temperatura de color sct 2450 # Ajustar brillo con xcalib xcalib -co 80 -a Crea un archivo de servicio para systemd en /etc/systemd/system/, por ejemplo: sudo nano /etc/systemd/system/ajustes_pantalla.service codigo: [Unit] Description=Servicio de ajustes de pantalla After=network.target [Service] Type=simple ExecStart=/usr/local/sbin/ajustes_pantalla.sh Restart=on-failure [Install] WantedBy=multi-user.target Guarda y cierra el archivo. Recarga systemd para detectar el nuevo servicio: sudo systemctl enable ajustes_pantalla.service sudo systemctl restart ajustes_pantalla.service reducir brillo de pantalla: xcalib -co 80 -a verificar el estado del servicio: systemctl status ajustes_pantalla.service
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter