LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do I re-gedit sources.list (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-re-gedit-sources-list-4175463427/)

DavidLee1A 05-25-2013 01:35 PM

how do I re-gedit sources.list
 
I had to disable cd in sources.list so I put a # in the right place. I want to take it back off since I am done installing the current drivers for my printer. This is what I get (running Debian 7 Wheezy):
Code:

root@DavidLee1A:/etc/apt# dir
apt.conf.d          preferences.d  sources.list~        trustdb.gpg  trusted.gpg.d
listchanges.conf  sources.list        sources.list.d  trusted.gpg
root@DavidLee1A:/etc/apt# gedit sources.list

(gedit:16158): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


** (gedit:16158): WARNING **: Could not connect to session bus

How am I supposed to get back into gedit in the command line?

John VV 05-25-2013 01:46 PM

Are "nano" or "vi" installed ?

one of them should be
use the terminal editor

DavidLee1A 05-25-2013 04:44 PM

Thank you! Used VIM after a quick review on vimtutor (been a while since I used vim) and it worked.


All times are GMT -5. The time now is 10:44 PM.