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

How to change resolution of virtual terminal?

+2
−1

How can I rescale the Linux virtual terminals (ctrl + alt + {f1, f2, f3, f4, f5, f6}), so that a high-resolution display doesn't make the letters too small?

I'd like to use 1080 or even 720 resolution in virtual terminals (and only there; I want native resolution in ctrl + alt + f7).

If that matters, I use Debian Trixie.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

2 answers

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.

+2
−0

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 and 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, 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.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Font size was the solution (1 comment)
+2
−0

This isn't exactly what you asked, but the letters-too-small problem could also be solved by using a larger console font.

Here is a decent overview of how to change console fonts, though I don't know which of the console-setup and the vconsole.conf approaches is correct for your distribution.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Can't make it much larger with this approach (5 comments)

Sign up to answer this question »