Skip to content

Instantly share code, notes, and snippets.

@RidaAyed
Last active March 25, 2018 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RidaAyed/a9e16e56cfece11870ce16b7555e6d42 to your computer and use it in GitHub Desktop.
Save RidaAyed/a9e16e56cfece11870ce16b7555e6d42 to your computer and use it in GitHub Desktop.

Change resolution in tty console

I wanted my external screen to work in it's correct resolution while being on the console (without Xorg).

Here's what I've done to get it work:

  1. On boot select Hardware info and look for your desired resolution code e.g. 895
  2. Edit /boot/syslinux/syslinux.cfg
  3. Add vga=895 to the APPEND line in your appropriate block

Example

Old value: APPEND root=/dev/sda1 rw
New value: APPEND root=/dev/sda1 rw vga=895

In case you'd like to rotate the screen counterclockwise (pivot):
$ echo 3 | sudo tee /sys/class/graphics/fbcon/rotate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment