Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-05-2014, 02:38 PM
|
#1
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
How do I use all of the screen in CLI
Hi.
When I had a desktop environment installed everything went to the edge of the screen. Now on my IBM-T20-2647 with a newly installed Debian-netinst (I want to use CLI only) the screen acts as if margined i.e: blank inch or so at top and bottom, quarter on both sides and text crunched in the middle? I'm having trouble coming up with a good search term to find a solution. I've tried looking at configs like /etc/default/console-setup with variables SCREEN_WIDTH and SCREEN_HEIGHT but also trying to change font there does nothing so I tested by commenting out most lines there and still no changes? To change the font I've put this line of code in my root and users home folders .profile
Code:
...
setfont Uni1-VGA.psf.gz
...
and thought that the font may dictated screen size but all fonts stay in the box?
If anyone can help I would greatly appreciate it.
Last edited by jamison20000e; 04-05-2014 at 04:53 PM.
|
|
|
04-05-2014, 04:30 PM
|
#2
|
Member
Registered: Jun 2012
Distribution: Slackware
Posts: 441
|
Hi. Perhaps this has to do with the Kernel Mode Setting? You might try to disable it by appending the kernel parameter "nomodeset" to GRUB's kernel line. I would do this in the GRUB prompt first, to see if it has any effect.
|
|
|
04-05-2014, 05:04 PM
|
#3
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by jamison20000e
When I had a desktop environment installed everything went to the edge of the screen. Now on my IBM-T20-2647 with a newly installed Debian-netinst (I want to use CLI only) the screen acts as if margined i.e: blank inch or so at top and bottom, quarter on both sides and text crunched in the middle?
|
I'm fairly sure I know what you mean - and if I'm right it hasn't to do with any configuration issue, but purely with hardware settings. But let me strike out a little bit to explain.
If you run a system with CLI only, the graphics adapter is typically operated in pure text mode. Pure text mode usually organizes the screen in 25 lines consisting of 80 characters, each character box being made up of 9 pixels horizontally and 16 pixels vertically. That's a total resolution of 720x400.
Well, most LCD screens have a higher resolution - often 1024x768 at 15", or 1280x1024 at 17", or 1368x768 on a small 16:9 display, or 1024x600 on a small netbook display. All these resolutions are higher than plain VGA text mode. So what does an LCD screen do when operated at such a relatively low resolution?
Some will automatically stretch the image to fit the entire display. That's probably what you automatically expected.
Some do not scale the image, but simply display the 720x400 image unscaled on a much bigger screen - that's probably what you're experiencing.
And if you're very lucky, your display can be configured to do either of the two thing explained above.
Once again: This is not a setting of the driver or any other piece of software - it's a behavior that's embedded in the display itself.
[X] Doc CPU
|
|
1 members found this post helpful.
|
04-05-2014, 05:20 PM
|
#4
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Original Poster
|
Hi, Thanks.
I did see something about using GRUB to set font and maybe fix my problem, screen resolution , "nomodeset" at the end of the linux /boot/... line did not work tho?
I am currently trying things from this page: http://askubuntu.com/questions/33784...inals-ttys-1-6 ...
|
|
|
04-05-2014, 05:29 PM
|
#5
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Original Poster
|
So, I should definitely try installing the Video driver (SavageIX8) that I can't believe I have not tried yet it worked in GUI and I guess it never occurred to me in CLI...
|
|
|
04-06-2014, 10:18 PM
|
#7
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Original Poster
|
Got it, in /etc/default/grub I put:
Code:
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=keep
then: and reboot... sweet.
|
|
|
04-06-2014, 10:24 PM
|
#8
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep:
|
You need to turn of kernel framebuffer, not sure if your kernel has it. Generic UVESA should do it. That is if you can configure your kernel to enable it.
Edit: But than again, why not access this node over SSH and eliminate all display issues.
Last edited by Emerson; 04-06-2014 at 10:27 PM.
|
|
|
04-06-2014, 10:43 PM
|
#9
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Original Poster
|
|
|
|
All times are GMT -5. The time now is 10:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|