So I have this script that changes the resolution of on of my monitors that works and that I was able to run on login by adding it in settings»Applications»Startup. The only problem is that I need it to run on start up so that the resolution changes before the os actually gets to the login screen because the login screen doesnt display on my other monitor because the monitor the script is made for is actually seen as primary (I assume it is because it is connected to DVI. How would I go about to do that? I am on Juno, can give more info if needed.
There are a couple of ways to do this. You can either create a cron job or add your script to
This site has more information:
UPDATE: After talking with Tin jus, it appears there's no rc.d/rc.local directory in elementary OS. According to the tecmint link, the
is valid even for systemd-based distributions.
A third method is running a startup script in systemd. More information can be found here: