2

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.

7ochem
  • 191
mote
  • 325

1 Answers1

2

Use the following steps to circumvent the issue: (this is a workaround, not a solution)

  • create a new user (E.g. mote2 for original user mote)
  • with the same groups as the other user (if you need details on that, leave a comment)

Now:

  1. open the file manager
  2. browse to the /home/mote directory
  3. copy (not move!) all the files from Downloads to /home/mote2/Downloads
  4. check you did a good job.
  5. Now delete /home/mote/Downloads
  6. Go back to step 3 and repeat for Documents, Videos, ...
  7. In a terminal type the following command: deluser mote --remove-home

Done!

Why? As you have seriously messed up some problems with the current's user profile, some setting somewhere in one of the .config files is causing a problem. As we can't solve this problem in a reasonable amount of time, it's best to just leave that profile behind and starting afresh!

Fabby
  • 35,017