Gedit can't save files. My Gedit has greyed out the 'Save' button, and only offers to 'Close without saving'. Other programs saves the same files without any problems and i seem to have enough rights. This happends with files all my home folder, even on a usb drive. With 'gksudo gedit' it works. But i have the permission for the file, and i can save the file if i open it with Libre office write instead, only gedit will not. If i make a test file on my desktop, that have the permission read and write, for Me, my group and others. I open it with gedit, i cannot save it. open it with libre office i can save it. with 'sudo gedit' it does not work, but with 'gksudo gedit' i can save it. i must have broken something in gedit?
The only thing i have been messing with are changing the 'Run', 'Display or 'Ask' option for texts files in Nautilus, but i set it back. I also reinstalled gedit.
I can't figure out what to do, please help.