WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: change font size  (Read 9754 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: change font size
« Reply #15 on: June 27, 2019, 01:01:40 PM »
Maybe, the best way will be to use startup file like
Code: [Select]
echo 'xset fp+ /usr/local/share/fonts/terminus/' > ~/.X.d/30-terminus
chmod +x ~/.X.d/30-terminus
grep '30-terminus' /opt/.xfiletool.lst || echo '/home/tc/.X.d/30-terminus' >> /opt/.xfiletool.lst
Sure thing, If this is required after xserver loads then whatever it takes to standardize.   but I'd check for the existence of such an "~/.X.d/30-terminus" first before overwriting any existing file??

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: change font size
« Reply #16 on: June 27, 2019, 01:31:38 PM »
Hi jazzbiker
Code: [Select]
chmod +x ~/.X.d/30-terminus
grep '30-terminus' /opt/.xfiletool.lst || echo '/home/tc/.X.d/30-terminus' >> /opt/.xfiletool.lst
Files in  ~/.X.d/  do not need to be made executable. File contents are read and executed line by line by  ~/.xsession.
I presume you meant  /opt/.filetool.lst  and not  /opt/.xfiletool.lst.
Files located in  /home  (or /opt)  should not be blindly added to  /opt/.filetool.lst  since the user may have a persistent  /home  (or /opt).

Offline clyde987

  • Newbie
  • *
  • Posts: 18
Re: change font size
« Reply #17 on: July 04, 2019, 01:39:51 AM »
Hello,
I'm still at Reply #6, searching helpful information to edit .Xdefaults.
To open the file, I did
Code: [Select]
cat .Xdefaults
But the cursor won't go on
Code: [Select]
Aterm*font: fixedso I can't change "fixed" to "-adobe-helvetica-.....".

I did
Code: [Select]
cat >> ~/.Xdefaults
Aterm*font: -adobe-helvetica-.....
<ctrl D>

Then "Aterm*font: -adobe-helvetica-....." was added (not changed) on .Xdefaults,
and that font became availble.

But I want to know how I can change "fixed" to " -adobe-helvetica-.....".

By the way, I looked through "Appendix A. Specifying Fonts".
Thank you, Rich.






Offline clyde987

  • Newbie
  • *
  • Posts: 18
Re: change font size
« Reply #18 on: July 04, 2019, 03:27:05 AM »
I'm very sorry.
My problem was solved.
 
I had been trying to open .Xdefaults with the terminal.
Rich wrote, "If you open it with an editor....."

I opened it with the editor and was able to that.

Offline clyde987

  • Newbie
  • *
  • Posts: 18
Re: change font size
« Reply #19 on: July 13, 2019, 03:44:13 AM »
Thank you, Rich and PDP-8.
I just did Reply#9 and #10.

I like "terminus-bold-24".
I tried 32 first, but the terminal window got much bigger than display screen.

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: change font size
« Reply #20 on: July 13, 2019, 05:46:48 PM »
Here's even more fun news about that:

Now that terminus fonts are installed, take a look at the emelfm file manager, and also the beaver editor, where you can point-n-click to various terminus fonts and sizes in their in-app configuration menus!

The overall application menu fonts may be smaller at large screen resolutions, but the meat of the product - the text files, directories and whatnot are now a bit nicer.

Heh, never having to load Xorg proper, or TTF fonts...
That's a UNIX book! - cool  -- Garth