I need to start a command on startup. I want to run this command:
xgamma -gamma 0.70
I have used Startup Applications but it doesn't work. I have put the command in the Startup Applications:
I need to start a command on startup. I want to run this command:
xgamma -gamma 0.70
I have used Startup Applications but it doesn't work. I have put the command in the Startup Applications:
Thanks, pomsky I have found a way to make it after doing these steps
set-xgamma.sh
somewhereadd the following lines to the file:
#!/bin/bash
sleep 7
xgamma -gamma 0.70
and save the file.
Make the script executable.
crontab -e
@reboot sh $HOME/set-gamma.sh &
there with your file pathCreate a shell script for the command. Create a new text file, say set-xgamma.sh
somewhere and add the following lines to the file:
#!/bin/bash
xgamma -gamma 0.70
and save the file.
set-xgamma.sh
file you just created.
man echo
. – user535733 Dec 22 '18 at 03:32