[SOLVED] How do I change the Resolution with a Bash Command?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I change the Resolution with a Bash Command?
I am running Debian 6 and I would like to find two good commands relating to the screen resolution. One is how to find out what the current resolution of the monitor is, and the other is a command to change the resolution. I know this has to be so simple, but I can't find it in any of the resources that I have. Thanks in advance!
xrandr is probably what you are looking for. You'll have to read some documentation to find the correct options.
Evo2.
Thanks, Evo2, but this program isn' isntalled on my Debian Squeeze system, when I typed it, nothing happened, and there were no entries in either man or info for it. Perhaps a different command? This is a very basic install, if it matters. I like this basic install because it is helping me get down into the nitty gritty of the OS.
I'm sorry, evo2, I should've read your post more carefully. I am not running X at all on this machine........text mode OS only, (hones my CLI skills). So I'm not running any one of the X servers.
without X11, you're in frame buffer territory. grub can pass options to the kernel at boot time and loading the different frame buffer kernel modules may change the resolution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.