How to edit and save your config.txt file ?

Post tips/tricks or get help with configuring Recalbox
Post Reply
Valadone
Posts: 53
Joined: Tue Feb 07, 2017 12:39 pm
Has thanked: 8 times
Been thanked: 5 times

How to edit and save your config.txt file ?

Post by Valadone » Tue Mar 07, 2017 4:27 pm

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 22139 times
What are you using to edit this file ?

thanks

dadi4168
Posts: 25
Joined: Wed Feb 08, 2017 8:56 pm
Has thanked: 12 times
Been thanked: 5 times

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

Post by dadi4168 » Tue Mar 07, 2017 6:08 pm

I use Putty. Free SSH software.

http://www.putty.org/

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

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

Post by VeteranGamer » Wed Mar 08, 2017 2:26 am

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

User avatar
ABH
Posts: 188
Joined: Sat May 28, 2016 7:01 pm
Location: Qatar
Has thanked: 82 times
Been thanked: 113 times

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

Post by ABH » Wed Mar 08, 2017 2:34 am

Double check
Image

Valadone
Posts: 53
Joined: Tue Feb 07, 2017 12:39 pm
Has thanked: 8 times
Been thanked: 5 times

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

Post by Valadone » Wed Mar 08, 2017 4:58 am

ABH wrote:Double check
Image
Micro SD so i don't have this issue ^^

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

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

Post by kite » 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!
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/


ImageImageImageImageImage

User avatar
fernandinho1337
Posts: 37
Joined: Sat Nov 12, 2016 2:07 pm
Location: Germany
Has thanked: 13 times
Been thanked: 5 times

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

Post by fernandinho1337 » Mon May 08, 2017 9:22 am

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
Who is "Jessie" and why does he like pi(e)?

Apis
Posts: 68
Joined: Mon Oct 31, 2016 11:44 am
Has thanked: 35 times
Been thanked: 33 times

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

Post by Apis » Tue May 30, 2017 11:20 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest