# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.bryanpcoleman.com/raspberry-pi/raspbian-tweaks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
