Page 1 of 1

How to edit and save your config.txt file ?

Posted: Tue Mar 07, 2017 4:27 pm
by Valadone
Hello,

I want to change some settings of my display to fit perfectly with my screen but when i use winSCP, i have an error "Permission READ ONLY" when i try to save the config.txt file.

When i see the file, i'm in root and i can read-edit-save the file
config_file.png
config_file.png (26.89 KiB) Viewed 22708 times
What are you using to edit this file ?

thanks

Re: How to edit and save your config.txt file ?

Posted: Tue Mar 07, 2017 6:08 pm
by dadi4168
I use Putty. Free SSH software.

http://www.putty.org/

Re: How to edit and save your config.txt file ?

Posted: Wed Mar 08, 2017 2:26 am
by VeteranGamer
i prefer to use Notepad ++

you can open the config file, do any edits and save.... all done on your pc no need to ssh (also great if having connection issues)

its a great application that everyone should have on their pc

https://notepad-plus-plus.org/

https://notepad-plus-plus.org/download/v7.3.2.html

Re: How to edit and save your config.txt file ?

Posted: Wed Mar 08, 2017 2:34 am
by ABH
Double check
Image

Re: How to edit and save your config.txt file ?

Posted: Wed Mar 08, 2017 4:58 am
by Valadone
ABH wrote:Double check
Image
Micro SD so i don't have this issue ^^

Re: How to edit and save your config.txt file ?

Posted: Wed Mar 08, 2017 5:11 am
by kite
You can't edit it from winSCP because you logged in with the user 'pi' , which doesn't have permissions to edit that file! When you SSH (using PuTTY) you have to 'sudo <edit>' the file.. as far as i'm aware you can't sudo in winscp ;) take the SD out and put it in your PC, you can edit it on the fat32 partition!

Re: How to edit and save your config.txt file ?

Posted: Mon May 08, 2017 9:22 am
by fernandinho1337
kite wrote:
Wed Mar 08, 2017 5:11 am
You can't edit it from winSCP because you logged in with the user 'pi' , which doesn't have permissions to edit that file! When you SSH (using PuTTY) you have to 'sudo <edit>' the file.. as far as i'm aware you can't sudo in winscp ;) take the SD out and put it in your PC, you can edit it on the fat32 partition!
either insert in your computer or setup wifi before and enter via putty using wifi. i do not open my handhels anymore since i do everything using wifi (much more comfortable, less risk of damaging when opening up...)

regards

Re: How to edit and save your config.txt file ?

Posted: Tue May 30, 2017 11:20 am
by Apis
Recalbox is read-only by default. (stops the sd card corruption due to improper shutdowns)

See this mini-how-to: https://github.com/recalbox/recalbox-os ... e-%28EN%29

Basically, connect via ssh (click the link and READ!, then just mount /boot as read&write, then edit the config.txt normally. Easy peasy.