LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-05-2014, 02:38 PM   #1
jamison20000e
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
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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.
 
Old 04-05-2014, 04:30 PM   #2
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
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.
 
Old 04-05-2014, 05:04 PM   #3
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by jamison20000e View Post
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.
Old 04-05-2014, 05:20 PM   #4
jamison20000e
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
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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 ...
 
Old 04-05-2014, 05:29 PM   #5
jamison20000e
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
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Thumbs up

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...
 
Old 04-05-2014, 06:20 PM   #6
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
As an alternative, you might try grabbing one of the no-X versions at LinuxBBQ (based on Debian sid):

http://linuxbbq.org/about.html

I recommend the Spring 2014 release, or Boring (based on Debian stable):

http://sourceforge.net/projects/linuxbbq/files/2014/
http://sourceforge.net/projects/linuxbbq/files/noX/

These are great releases for CLI-only computing, either in framebuffer, tty, or tmux.
 
Old 04-06-2014, 10:18 PM   #7
jamison20000e
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
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Got it, in /etc/default/grub I put:
Code:
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=keep
then:
Code:
update-grub
and reboot... sweet.
 
Old 04-06-2014, 10:24 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
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.
 
Old 04-06-2014, 10:43 PM   #9
jamison20000e
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
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Thanks, I will look in to it:
https://www.linux.com/learn/docs/ldp...mebuffer-howto
https://www.kernel.org/doc/Documenta...ramebuffer.txt
http://en.wikipedia.org/wiki/Linux_framebuffer

...for now it works well it even made the text smaller like I wanted.
 
  


Reply

Tags
cli, lcd, margin, tty


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
TTF for screen font (CLI) Jeebizz Slackware 2 02-19-2010 04:52 AM
Linux CLI not using the full screen. darkapolloslx Linux - Newbie 4 04-08-2009 06:41 AM
Capturing what is on the screen through the CLI metallica1973 Linux - Networking 4 01-31-2008 08:33 AM
CLI Screen Timeout rjshirts Debian 1 01-20-2005 01:10 PM
Screen locks up in CLI Elijah Linux - Hardware 5 02-27-2003 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration