(SOLVED) not allowed to save text doc

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jstich
Level 4
Level 4
Posts: 236
Joined: Mon Jan 27, 2020 10:24 pm
Location: Fargo,ND

(SOLVED) not allowed to save text doc

Post by jstich »

I'm trying to load dbus modules at start up so i I don't have to load them each time I turn the pc on.There is some text I have to add to a text file to accomplish this. I think I found the right /etc file to add to.I add the three lines of code to the bottom of the document but I get a message saying I don't have permission to save it.Is there some other place I have to add the three lines of code to? i added it to the bottom of the text document.I'm sorta stumped.Do I do something with the CLI?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Mint 21.2 64bit,i7 4770, RX570 8GB VRAM,16GB RAM, , Asus G74sx laptop with Mint 21.2
User avatar
JoeFootball
Level 13
Level 13
Posts: 4674
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: not allowed to save text doc

Post by JoeFootball »

jstich wrote: I think I found the right /etc file to add to.
Try: sudo nano /etc/WhateverTheFileNameIs

Edit: https://www.howtogeek.com/howto/42980/t ... xt-editor/
User avatar
AndyMH
Level 21
Level 21
Posts: 13578
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: not allowed to save text doc

Post by AndyMH »

Or in your file manager, navigate to / and then right click on /etc and 'open as root', scroll down to the file you want and then double click on it to edit.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
jstich
Level 4
Level 4
Posts: 236
Joined: Mon Jan 27, 2020 10:24 pm
Location: Fargo,ND

Re: not allowed to save text doc

Post by jstich »

Thanks Joe.I have the document in the xed text editor. Do I have to transfer that to the nano editor in the CLI then add the 3 lines?The document I'm trying to add to says it's read only.Crud I thought I was close! I'm not quite following how nano relates to the problem. I have so much more to learn. :oops:
Mint 21.2 64bit,i7 4770, RX570 8GB VRAM,16GB RAM, , Asus G74sx laptop with Mint 21.2
jstich
Level 4
Level 4
Posts: 236
Joined: Mon Jan 27, 2020 10:24 pm
Location: Fargo,ND

Re: not allowed to save text doc

Post by jstich »

Thanks Andy. I'll try that.
Mint 21.2 64bit,i7 4770, RX570 8GB VRAM,16GB RAM, , Asus G74sx laptop with Mint 21.2
User avatar
JoeFootball
Level 13
Level 13
Posts: 4674
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: not allowed to save text doc

Post by JoeFootball »

jstich wrote: I'm not quite following how nano relates to the problem.
nano is a text editor, just like xed is a text editor. :) See the link that I provided for more information.

My suggestion was to open the file in nano (with sudo for elevated privileges), and add the lines from there.
jstich
Level 4
Level 4
Posts: 236
Joined: Mon Jan 27, 2020 10:24 pm
Location: Fargo,ND

Re: (SOLVED) not allowed to save text doc

Post by jstich »

I now have my graphic eq gui when I put qpaeq in the CLI after re starting.Awesome. I should have thought to open it as root but was confused.I think I'm gonna stick with xed for as long as I can because I got it to work for me. It's a blessing and a curse to have so many ways to do the same thing on Linux.Was nice to get this done. Thanks again to both of you! EDIT: A curse for a newb like me,not for pros.
Mint 21.2 64bit,i7 4770, RX570 8GB VRAM,16GB RAM, , Asus G74sx laptop with Mint 21.2
User avatar
AndyMH
Level 21
Level 21
Posts: 13578
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: (SOLVED) not allowed to save text doc

Post by AndyMH »

I suggested xed as it is a GUI text editor, nano is not and more confusing for newbies.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Locked

Return to “Beginner Questions”