• Re: Change output resolution via CLI on Debian 13 trixie

    From The Wanderer@3:633/10 to All on Thursday, June 25, 2026 15:50:01
    On 2026-06-25 at 09:36, Claudio Vicario wrote:
    Hi, i?ve tried to change the output resolution but idk how to change
    it via CLI on Debian. Someone here know it?
    If your graphical environment (since you're almost certainly running
    with one) is based on the X Window System, you want to look at the
    'xrandr' command.
    If it's based on Wayland instead, there's almost certainly some
    analogous tool, but I don't have enough experience with that stack to be
    able to say what it might be.
    (If somehow you're trying to do this in a purely terminal-based
    environment, with no GUI... that would be interesting, and I have to
    admit that just offhand I'm not sure of how to do it. I think I know
    where I'd start looking in order to find out, but I'd need to do some
    poking around in order to be able to even make any recommendations for
    where to look.)
    --
    The Wanderer
    The reasonable man adapts himself to the world; the unreasonable one
    persists in trying to adapt the world to himself. Therefore all
    progress depends on the unreasonable man. -- George Bernard Shaw


    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Claudio Vicario@3:633/10 to All on Thursday, June 25, 2026 15:50:01
    Hi,
    i?ve tried to change the output resolution but idk how to change it v
    ia CLI on Debian.
    Someone here know it?
    Cheers
    Claudio

    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Felix Miata@3:633/10 to All on Thursday, June 25, 2026 16:10:01
    Claudio Vicario composed on 2026-06-25 15:36 (UTC+0200):

    i?ve tried to change the output resolution but idk how to change it via CLI on Debian.
    Someone here know it?

    For the vttys, it's pretty simple. If your display is 3840x2160, try adding to Grub stanza's linu line one of the following

    video=2560x1440
    video=2048x1152
    video=1920x1080

    If it's 2560x1440, try one of

    video=2048x1152
    video=1920x1080
    video=1600x900

    If it's 1920x1080, try one of

    video=1600x900
    video=1280x720

    Use xrandr in an X11 terminal to determine resolutions supported by your display.

    <https://www.kernel.org/doc/Documentation/fb/modedb.txt>

    If your GUI is employing the intel driver from xserver-xorg-video-intel, it may inherit the kernel cmdline's video= resolution.

    Whether it's possible to change on an already booted system, I have no idea.
    --
    Evolution as taught in public schools is, like religion,
    based on faith, not based on science.

    Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

    Felix Miata

    --- PyGate Linux v1.5.18
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)