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

Comments on How to change resolution of virtual terminal?

Parent

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 moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+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 moderator attention?
You might want to add some details to your flag.

1 comment thread

Font size was the solution (1 comment)
Font size was the solution
alx‭ wrote 6 months ago · edited 6 months ago

The winner to my taste has been Lat15-Terminus32x16.psf.gz.

Heh, only caveat is I prefer the Fixed font. But size matters! I wish there was a large version of it. :)

As you said, I don't trust passing the kernel a different resolution.