Recent documents are automatically cleared

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
colibris79
Level 3
Level 3
Posts: 118
Joined: Sun Mar 09, 2014 8:43 am

Recent documents are automatically cleared

Post by colibris79 »

Hi,
I am using Mint 17.3 Mate and these have been happening for a while and I have no idea why or what triggers it. After some time (a few days) the recent documents are cleared automatically (and in other apps like Pluma). Does anyone experience the same? and more important, how to stop it?
Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pierre
Level 21
Level 21
Posts: 13226
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Recent documents are automatically cleared

Post by Pierre »

well, on this 17x Mate - nothing is cleared from history,
which is a bit of a pain, as it has to be cleared manually.

has anyone else have this issue?
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
colibris79
Level 3
Level 3
Posts: 118
Joined: Sun Mar 09, 2014 8:43 am

Re: Recent documents are automatically cleared

Post by colibris79 »

Pierre wrote:well, on this 17x Mate - nothing is cleared from history,
which is a bit of a pain, as it has to be cleared manually.
Hi, Pierre. Well, that's exactly what I would like to happen :)
The problem is that I have no clue about when this happens.
colibris79
Level 3
Level 3
Posts: 118
Joined: Sun Mar 09, 2014 8:43 am

Re: Recent documents are automatically cleared

Post by colibris79 »

Ok, now I have discovered when it happens. Whenever I open Pluma as superuser from terminal or open a document with Pluma from terminal, I edit and I save it. My recent documents are gone. For example:

Code: Select all

sudo pluma /home/user/doc.txt
Or

Code: Select all

sudo pluma

:shock: :shock: :shock: :shock:
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Recent documents are automatically cleared

Post by jimallyn »

I believe you should be using gksudo rather than sudo for starting graphical programs. Otherwise, the ownership of your files will be changed to root. You might have a look at this:

viewtopic.php?t=228412
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
colibris79
Level 3
Level 3
Posts: 118
Joined: Sun Mar 09, 2014 8:43 am

Re: Recent documents are automatically cleared

Post by colibris79 »

jimallyn wrote:I believe you should be using gksudo rather than sudo for starting graphical programs. Otherwise, the ownership of your files will be changed to root. You might have a look at this:

viewtopic.php?t=228412
Maybe that was a bad example. But when I edit config files I need to be superuser.

Code: Select all

sudo pluma /etc/rc.local
Thanks for the info, with gksudo does not happen, so great! :D
Locked

Return to “MATE”