Page 1 of 1
Config.txt not working
Posted: Fri Oct 26, 2012 6:24 pm
by Liam83
Hi all
I have just set my Rasp Pi up using my 32" HD tv. Howeve I am finding the text to be too small.
I have found a command line to increase the font size in Linux and a solution to increase the size in X by opening config.txt.
However config.txt does not open. If I open it in the text editor and change the HDMI from 1 to a different number it does not save and makes the whole process a waste of time. Apparantley the file is not open to be saved. Very annoyed as I gavce been looking forward to programming and I cant see the text. Also I do not have another screen to view it on.
Many Thanks
Re: Config.txt not working
Posted: Fri Oct 26, 2012 6:48 pm
by dom
You need root privilege to write to config.txt from the pi.
Open lxterminal and type
(sudo gives you root privilege)
Alternatively edit the config.txt file on a PC.
Re: Config.txt not working
Posted: Fri Oct 26, 2012 9:58 pm
by Liam83
Thank you dom. I am using my laptop to edit the details of the file as my Raspberry Pi (which I am disliking by the minute!) isn't having it.
I have tried changing the framebuffer, hdmi mode (I am using a HDMI TV) and ensured the HDMI group is set to 1 (CEA) and the font size hasn't changed one bit in X. Am I doing something wrong?
Re: Config.txt not working
Posted: Fri Oct 26, 2012 11:03 pm
by bredman
There are no options in config.txt to change the font size. The config.txt file just changes the screen resolution.
Re: Config.txt not working
Posted: Sat Oct 27, 2012 8:49 am
by Liam83
Thanks Bredman I know config.txt only changes the resolution but when I change the above detials the resolution is the same.
I need to lower the resolution so I can see the text on my tv without sitting too close to the screen. I have seen this can be done (by looking at other forum posts) but I can't get it to work.
Re: Config.txt not working
Posted: Sat Oct 27, 2012 9:18 am
by thsBavR10
Hi Liam,
have a look at
http://www.raspberrypi.org/phpBB3/viewt ... 30#p129362
there is the hint:
Code: Select all
sudo nano /etc/default/console-setup
Find the lines
Change it to somthing like
Code: Select all
FONTFACE="Terminus"
FONTSIZE="12x24"
to choose a large font
Re: Config.txt not working
Posted: Sat Oct 27, 2012 4:32 pm
by Liam83
Thanks theBay. I have followed these instructions which has made using Linux a lot easier. I found a similar code to do this before but I didn't know how to save it.
However I still can not change the resolution of the Operating System - X.
Re: Config.txt not working
Posted: Sat Oct 27, 2012 5:57 pm
by mahjongg
Stupid question, but it has been the cause of "config.txt not working" before.
You do realise that a line in config.txt is only activated if you remove the comment sign"#" before it do yo ?!
Its obvious for anybody that has done any kind of programming, but it seems not for everybody.
Re: Config.txt not working
Posted: Sat Oct 27, 2012 7:49 pm
by Liam83
Hi mahjong
I have done a little bit of programming and know the # is a comment line which the computer does not read. But I did not want to mess around with this coding too much. I will try it now though, thank you

Re: Config.txt not working
Posted: Sun Oct 28, 2012 9:38 am
by thsBavR10
Liam83 wrote:However I still can not change the resolution of the Operating System - X.
I gooooogled a little and found this:
http://forum.lxde.org/viewtopic.php?f=8&t=31153
Didn't try it yet, give it a chance. Maybe it helps a little

Re: Config.txt not working
Posted: Sun Oct 28, 2012 6:28 pm
by Liam83
Thank you everyone for your help. My R-Pi is now running at a suitable size which I can see
TheBay - Thank you for sending me that link. The font that you can change through this method is the font for the programmes themselves and not the OS font size on the Desktop.
Now to get the sound to work in X...
Re: Config.txt not working
Posted: Mon Nov 05, 2012 9:17 pm
by lordoxford
OK, Mahjongg - you are a moderator - tell me, yes or no, is the config.txt file on the SD card read and acted upon? It's no good telling me to edit the config.txt file on the running RPi if I cannot read the tiny text on my monitor! Anyway - I cannot even get to the "Console" prompt, let alone run an editor.
I need to do something on the PC at "SD card" level before I can interact with the Pi unix.
lox.
Re: Config.txt not working
Posted: Mon Nov 05, 2012 9:21 pm
by itimpi
The config.txt file IS acted on if in the correct format. As it is on the FAT partition it visible to Windows so can be edited on a PC or Mac. However you need an editor that knows how to use unix/Linux end-of-line characters (e.g. WordPad, notepad+).
Re: Config.txt not working
Posted: Tue Nov 06, 2012 3:37 pm
by lordoxford
Please specify this format!!
Coy remarks from the cognoscenti are of no use to we tyros.
I've "Edited" the config.txt file and this has no evident effect.
lox.
Re: Config.txt not working
Posted: Tue Nov 06, 2012 3:46 pm
by itimpi
lordoxford wrote:Please specify this format!!
A text file with unix style end-of-line characters.
Details of specific entries that can be included are laid out in the wiki at
http://elinux.org/RPi_config.txt
Coy remarks from the cognoscenti are of no use to we tyros.
I've "Edited" the config.txt file and this has no evident effect.
lox.
You have given no information as far as I can see in terms of what you are trying to achieve and what you have tried in the config.txt file. Without that sort of information it is rather difficult to help you.
Re: Config.txt not working
Posted: Tue Nov 06, 2012 3:48 pm
by itimpi
lordoxford wrote:Please specify this format!!
A text file with unix style end-of-line characters.
Details of specific entries that can be included are laid out in the wiki at
http://elinux.org/RPi_config.txt
Coy remarks from the cognoscenti are of no use to we tyros.
I've "Edited" the config.txt file and this has no evident effect.
lox.
You have given no information as far as I can see in terms of what you are trying to achieve and what you have tried in the config.txt file. Without that sort of information it is rather difficult to help you.
Re: Config.txt not working
Posted: Wed Nov 07, 2012 3:53 am
by Vindicator
Your post is rather vague and therefore it is difficult to answer your question with any degree of accuracy.
Depending on what you are trying to accomplish with the config.txt file this may or may not be the file you need to edit.
The format is a text editor like notepad or wordpad.
For a specific answer to your problem it would be helpful to have specific information as to what you may be trying to achieve.