LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 07-18-2022, 05:25 PM   #1
BernieK
LQ Newbie
 
Registered: Mar 2021
Posts: 21

Rep: Reputation: Disabled
Slackware 15.0 : console text rows & columns are short following frame buffer device change


After the kernel automatically (during boot) switches the frame buffer device to one having fewer text rows & columns than the console display can support, the console is left with text squished toward its upper left corner.

Adding the following lines to /etc/rc.d/rc.local solves this problem on my setup:

Code:
# Compensate for the kernel's automatic switching (of the console) to frame buffer device "160x50" since that
# device has too few rows & columns for the console on a system comprised of a laptop computer (with its lid
# closed) in a docking station and a second/larger docking station display serving as the system console.
dmesg | grep -q " Video Device \[VGA\] (multi-head: yes "
if [ $? -eq 0 ] ; then
  # Video/console records from /var/log/Xorg.0.log for reference:
  #  (II) RADEON(0): Modeline "1600x900"x60.0  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz UeP)
  #  (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
  echo "Set the frame buffer to benefit from a small font when the system console is the docking station's display."
  fbset -g 1600 900 1600 900 24
fi
Change the fbset command's arguments to match your display and video adapter (as reported by Xorg).

Last edited by BernieK; 07-18-2022 at 05:34 PM.
 
  


Reply



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
[SOLVED] Converting a file with Rows and Columns to just Columns mphillips67 Linux - Newbie 14 03-05-2014 10:31 AM
Script to convert words in a text file [columns to rows] naveenchandar Linux - Newbie 2 11-08-2012 01:00 AM
[SOLVED] console:switching to colour frame buffer device 128x48 while kernel boot 2.6.33-smp matters Slackware 39 05-27-2010 11:05 AM
text data conversion: rows into columns frankie_DJ Programming 6 06-03-2006 06:43 AM
nvidia driver form nvida & frame buffer console dosen't work together linuxlah Linux - General 0 03-11-2004 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 04:05 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
Open Source Consulting | Domain Registration