Apr 1, 2018

Raspberry Pi - A Guide for Me

Danial
How to rotate display of Raspberry Pi?

sudo nano /boot/config.txt
Add one of these to the bottom:

display_rotate=0 Normal
display_rotate=1 90 degrees
display_rotate=2 180 degrees
NOTE: You can rotate both the image and touch interface 180ยบ by entering lcd_rotate=2 instead
display_rotate=3 270 degrees
display_rotate=0x10000 horizontal flip
display_rotate=0x20000 vertical flip

source: https://www.raspberrypi.org/forums/viewtopic.php?t=120793




For Raspbian Pixel desktop on VirtualBox,How to adjust screen display size in VirtualBox?
In VirtualBox, you need to install the Guest Additions before it will recognized any other resolutions.
  1. In VirtualBox, choose Insert Guest Additions CD image... from the Devices menu.
  2. Next, you'll need to install the Guest Additions in a Terminal window.
    sudo sh /media/cdrom/VBoxLinuxGuestAdditions.run
  3. Reboot.
  4. After rebooting, open a new Terminal and use the following command.
    lxrandr
  5. Choose your preferred resolution and enjoy!.

About the Author

Danial / Author & Editor

Danial is a techenthusiast with a background in Business Information Technology. He spends his time reading articles online from business to technology related. Does not shy away from doing dirty work and be involved in various tpyes of projects.

0 comments:

Post a Comment