General TC > General TC Talk

change font size

<< < (4/5) > >>

coreplayer2:

--- Quote from: jazzbiker on June 27, 2019, 03:08:31 PM ---Maybe, the best way will be to use startup file like

--- Code: ---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

--- End code ---

--- End quote ---
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??

Rich:
Hi jazzbiker

--- Quote from: jazzbiker on June 27, 2019, 03:08:31 PM ---
--- Code: ---chmod +x ~/.X.d/30-terminus
grep '30-terminus' /opt/.xfiletool.lst || echo '/home/tc/.X.d/30-terminus' >> /opt/.xfiletool.lst
--- End code ---

--- End quote ---
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).

clyde987:
Hello,
I'm still at Reply #6, searching helpful information to edit .Xdefaults.
To open the file, I did

--- Code: ---cat .Xdefaults
--- End code ---

But the cursor won't go on

--- Code: ---Aterm*font: fixed
--- End code ---
so I can't change "fixed" to "-adobe-helvetica-.....".

I did

--- Code: ---cat >> ~/.Xdefaults
Aterm*font: -adobe-helvetica-.....
<ctrl D>
--- End code ---

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.





clyde987:
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.

clyde987:
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.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version