![bash 스크립트, debian 8 자동 시작 [닫기]](https://linux55.com/image/8428/bash%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%2C%20debian%208%20%EC%9E%90%EB%8F%99%20%EC%8B%9C%EC%9E%91%20%5B%EB%8B%AB%EA%B8%B0%5D.png)
배쉬 스크립트
#!/bin/sh
xflux -l 55 -g 37
Debian 8에서 정확하게 자동 시작하는 방법은 무엇입니까? 즉, "Startap Application" 명령을 통해
그놈 터미널 -e /path_to_script/script.sh
작동하지 않습니다
답변1
나는 이것이 귀하의 사용 사례를 다루고 있다고 생각합니다.
그리고 .desktop 파일을 생성하여 다음 위치에 넣는 작업이 포함됩니다 ~/.config/autostart
.
예를 들어
[Desktop Entry]
Name=MyScript
GenericName=A descriptive name
Comment=Some description about your script
Exec=/path/to/my/script.sh
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true