Abandoned post by Unregistered user.
I am currently running a Raspberry Pi on a television and the text size is too small to read. So I was wondering if there is a way to resize the text.
Sorry about just giving a link before to my site. Didn't mean to offend. Anyway to write a permanent script that can be run at boot-up on large-screen T.V.s, I did the following: However, there are probably a million ways to do this. The above should work too, this is just a different approach. Also, it's fun to write scripts, right?
1)The first step is to log in
2)If your in the terminal already, great. bonus points for bravery. If not, press CTRL+ALT+F1 to get there.
3)create a directory to put your scripts in:
sudo mkdir /home/pi/scrpits
4) Navigate to that directory:
5) Using either vim or nano, or pico, or whatever your favorite terminal text editor is, create a new file for the script. For convenience sake and because it’s already installed, we’ll use nano here, however I prefer vim. If you want to install vim, type:
sudo apt-get install vim
Otherwise, use nano:
sudo nano largefont
6) Write this in the file:
echo changing font size to 32x16
7) Make it executable:
sudo chmod 775 largefont
8) Now, we need to alter some files in /etc/rc.local, where Raspberry Pi goes to look for scripts or commands for start-up, and type the following: sudo nano /etc/rc.local
9) Go yo the bottom and type the following:
If you want to make it sleep until your log in appears, and run it in the background you can adjust the sleep like this. The ampersand makes it run in the background BTW:
sudo (sleep 3; sudo /home/pi/scripts/largefont) &
10) When you reboot, the text size should be much larger than factory settings:
Hope this tutorial helped with something! :)