LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 05-21-2005, 09:59 AM   #1
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
changing the default resolution of tty


How can I change the default resolution of tty? In start up I can change the resolution but when I go to X and come back to tty, the resolution has changed to default. Distro I use is Mepis.
 
Old 05-22-2005, 01:18 PM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
eeeh strange, how are your _changing_ your tty resolution at first? Usually it is about some options that need to be activated in kernel, then some boot options your boot loader gives to your kernel at boot. Usually, then, the resolution should not change... unless you use very strange X drivers?
 
Old 05-23-2005, 12:00 AM   #3
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Half_Elf
eeeh strange, how are your _changing_ your tty resolution at first? Usually it is about some options that need to be activated in kernel, then some boot options your boot loader gives to your kernel at boot. Usually, then, the resolution should not change... unless you use very strange X drivers?
After choosing Linux in GRUB I get to choose how big the characters are. I want to know how to set the default.

This I meant.
 
Old 09-03-2005, 10:14 AM   #4
Daylighthater
LQ Newbie
 
Registered: May 2005
Location: Gent, Belgium
Distribution: Ubuntu, Debian
Posts: 13

Rep: Reputation: 0
Hello,

My distro is Ubuntu. And I would like to change my resolution of my tty, can someone help me with this.

I have no clue where to do it, or how....


Thanks in advance!
 
Old 09-03-2005, 12:07 PM   #5
Daylighthater
LQ Newbie
 
Registered: May 2005
Location: Gent, Belgium
Distribution: Ubuntu, Debian
Posts: 13

Rep: Reputation: 0
VMND I found it.

in grub place after the kernel start line vga=792

and the resolution is fine
 
Old 08-06-2009, 09:11 AM   #6
cthulhufhtagn
LQ Newbie
 
Registered: Aug 2009
Distribution: Xubuntu 13.10
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by Daylighthater View Post
VMND I found it.

in grub place after the kernel start line vga=792

and the resolution is fine
And which file i have to edit to do that? I wannan know exactly the file and the positioon in the file, because I'm a beginner and don't wanna fuck up my linux... Would be a bummer.

EDIT: FORGET my question, I have found an VERY goot tutorial howto this:

Quote:
It's not very difficult to change the resolution. First,
install hwinfo, if it isn't already installed:
sudo apt-get install hwinfo

Then run:
sudo hwinfo --framebuffer

You'll see something like this:

Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits
Mode 0x0330: 320x200 (+320), 8 bits
Mode 0x0331: 320x400 (+320), 8 bits
Mode 0x0332: 320x400 (+640), 16 bits

Find the resolution you want and the hexadecimal equivalent of
the resolution.

For example, my choice of video resolution is 1280x1024 24 bit
so the relevant hexadecimal I need is "0x031b".

Then edit your /boot/grub/menu.lst and change your kernel
entry from this:

kernel /boot/vmlinuz-2.6.15-28-386 root=/dev/sda3 ro
quiet splash

to this:

kernel /boot/vmlinuz-2.6.15-28-386 root=/dev/sda3 ro
quiet vga=0x031b splash

Then when you enter tty mode (ctl-alt-f1 etc) you will have
high resolution tty.

Hope this helps!

Mike
and here is the site where i found that. I hope it'll help me and other Linux-Users

Last edited by cthulhufhtagn; 08-06-2009 at 09:16 AM.
 
  


Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem changing the video adapter setting and changing the screen resolution habiblove Linux - General 3 02-18-2006 05:10 PM
Change resolution in TTY Daylighthater Ubuntu 1 09-03-2005 12:09 PM
X: using larger resolution for games than default desktop resolution Jamo Linux - Games 2 04-10-2005 03:16 AM
Changing assigned TTY for logged in users karnick Linux - General 0 03-02-2005 05:13 PM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM


All times are GMT -5. The time now is 04:34 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