I wanted to share my experience of trying to run the xset command at startup, I'm running Xfce and it has a autostart box that you can edit to run commands that didn't work. There's a rc.d script that I created it runs with onestart command since it's stating that the rcvar variable wasn't set on rc.conf which I made sure that both file matches the variable it was set to.
Then I came across posts suggesting to input the commands to ~/.xinitrc but that failed as well, second page down a user asks to input the command at the ~/.profile because the commands gets overwritten at boot up so that's what worked for me. If anyone can extend the reasoning why then it would help me understand how command gets executed in certain order as it feels like it was overwritten somewhere.
The purpose of all this is that my screen goes black and can't wake up through normal keyboard presses and had to login to virtual terminal on getting access back to the machine, however my other session is still running so I want to disable the screen from blanking out.
Then I came across posts suggesting to input the commands to ~/.xinitrc but that failed as well, second page down a user asks to input the command at the ~/.profile because the commands gets overwritten at boot up so that's what worked for me. If anyone can extend the reasoning why then it would help me understand how command gets executed in certain order as it feels like it was overwritten somewhere.
The purpose of all this is that my screen goes black and can't wake up through normal keyboard presses and had to login to virtual terminal on getting access back to the machine, however my other session is still running so I want to disable the screen from blanking out.