volumio / volumio-plugins

165 stars 750 forks source link

Touch Display - screen rotations #29

Open escoand opened 8 years ago

escoand commented 8 years ago

A nice feature would be an option for rotating the screen.

protenhan commented 7 years ago

I'm also having this issue. The solution is to add lcd_rotate=2 to /boot/config.txt

You need to add this line by connecting to your volumio machine through ssh. However be aware that every time you edit the playback settings of your DAC the config.txt file will get overwritten. I would like to contribute a setting for the touch screen plugin to rotate the screen but first the issue here https://github.com/volumio/Volumio2/issues/946 should be clarified.

colinleroy commented 5 years ago

Hi, I have written a little helper tool for that, which handles rotation from xorg instead of in-kernel for more portability. It has the advantages of handling 90° rotations, and don't need reboots (just xorg restart). Maybe that could be of some use to you folks, and would you be interested in a pull request using it for the touch screen plugin?

https://github.com/colinleroy/raspi-rotate