I have a simple bash file script that sets proper resolution for my VM (1920x1080) in Linux Mint v18.1:
#!/bin/bash xrandr --newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr --addmode Virtual1 1920x1080 xrandr --output Virtual1 --mode 1920x1080`
Worth noting, I originally had this script living on my desktop, but I have since copied it to /etc/init.d/ but it still does not run without appending
bash -x before
./script.sh Can anyone tell me why this is and what I can do to fix it?
EDIT: I was just attempting to run the script incorrectly (I blame PowerShell):
.reso.sh: command not found
Once I ran it like so
./script.sh it works fine.