LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-01-2006, 08:46 AM   #1
huwnet
Member
 
Registered: Jan 2006
Location: England
Distribution: Arch
Posts: 119

Rep: Reputation: Disabled
Set shell resolution


Is there any way to change the resolution of my shell from 800 x 600 to 1280 x 1024?

I am using bash and Gentoo 2006.0

Thanks
 
Old 04-01-2006, 08:51 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
resolution in what? The framebuffer? or X?

edit: for X, use "xrandr", for the framebuffer, im not sure, but "fbset" is where i would start looking
 
Old 04-01-2006, 09:02 AM   #3
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
for console you can probably change your bootloader's config to send one of these parameters...

256 colors: vga=775 or vga=0x307
32k colors: vga=793 or vga=0x319
64k colors: vga=794 or vga=0x31A
16M colors: vga=795 or vga=0x31B
 
Old 04-01-2006, 09:27 AM   #4
huwnet
Member
 
Registered: Jan 2006
Location: England
Distribution: Arch
Posts: 119

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mikshaw
for console you can probably change your bootloader's config to send one of these parameters...

256 colors: vga=775 or vga=0x307
32k colors: vga=793 or vga=0x319
64k colors: vga=794 or vga=0x31A
16M colors: vga=795 or vga=0x31B
Thanks

Also is there anyway to change the shell keyboard layout to gb?
 
Old 04-15-2006, 01:09 PM   #5
huwnet
Member
 
Registered: Jan 2006
Location: England
Distribution: Arch
Posts: 119

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by huwnet
Also is there anyway to change the shell keyboard layout to gb?
Is this possible or is this something that only applies in X?
 
Old 05-17-2010, 09:52 AM   #6
pastoreerrante
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 0
Hi all,

I have exactly this problem with debian lenny. I have no X server, and the vga=791 option in menu.lst doesn't work for me.

When I boot with that option, Grub says to me that the maximum resolution supported is 80x90 or something similar.

So does anyone know how to change shell resolution to 1280x1024?

Thank you,

Daniele

Update: I ran the command hwinfo --framebuffer in order to see the resolution my screen supports and, between others, I can see the following:

Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits

Every time I put one of this hexadecimal values in the "vga= " option in menu.lst, after the reboot, I receive the "Undefined Video Mode Number error message", basically saying me that I'm limited to the text modes resolutions (maximum is 80x60).

I don't understand where the problem is...

Update: Problem Fixed

The reason was that the nvidia framebuffer support is not enabled by default on debian lenny. So the solution was a kernel recompilation enabling that feature (Device Driver > Graphic Card > Framebuffer Support > Nvdia Framebuffer)

After this, my console is 1280x1024:
####################################################
daniele@daniele:~$ fbset

mode "1280x1024-60"
# D: 91.000 MHz, H: 63.195 kHz, V: 59.957 Hz
geometry 1280 1024 1280 25766 8
timings 10989 80 48 3 20 32 7
hsync high
accel true
rgba 8/0,8/0,8/0,0/0
endmode
####################################################

There was no need to edit menu.lst with vga=79x options! the best resolution was set automatically :-)

Last edited by pastoreerrante; 05-18-2010 at 06:28 AM. Reason: Problem Fixed
 
  


Reply

Tags
keyboard, layout, resolution, shell


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba 3.0.2a name resolution from shell pete_clem Linux - Networking 0 08-29-2004 07:24 PM
shell resolution props666999 Slackware 1 08-05-2004 04:13 PM
resolution will not set transke Linux - Hardware 8 07-16-2004 05:07 AM
How to set screen's resolution giulio_82 Debian 3 02-15-2004 05:30 AM
set resolution pixelV Linux - General 20 12-28-2002 02:33 PM


All times are GMT -5. The time now is 07:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration