Link to home
Start Free TrialLog in
Avatar of fredhart
fredhart

asked on

gedit is in read only mode

I try to use gedit, but it is always in read only mode.
It is not possible to save the text.
How can I change that.
Avatar of slow1000
slow1000

Probably an oversimplistic solution, but are you sure you have read/write permissions on the files.  If you try to edit config files from /etc or other read only locations, gedit will only be able to write if you are running it from the root account.

Otherwise, see if there is a .gedit file in your home directory or in /etc that has a setting to limit gedit to read-only.
Avatar of fredhart

ASKER


I have tried to find a .gedit file but there is none.
I suppose there must be somewhere a config file for gedit

The moment I open gedit and I type in one character , gedit switches to read only.

Maybe it helps if I give some history:
It all started when suddenly the keyboard was complete disabled for a certain user, the mouse worked normal.
For other users there was no problem.
I created a new user and  I copied all files to a new user, I removed the old user and his directory.
I created again that user and copied back all the files. From that moment I couldn't use gedit anymore.


I have to add that the user directory has permission 750
Is the problem unique to that user, or is it systemwide?
It is system wide, even when logging in as root.
gedit is a X application, or? i hope you are starting it as some user or as root?
after you are in some window manager (KDE, Gnome, whatever) you start gedit. how do you do it? click on icon or open a terminal, enter gedit an press enter?

-michael
ASKER CERTIFIED SOLUTION
Avatar of slow1000
slow1000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
slow1000 thanks, I removed it and reinstalled it.
The problem is gone.