GNOME Bugzilla – Bug 504067
gedit doesn't use xdg dirs for saving content
Last modified: 2009-11-15 18:47:02 UTC
We have xdg directories for saving content, gedit should default to saving things in Documents/ so that the files can be easily found again in the future, as well as be translated for local. Other information:
Gedit remembers the last folder where a document was saved, so I think this cannot be applied right now. Open the bug again if you think that the current behavior is not the one expected.
We had the same bug downstream a while ago ([1])and we got the following comment after I pasted your comment about why the upstream bug was closed: >>> How about on default install, it points to Documents directory. Right after installation of Ubuntu. Then when the user uses gedit, it will then point to the last directory used. Another idea would be to point to last used directory, but revert to Documents directory every 30 days. <<< Regarding the first issue, he is right. Right after installation, gedit suggest the /home/$(USER)/ directory to save a file instead of /home/$(USER)/Documents. I think this should be changed (if it is actually not only a problem of Ubuntu). For the second issue it seems just to difficult to find an appropriate rule when the directory should be reverted, but if you can think of something, I wouldn't mind. Thanks. [1]: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/194904