LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2016, 10:11 AM   #1
spiri13
Member
 
Registered: Jun 2016
Posts: 57

Rep: Reputation: Disabled
Login shell greater than screen


Hi,

My login shell is a bit greater than the screen itself.
Is there a way to adapt the size of the login shell to the screen size?

I already tried the resize command, but if I do
Code:
resize -s x y
then the command times out and nothing happened.

Last edited by spiri13; 08-25-2016 at 04:11 PM.
 
Old 08-24-2016, 10:52 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Which distro version are you running? Which shell?

Can you post a screenshot (or photo of the screen)?
 
Old 08-24-2016, 11:45 AM   #3
spiri13
Member
 
Registered: Jun 2016
Posts: 57

Original Poster
Rep: Reputation: Disabled
I'm using Arch Linux with Bash.
I can't do screenshots at the login shell.
 
Old 08-24-2016, 12:56 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
Do a ' stty -a ', note the columns and rows numbers, then adjust
Code:
stty cols 80 rows 24
 
Old 08-24-2016, 01:24 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,390
Blog Entries: 9

Rep: Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652
do the letters look blurred?
i suspect this might have something to do with graphics driver and monitor resolution.
in that case, the output of
Code:
lspci -k | grep -iEA5 'vga|3d'
might be helpful, plus the command line you are booting with (from /boot/grub/grub.cfg).
 
Old 08-24-2016, 09:15 PM   #6
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Another of my wild guesses, if you have a desktop with a monitor, you may have to use the lcd monitor auto-adjust or other monitor screen adjustments. I have to auto-adjust the monitor on a fedora 23 desktop periodically.
 
Old 08-25-2016, 01:59 PM   #7
spiri13
Member
 
Registered: Jun 2016
Posts: 57

Original Poster
Rep: Reputation: Disabled
stty command is working for me.
But how to save the settings for next boot?
 
Old 08-25-2016, 03:50 PM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
If using bash as login shell, add your setting (' stty cols ... rows ... ') in your ~/.bash_profile file (create it if it doesn't exist)
For other shell, check the corresponding man page

Last edited by keefaz; 08-25-2016 at 03:52 PM.
 
Old 08-25-2016, 04:10 PM   #9
spiri13
Member
 
Registered: Jun 2016
Posts: 57

Original Poster
Rep: Reputation: Disabled
Yes, this solved my problem.
Thank you.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: With greater permissions, comes greater responsibility LXer Syndicated Linux News 0 02-20-2014 04:11 PM
[SOLVED] Xfce has a screen size greater than the X screen wilsonsamm Linux - Desktop 1 11-03-2013 02:33 AM
Can't change greater screen: FC4 & KDE PTrenholme Fedora 2 06-24-2005 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration