LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-14-2013, 11:03 AM   #1
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Rep: Reputation: Disabled
make text larger?


Can I make the text larger from the command line without changing monitor resolution?
 
Old 03-14-2013, 11:10 AM   #2
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,576
Blog Entries: 1

Rep: Reputation: Disabled
what terminal emulator are you using?
 
Old 03-14-2013, 11:41 AM   #3
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
iono just installed 14.0 and am using it from the command line
 
Old 03-14-2013, 01:01 PM   #4
sizemj
Member
 
Registered: Sep 2009
Location: Louisville, KY
Distribution: Slackware. Fedora, FreeBSD
Posts: 32

Rep: Reputation: 9
Have you started X (issued the command startx)?
 
Old 03-14-2013, 02:53 PM   #5
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
thank you for your reply. yes I have, but i would like to do know if i can change the settings from the command line as stated. i have also viewed the man page for font. however i have been unable to get any of the commands to work from either the user acct. i created or from the root user acct.
 
Old 03-14-2013, 03:58 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 875

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
I think your best bet is to install the ap/terminus-font package from -current (it won't conflict with anything in 14.0), and then try some of those fonts, like this one:

Code:
setfont ter-120b
 
2 members found this post helpful.
Old 03-14-2013, 04:35 PM   #7
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
thank you for your reply. i dont know how to do that yet. i get that ap/terminus-font package is a package to be installed. is -current a file it will create or one that is already there? I'm just trying to make the text larger when the system boots up and the command line comes up, its kind of small because im thinking the high resolution of my monitor. iono
 
Old 03-14-2013, 04:55 PM   #8
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 875

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Quote:
Originally Posted by myglide View Post
thank you for your reply. i dont know how to do that yet. i get that ap/terminus-font package is a package to be installed. is -current a file it will create or one that is already there? I'm just trying to make the text larger when the system boots up and the command line comes up, its kind of small because im thinking the high resolution of my monitor. iono
-current is the development version of Slackware. The terminus-font package isn't in Slackware 14.0.

Here's what you need to do to try this:

Code:
cd /tmp
lftpget ftp://ftp.slackware.com/pub/slackware/slackware-current/slackware/ap/terminus-font-4.38-noarch-1.txz
installpkg terminus-font-4.38-noarch-1.txz
setfont ter-120b
You can check out the other fonts in /usr/share/kbd/consolefonts, too. If you like the result, add the setfont line to your /etc/rc.d/rc.local script and you're good to go.
 
2 members found this post helpful.
Old 03-14-2013, 05:29 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,619
Blog Entries: 2

Rep: Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076
OFFTOPIC: That is a nice looking font. I am not very knowledgeable about fonts, may it be that this is not an Unicode font? I use some Unicode characters in my shell prompt, but they are only displayed as blocks with the Terminus font, is there a way to correct that?
 
Old 03-14-2013, 06:01 PM   #10
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,538

Rep: Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190
Quote:
Originally Posted by TobiSGD View Post
may it be that this is not an Unicode font?
I would check the availability of the characters you need in that font. According to this page, version 4.38 (shipped in -currrent) contains 879 characters. The README file in the source tarball lists the code pages included and I assume that the /uni directory includes:
(1) For every code page, the UTF-8 encoding of the characters of that code page
(2) In the 10646-1 file, the UTF-8 encoding of all 879 included characters.

So to make sure, just "grep <UTF-8 hexadecimal code of the needed character> /uni/10646-1" to check.

Last edited by Didier Spaier; 03-14-2013 at 06:12 PM.
 
1 members found this post helpful.
Old 03-14-2013, 06:03 PM   #11
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
thank you for reply. get1: access failed: 550 failed to open file (pub/slackware...etc....tzx)get1: not connected...forgot to mention i havent figure how to connect to interweb yet looks like it woulda work though
 
Old 03-14-2013, 06:20 PM   #12
myglide
Member
 
Registered: Mar 2013
Location: Texas
Distribution: slackware 14.0
Posts: 58

Original Poster
Rep: Reputation: Disabled
strike that last reply. I open KDE and it seem i am abale to connect to the interweb maybe i typed something the wrong way when i entered the code
or maybe i'm not connected at the command line iono
 
Old 03-14-2013, 07:16 PM   #13
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Rep: Reputation: 196Reputation: 196
I tried the following command on my 16801050 screen:

xterm +sb -fg black -bg white -geometry 279x85+0+0 -fn 6x12

The font 6x12 seems reasonable. If it’s too small or too big for you try instead the other one from the following:

head -n 25 /usr/share/fonts/misc/fonts.alias
Code:
! $Xorg: fonts.alias,v 1.3 2000/08/21 16:42:31 coskrey Exp $
fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
variable     -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1
5x7          -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-1
5x8          -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1
6x9          -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso8859-1
6x10         -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
6x12         -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
6x13         -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
6x13bold     -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1
7x13         -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
7x13bold     -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
7x13euro     -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-15
7x13eurobold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15
7x14         -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
7x14bold     -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1
8x13         -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
8x13bold     -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1
8x16         -sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1
9x15         -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1
9x15bold     -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1
10x20        -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1
12x24        -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1
nil2         -misc-nil-medium-r-normal--2-20-75-75-c-10-misc-fontspecific
If your screen is smaller or bigger than mine customize 279x85+0+0 parameter. The first value is for the width and the second for the height.

***

Misunderstanding. I read just the first post and I guessed that you’d like to put more text on the screen. Meanwhile your goal is opposite. So you could try the bigger font such as 9x15 decreasing the values in 279x85+0+0 parameter. That concerns X Window of course.

In my case the right command is the following:

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

Last edited by w1k0; 03-14-2013 at 07:40 PM.
 
1 members found this post helpful.
Old 03-14-2013, 07:26 PM   #14
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,619
Blog Entries: 2

Rep: Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076
@Didier Spaier: Thanks for your explanation. Seems that the characters used by me (frowning face and smiling face) are not included.
 
Old 03-14-2013, 07:48 PM   #15
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Rep: Reputation: 196Reputation: 196
By the way. If you use UTF8 encoding put at the end of /usr/share/fonts/misc/fonts.alias the following section:

Code:
5x7int         -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1
5x8int         -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
6x9int         -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso10646-1
6x10int        -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1
6x12int        -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso10646-1
6x13int        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
6x13boldint    -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso10646-1
7x13int        -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1
7x13boldint    -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso10646-1
7x14int        -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
7x14boldint    -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso10646-1
8x13int        -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
8x13boldint    -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso10646-1
9x15int        -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1
9x15boldint    -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1
10x20int       -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
and use the command such as:

xterm +sb -fg black -bg white -geometry 186x68+0+0 -fn 9x15int
 
1 members found this post helpful.
  


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
How to make backend resolution larger than frontend? Willrandship Linux - Desktop 4 11-17-2010 09:52 PM
How to strip a specific part of text from a larger file? pepsi_max2k Programming 10 03-27-2009 05:00 AM
make OpenBSD's text console larger? gani *BSD 4 09-21-2004 12:44 AM
shell text fonts are larger than normal??? tsw Mandriva 8 05-12-2004 08:01 PM
How do I make my Linux Partition larger? SeXuaLSoYBeaN Linux - Software 1 10-17-2003 09:34 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration