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 |
Which distro version are you running? Which shell?
Can you post a screenshot (or photo of the screen)? |
I'm using Arch Linux with Bash.
I can't do screenshots at the login shell. |
Do a ' stty -a ', note the columns and rows numbers, then adjust
Code:
stty cols 80 rows 24 |
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' |
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.
|
stty command is working for me.
But how to save the settings for next boot? |
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 |
Yes, this solved my problem.
Thank you. |
All times are GMT -5. The time now is 07:34 PM. |