Fedora Linux Support Community & Resources Center
  #1  
Old 5th March 2012, 07:06 AM
robertdaleweir Offline
Registered User
 
Join Date: Oct 2005
Location: British Columbia, Canada
Posts: 421
linuxfirefox
Using Gedit as Root

Hi
I have been trying to do some editing as Root and I get a message everytime I try to open 'gedit' at the command line. This error is ' 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.65H3AW': No such file or directory'. The editor opens but I was wondering why this error shows each time. Is there something I can do to dispense with this message or possibly an explanation as to why it shows up. Thanks...
__________________
Robert :)
Kernel 3.9.10-100.fc17.x86_64 GNOME 3.4.2
CPU AMD 955 Quad Core
MoBo Gigabyte MA785GM-UD2H-AM3 MicroATX
Memory 8 Gigs OCZ DDR3-1333 PC-10666
Reply With Quote
  #2  
Old 5th March 2012, 07:18 AM
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 7,320
linuxfirefox
Re: Using Gedit as Root

I got that same error for awhile, until I fixed it

It appears that by default, there is no .local folder set up in /root

Code:
su -
(root password)

cd /root

mkdir .local
cd .local
mkdir share
Once I created the directories, then it was able to create the files properly, and I didn't get the errors anymore.

Or you can just ignore the errors if you wish. It is just telling you that it can't create the file that it uses for it's recently used items. If you don't have a need for the recent items, then you can just ignore the error.

Last edited by DBelton; 5th March 2012 at 07:27 AM.
Reply With Quote
  #3  
Old 6th March 2012, 02:00 AM
robertdaleweir Offline
Registered User
 
Join Date: Oct 2005
Location: British Columbia, Canada
Posts: 421
linuxfirefox
Re: Using Gedit as Root

Quote:
Originally Posted by DBelton View Post
I got that same error for awhile, until I fixed it

It appears that by default, there is no .local folder set up in /root

Code:
su -
(root password)

cd /root

mkdir .local
cd .local
mkdir share
Once I created the directories, then it was able to create the files properly, and I didn't get the errors anymore.

Or you can just ignore the errors if you wish. It is just telling you that it can't create the file that it uses for it's recently used items. If you don't have a need for the recent items, then you can just ignore the error.
Hi DBelton
Thank you. I will put that in and get rid of the message. I appreciate it.
__________________
Robert :)
Kernel 3.9.10-100.fc17.x86_64 GNOME 3.4.2
CPU AMD 955 Quad Core
MoBo Gigabyte MA785GM-UD2H-AM3 MicroATX
Memory 8 Gigs OCZ DDR3-1333 PC-10666
Reply With Quote
  #4  
Old 6th March 2012, 06:07 AM
gurutech Offline
Registered User
 
Join Date: Nov 2008
Location: Central NJ
Posts: 368
windows_7firefox
Re: Using Gedit as Root

I always had the same problem.... switched to vi as a result.... learned that pretty quick though...
Reply With Quote
  #5  
Old 10th March 2012, 06:16 AM
schotty Offline
Registered User
 
Join Date: Jul 2005
Posts: 208
windows_xp_2003ie
Re: Using Gedit as Root

Another option is to just do a

Code:
sudo gedit
as the unpriveledged user. Thats what I have been doing for some time, and I do not get that X error either. Plus I have been trained in the mindset of never really logging in as root.

Last edited by schotty; 10th March 2012 at 06:17 AM. Reason: Typo
Reply With Quote
Reply

Tags
gedit, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F14, can't run gedit as root twohot Using Fedora 44 29th November 2011 06:41 AM
Cannot use gedit as Root Kevin1a Using Fedora 6 19th March 2011 04:05 AM
Gedit not working for root Shugs81 Using Fedora 14 18th March 2011 12:18 PM
[SOLVED] Gedit Root Error dmachop Using Fedora 2 1st January 2011 02:34 PM
gedit problems with root yellow Using Fedora 15 28th October 2008 06:29 PM


Current GMT-time: 15:08 (Tuesday, 21-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Donghai Travel Photos - Lille - Whakatane