Gedit is an application that I’m using all the time, sometime just to keep a note of information or compare some output, or to remove some not wanted formatting, even not saving anything
However, I often open the same files.
Beside the “Open” menu, you have a droplist which usually contain the last opened file
but mine is empty at the beginning of everyday (I can’t do a screenshot when the droplist is open !)
During the day, when I open some files, they come to this “recent” list
But after a reboot, the list is empty again
Is there a way to keep this list across reboot ?
It was working on my previous Gnome installation and it works with some other applications like LibreOffice by example
I had a “File History Duration” for 30days !
So I have a doubt about this …
I have set “Forever” like you, but I can’t reboot right now !
Also on Ubuntu 24.04 LTS
oh, and btw now that I think about it , I’m using also “Geany” which is also a text editor with also the same droplist , and it works perfectly in this one
And I see “only” the files that I had opened with it
Which isn’t the case in the “Recent” section in the “Open file” dialog
It’s like the list isn’t saved somewhere !
Looks even worst than I believed … when I post my first message 2h ago, I opened a few files
Then I closed Gedit , reopened and they was there
Now I’m reopening it … and they are gone , list is again empty
And I didn’t reboot or disconnect in between
Strange that you can’t reboot. What about forcing a shutdown by pressing the Power button for 10 seconds and resetting to the initial setting to see if it’s just a coincidence?
I’d suggest reinstalling Gedit:
sudo apt purge gedit
sudo apt install gedit
But if the problems persist with Gedit, Geany or whatever application or using file history, I wonder if it might be worth reinstalling the system…
no, no, you misunderstood
I’m working right now … I’m connected through a VPN, and have a lot of application open
If I reboot my laptop, I need to close everything first and then reconnect and reopen everything, which is around 10min
reinstalling gedit is a possibility
reinstalling the system is not applicable … too complex , I can’t do that
… sounds like your gedit instance can’t write down its settings.
Yes, this is also my feeling …
Have you ever launched sudo gedit ?
No … to see if the information is stored …I can try that
Check into $HOME any hidden files and folders belong to you as $USER.
I have a lot of hidden files and folder in my $HOME
But the file(s) for gedit are in ~/.config/gedit/ and I have read and write access to it
there is only 1 file in it :
accels
which doesn’t contain much …
I completely removed gedit including related package and reinstalled everything “fresh” including the ‘plugin’ package which, I think, wasn’t there previously
I rebooted this morning, but I didn’t had time to properly test because I’m a little bit “overloaded” today …