2

I would like a command to execute when my PC starts up. My OS is Ubuntu 18.04 LTS. The command is:

xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync && xrandr --addmode VGA-1 1920x1080_60.00 && xrandr --output VGA-1 --mode 1920x1080_60.00

It works perfectly when I execute it (from the Terminal) after the pc has booted up. I have tried various options (after internet searches) but can't get any of them to work - have tried both command line and GUI profferings - none has worked.

pomsky
  • 70,557
Duncan
  • 1,113

1 Answers1

3

You could try putting the command in /etc/rc.local.