LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2013, 09:34 PM   #1
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
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.
 
Old 08-04-2013, 12:37 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
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
 
Old 08-04-2013, 03:16 AM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
Originally Posted by Fred Caro View Post
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.
no if you do not have some full vs of a GUI, you will not have access to gedit. it does not sound like you have fully enabled X11. until you perform that task, gedit will be out of your reach. if you with to edit via the CLI, use vi or vim.
 
Old 08-06-2013, 02:51 PM   #4
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Original Poster
Rep: Reputation: 166Reputation: 166
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.

Last edited by Fred Caro; 08-06-2013 at 02:52 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Will Older Versions of GNOME Work with Gedit 3? mrm5102 Linux - Software 7 01-05-2012 11:32 AM
Why doesn't 'sudo gedit' work in Vinagre? abbotm Linux - Newbie 2 10-13-2010 06:43 PM
Why wont gedit work? crackheadjunky Linux - General 6 08-13-2006 11:05 AM
Xserver doesnt start and cant work with gedit! luisator Red Hat 3 03-28-2005 10:19 PM
gedit wont work doralsoral Linux - Software 3 02-02-2004 07:08 PM


All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration