Post
Topic
Board Mining (Altcoins)
Re: [Mining OS] SimpleMining.net - Easiest way to mine and manage all your rigs !!!
by
tytanick
on 09/10/2019, 06:55:26 UTC
Is there a way to flip the display 180 deg using the smos shell commands?

Yes, is very simple using just one command:
echo 2 | sudo tee /sys/class/graphics/fbcon/rotate
This will rotate 180 deg the text console. Console preview in dashboard will be still normal

echo 0 | sudo tee /sys/class/graphics/fbcon/rotate
This will revert back to normal (0 deg rotation)

Please notice that will work only to first reboot.
You can add this to startup script /root/utils/rclocal, but with nearest rig update with this file your changes will be overwritten with default.

Small hint is add custom cron script in /etc/cron.d/yourfile that will not be everwrite by our rig updates.

More info on:
https://askubuntu.com/questions/237963/how-do-i-rotate-my-display-when-not-using-an-x-server/452772