LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   make text larger? (https://www.linuxquestions.org/questions/slackware-14/make-text-larger-4175454068/)

myglide 03-14-2013 06:54 PM

thank you for your reply w1k0, got a rather long warning message about program is an suid-root and not safe to format the whole message, then xterm: xt error: can't open display: %s xterm: DISPLAY is not set

w1k0 03-14-2013 07:19 PM

I referred to X Window – you tried that in the console mode.

myglide 03-14-2013 07:28 PM

@volkerdi typed the command correctly(not sure where the error was maybe in the account type) and got the download i could see it downloading. when done got command prompt again and entered the second part installpkg...got this response bash: installpkg: command not found STRIKE THAT I switched to my root user and it accepted the second part and the third. font is now bigger. thank you very much your a genius!

myglide 03-14-2013 07:32 PM

@ w1k0 sorry didn't know the difference, yes entered the code at the command prompt i.e. the first screen after boot up.

w1k0 03-14-2013 07:36 PM

You use the console. I use X Window.

Run first the command:

startx

then open the terminal or start the command prompt,

and finally run the command such as:

xterm +sb -fg black -bg white -geometry 186x68+0+0 -fn 9x15

myglide 03-14-2013 07:45 PM

@ w1k0 so I go into the kde gui and open terminal and enter the code and that will change the text size when i close the kde and return to the command line interface? btw my monitor is 1920X1080

myglide 03-14-2013 07:48 PM

how do i view the usr/share/kbd/consolefonts file to see the proper way to enter even bigger font sizes?

Myk267 03-14-2013 08:02 PM

Quote:

Originally Posted by myglide (Post 4911822)
@ w1k0 so I go into the kde gui and open terminal and enter the code and that will change the text size when i close the kde and return to the command line interface? btw my monitor is 1920X1080

Setting the console font can be done interactively as root: setconsolefont

TobiSGD 03-14-2013 08:06 PM

W1k0 refers to the terminal emulators usually used from within X. Maybe he missed that you want to have bigger fonts when X is not running.
To see the other fonts just try this command:
Code:

cd /usr/share/kbd/consolefonts
ls

Interesting for you when looking at Terminus fonts are the numbers beginning with 1 (that number determines which codepages are in the fonts), the last two numbers determine the size (the largest you can install is 32 as it seems), if I understand that correctly n stands for normal and b for bold, I am not quite sure what v is for.

w1k0 03-14-2013 08:10 PM

Quote:

Originally Posted by myglide (Post 4911822)
@ w1k0 so I go into the kde gui and open terminal and enter the code and that will change the text size when i close the kde and return to the command line interface? btw my monitor is 1920X1080

No way! That works in X Window only. It was misunderstanding from my side.

In the console mode try the command such as:

setfont -v iso01.16.gz

(In the above example iso01 is for the encoding and 16 for the size of the font.)

To see all the console fonts use the command:

ls /usr/share/kbd/consolefonts

***

It seems that the biggest standard font is lat4a-19.psfu.gz.

So if the above is too small for you use the command:

setfont -v lat4a-19.psfu.gz

w1k0 03-14-2013 08:25 PM

I just installed the terminus-font and ter-132n.psf.gz is really huge and nice:

setfont -v ter-132n.psf.gz

myglide 03-14-2013 08:26 PM

@ w1k0 thank you for your replies. the command worked and it set my font back to its orginal size. did the ls command and was able to see all the fonts available and have set my font size to the ter-132n a nice big size for old eyes. I will play around with them to find the one just right for me.

myglide 03-14-2013 08:29 PM

Thanks to all that replied learned a great deal

w1k0 03-14-2013 08:53 PM

To make the change permanent put the command such as:

setfont -v ter-132n.psf.gz

into /etc/rc.d/rc.font file and make sure that it’s executable.

Do that as root.

myglide 03-14-2013 09:19 PM

@w1k0 I opened the /etc/rc.d/rc.font file in vim in root and added the line only had to add the part after -v and saved rebooted and the first text on boot up, the lilo, and the text that followed was bigger but when a certain amount of the os was loaded the text reverted back to the small text. now this was normal on boot ups before first the text was larger then it got small as it got close to the login prompt. dont know how to make sure its executable though.


All times are GMT -5. The time now is 04:52 AM.