バッシュスクリプト
#!/bin/sh
xflux -l 55 -g 37
Debian 8で正確に自動起動するには?つまり、「Startap Application」コマンドを介して
GNOME端末-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