I know very little about Ubuntu. Enough to make my own persistent instance of the OS on a flashdrive I keep with me, and enough to navigate and move/copy/delete/make directories/install/update, but I have absolutely NO clue how to even begin with using Upstart.
I have a PC at work that runs Ubuntu 16.04, it's connected to a display that's oriented in portrait, but the only way to properly format the content it's running is to run sudo xrandr -o left
every single morning. This is obviously not ideal.
I can follow directions very well, but I would be so so so thrilled if someone could walk me through how to handle something like this from the beginning. As it stands, I have Upstart installed on that PC and a test PC I can use to try things on until I get back to that work space early next week.
Thank you guys so much for your time!
.desktop
file withExec=xrandr -o left
should do the trick. Why did you usesudo
for that? – dessert Oct 05 '17 at 13:05sudo
because the OS of the system is modified quite a bit to fit the role it's being used for. It's not a standard desktop, and roughly half the time if I don't do it assudo
then sometimes it will lose the display in the middle of the switch and not change at all, as if it's being reconnected in the middle. I'll give this a shot. Thank you so much! – Shocknoble Oct 05 '17 at 13:11sudo
you can usekdesudo
orgksudo
respectively, they will ask for your password. – dessert Oct 05 '17 at 13:29xrandr
in/etc/rc.local
will FAIL every time -xrandr
needs a running X server, which hasn't been started at the time/etc/rc.local
is executed. Context! – waltinator Oct 05 '17 at 14:11