Choose style:

Author Topic: how to disable the recently opened files folder  (Read 761 times)

0 Members and 1 Guest are viewing this topic.

Offline johnny so-low

  • Jr. Member
  • **
  • Posts: 26
  • Karma: 4
  • everyday's a new disaster
    • View Profile
  • Peppermint version(s): 9
how to disable the recently opened files folder
« on: October 13, 2018, 04:38:00 pm »
go to dconf editor , ORG, NEMO , PRIVACY   ... untick save recent and boom bobs your uncle
« Last Edit: October 13, 2018, 04:59:54 pm by johnny so-low »
im a hillbelly i lay dwn & my belly makes a hill

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22474
  • Karma: 2509
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: how to disable the recently opened files folder
« Reply #1 on: October 13, 2018, 05:25:46 pm »
Nice, I didn't know about that :)

Another method might be to delete then recreate (an empty):-
~/.local/share/recently-used.xbel
with:
Code: [Select]
rm -v ~/.local/share/recently-used.xbel && touch ~/.local/share/recently-used.xbel
then make it immutable with:
Code: [Select]
sudo chattr +i ~/.local/share/recently-used.xbel
if you decide you need that file to be writeable again, remove the immutable flag with:
Code: [Select]
sudo chattr -i ~/.local/share/recently-used.xbel



On a similar "privacy" note .. you can also hide the "Recent" folder icon in Nemo with the dconf-editor key
Code: [Select]
gsettings set org.nemo.privacy remember-recent-files false
and re-enable it with
Code: [Select]
gsettings set org.nemo.privacy remember-recent-files true
« Last Edit: October 13, 2018, 05:53:11 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline johnny so-low

  • Jr. Member
  • **
  • Posts: 26
  • Karma: 4
  • everyday's a new disaster
    • View Profile
  • Peppermint version(s): 9
Re: how to disable the recently opened files folder
« Reply #2 on: October 13, 2018, 07:38:44 pm »
i had originally installed activity log monitor and shut it off from there but quickly noticed zeitgeist throwing up a ton of errors looking for the .xbel file  .. searched through every single dconf setting till i found this haha

im a hillbelly i lay dwn & my belly makes a hill

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22474
  • Karma: 2509
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: how to disable the recently opened files folder
« Reply #3 on: October 13, 2018, 08:16:26 pm »
Be aware, setting

org.nemo.privacy remember-recent-files false

won't stop recent files from being remembered in applications .. eg. open a test file in xed, then reopen xed and click on "File" and it'll still display recently opened text files.

the Nemo gsetting only HIDES the icon in Nemo itself, it doesn't stop recent files from being recorded .. AFAIK that can only easily be done by making the recently-used.xbel file immutable .. you're bound to get log file (and possibly Gtk) warnings but they're nothing to worry about .. the logs will get rotated out before they get too big anyway.



Theoretically it might be possible to add some gsettings keys for Nemo (that correspond to the ones in Gnome) that allow you to set a maximum remembered files count and an age limit .. I'll look into that if/when I have time.
« Last Edit: October 13, 2018, 08:21:48 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline johnny so-low

  • Jr. Member
  • **
  • Posts: 26
  • Karma: 4
  • everyday's a new disaster
    • View Profile
  • Peppermint version(s): 9
Re: how to disable the recently opened files folder
« Reply #4 on: October 13, 2018, 09:30:27 pm »
oh thanks for that .. i was thinking that the dconf setting made the file immutable ..... good to know . what im really trying to figure out is how to stop the daemon from even trying to remember files
im a hillbelly i lay dwn & my belly makes a hill

Offline johnny so-low

  • Jr. Member
  • **
  • Posts: 26
  • Karma: 4
  • everyday's a new disaster
    • View Profile
  • Peppermint version(s): 9
Re: how to disable the recently opened files folder
« Reply #5 on: October 13, 2018, 09:36:47 pm »
so am i understanding this app description wrong .. it says this app STOPS zeitgeist from saving files  to logs and can be set up with filters of file type https://www.addictivetips.com/ubuntu-linux-tips/disable-delete-zeitgeist-logs-in-ubuntu-with-activity-log-manager/
im a hillbelly i lay dwn & my belly makes a hill

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22474
  • Karma: 2509
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: how to disable the recently opened files folder
« Reply #6 on: October 14, 2018, 06:21:05 pm »
a) that PPA only includes versions for Raring and Saucy .. so won't work on anything after Peppermint 6

and

b) zeitgeist isn't actually installed by default on Peppermint 9
(though libzeitgeist is because it's a dependency of nemo)
« Last Edit: October 14, 2018, 06:22:37 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline johnny so-low

  • Jr. Member
  • **
  • Posts: 26
  • Karma: 4
  • everyday's a new disaster
    • View Profile
  • Peppermint version(s): 9
Re: how to disable the recently opened files folder
« Reply #7 on: October 14, 2018, 06:56:03 pm »
i learn something new every day ..
im a hillbelly i lay dwn & my belly makes a hill

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22474
  • Karma: 2509
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: how to disable the recently opened files folder
« Reply #8 on: October 14, 2018, 08:10:11 pm »
That's the cool thing about Linux .. always something new to learn, then tweak.

On Windows there's plenty to understand, but once learned there's nothing you can do with the knowledge .. no fun to be had bending it to your will :)

That right there is what I admire so much about Linux .. everything is tweakable, just depends how far down the rabbit hole you choose to venture.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline johnny so-low

  • Jr. Member
  • **
  • Posts: 26
  • Karma: 4
  • everyday's a new disaster
    • View Profile
  • Peppermint version(s): 9
Re: how to disable the recently opened files folder
« Reply #9 on: October 15, 2018, 12:02:27 am »
that's exactly how i feel , i generally go pretty far out of my way sometimes to do something that will break my installation just so that i can see if i can figure out how to fix it ... LOL , not really but i dont ever have any hesitations in making a change that might be catastrophic cause i know all my data is backed up and i can reinstall in under 15 minutes  .. the most fun i have is my never ending search for lesser known apps and tools that simplify the tasks that i do
im a hillbelly i lay dwn & my belly makes a hill

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22474
  • Karma: 2509
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: how to disable the recently opened files folder
« Reply #10 on: October 15, 2018, 04:59:46 pm »
Yep, Unix/Linux "everything is a file" was a stroke of genius
https://en.wikipedia.org/wiki/Everything_is_a_file
basically it lays the entire system open to you .. ya gotta admire that foresight.

And then along came systemd.....
(doesn't quite break the "everything is a file" principle, but sure makes a mess of the "do one thing and do it well" one ::))
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec