get gedit to work
Hello,
I installed Debian7 with just the cli working then added gnome-session and the window manager. After this I added gedit but it will not edit configuration files but nano will. I want to use gedit to do this, is there a way to do this without adding gnome-core? Fred. |
Your description of the problem is a bit vague. Can you tell us exactly what you did. Were you working from the command line as with nano? If you were using a gui did you invoke it with gksu or gksudo? I suspect a permissions issue. Am I right?
jdk |
Quote:
|
Getting gedit to work
Thanks, I had forgotten about gksu. When invoked with gk, gedit worked but the cli complained a bit:
fred@debianpish:/etc/snort$ gksu gedit snort.debian.conf (gedit:3679): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported (gedit:3679): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.KSIR1W': No such file or directory (gedit:3679): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory (gedit:3679): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.RF0O1W': No such file or directory (gedit:3679): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory (gedit:3679): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.HA7T1W': No such file or directory (gedit:3679): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory fred@debianpish:/etc/snort$ This does n't look good but it did make the desired changes to snort. When I did the same thing using nano it also worked but without the warnings. I'm not sure why this is. I do like the present set in that I don't have loads of programs that I will never use but need to sort the errors. Fred. |
All times are GMT -5. The time now is 11:42 PM. |