Edit .conf files

Noob question. I’m trying to edit the .conf files as suggested here:

It’s saying I don’t have permission to change it. It’s read only.
I looked through the tips section, and set a password for root. But beyond that, I know you can do serious damage poking around blindly with root level access. How do I edit /etc/geoclue/geoclue.conf

I’m new at Linux and know enough to know, I don’t know what I’m doing.

Make backup of file to your home directory
sudo cp -a /etc/geoclue/geoclue.conf ~/.

Edit file:
sudo nano /etc/geoclue/geoclue.conf

If in doubt about your changes, restore file from your home directory:
sudo cp -a ~/geoclue.conf /etc/geoclue/geoclue.conf

This is supposed to be all on one line. Mentioning because my phone browser is wrapping a portion of it to the next line.

1 Like

Thank you!