Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A How to change resolution of virtual terminal?

I think that you have two options. The literal answer would be to pass video= to the kernel. For example, you could pass video=720x400 to run the framebuffer at a 720x400 resolution, assuming that...

posted 6mo ago by Canina‭

Answer
#1: Initial revision by user avatar Canina‭ · 2023-11-10T22:29:38Z (6 months ago)
I think that you have two options.

**The literal answer** would be to pass `video=` to the kernel. For example, you could pass `video=720x400` to run the framebuffer at a 720x400 resolution, assuming that the specified resolution is supported by your hardware. See [modedb default video mode support](https://docs.kernel.org/fb/modedb.html) and [Kernel Mode Setting: forcing modes](https://wiki.archlinux.org/title/Kernel_mode_setting#Forcing_modes). I'm not sure how this would interact with X or Wayland.

**The better answer** is probably still to set a larger font for the console virtual terminals, as modern displays provide the best experience when run at exactly their native resolution, whatever that happens to be in your case. You mentioned in a comment thread that [you can't make the font much larger](https://linux.codidact.com/comments/thread/8781), but I suspect that you're trying to also keep the `Fixed` font. Try editing /etc/default/console-setup to indicate something along the lines of

    CHARMAP="UTF-8"
    CODESET="Lat15"
    FONTFACE="TerminusBold"
    FONTSIZE="16x32"

and run /usr/bin/setupcon to apply the changes. (See also setupcon(1) for some command-line switches to make the changes less invasive while experimenting.) There's also Terminus (non-bold) if you prefer that. To determine the available font sizes, you can either run `dpkg-reconfigure console-setup` and go through the guide, or look in /usr/share/consolefonts; for example, on my Debian Bookworm system, I have these Lat15 TerminusBold fonts available:

* Lat15-TerminusBold14.psf.gz
* Lat15-TerminusBold16.psf.gz
* Lat15-TerminusBold18x10.psf.gz
* Lat15-TerminusBold20x10.psf.gz
* Lat15-TerminusBold22x11.psf.gz
* Lat15-TerminusBold24x12.psf.gz
* Lat15-TerminusBold28x14.psf.gz
* Lat15-TerminusBold32x16.psf.gz

which would map to size values of `14`, `16`, `18x10`, `20x10`, `22x11`, `24x12`, `28x14` and `32x16`. On present-day Debian, these fonts are provided by the `console-setup-linux` package which you should already have installed on your system.