> For the complete documentation index, see [llms.txt](https://wiki.bryanpcoleman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.bryanpcoleman.com/raspberry-pi/raspbian-tweaks.md).

# Raspbian Tweaks

## Official 7-inch Screen

These are tweaks for modifying the way the *Raspberry Pi Official 7-inch Screen* displays its output.

### Change Screen Rotation

Edit the **/boot/config.txt** with the following:

```
sudo nano /boot/config.txt

// Place at top of file

lcd_rotate=2
```

Reboot the Raspberry Pi with the following command:

```
sudo reboot
```

### Change Screen Resolution

Change the default 800x480 resolution, editing the **/boot/config.txt** file with the following:

```
sudo nano /boot/config.txt

// change Frame Buffer Lines to the following:

framebuffer_width=1024
framebuffer_height=614
```

Reboot and check the resolution with this command:

```
fbset -s
```

These frame buffer sizes appear to be the best balance between quality and achievable resolution, but can be modified to suit a user's needs.
