How shorten 'recent files' list

Questions about applications and software
Forum rules
Before you post please read how to get help
Pepper-Mint-Patty
Level 5
Level 5
Posts: 609
Joined: Fri Dec 20, 2019 4:54 pm
Location: Royston Vasey

How shorten 'recent files' list

Post by Pepper-Mint-Patty »

How shorten 'recent files' list on Mint 19.2?
Last edited by karlchen on Sun Feb 21, 2021 9:18 am, edited 2 times in total.
Reason: --
Language is a virus.
19.2 Cinn, Nemo
User avatar
AZgl1500
Level 15
Level 15
Posts: 5753
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: How shorten 'recent files' list

Post by AZgl1500 »

Pepper-Mint-Patty wrote:
Sun Feb 21, 2021 7:56 am
How shorten 'recent files' list on Mint 19.2?
1st, you seem to have left out an implied 'to' in the sentence/title.

I just checked and my Recent Files list is 20, and I don't think that number has changed over time for me.
Personally, if it were shorter, I would miss some things that are important.

But as to how to make the list shorter, down to say just 5 items, I have no clue.

Not exactly what you asked for, but close: https://unix.stackexchange.com/question ... linux-mint

This link suggests there is a Setting to control that: https://stackoverflow.com/questions/405 ... cent-files

This link shows how to create the list in the 1st place, not what you wanted, but maybe can provide a clue to how to make the list a specific length: https://www.instructables.com/Ubuntu-Re ... ndows-in-/
Linux Mint 19.3 Cinnamon / ASUS FX705GM
mikeflan
Level 5
Level 5
Posts: 917
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: How shorten 'recent files' list

Post by mikeflan »

Type this in terminal

Code: Select all

dconf-editor
Navigate to /com/linuxmint/mintmenu/plugins/recent/num-recent-docs
It can be changed there.
Pepper-Mint-Patty
Level 5
Level 5
Posts: 609
Joined: Fri Dec 20, 2019 4:54 pm
Location: Royston Vasey

Re: How shorten 'recent files' list

Post by Pepper-Mint-Patty »

@AZgl1500
1st, you seem to have left out an implied 'to' in the sentence/title.
No i haven't but as you can (not) see a moderator has been messing with my text and even deleted one reply to that!

Thnx mikeflan, i will give it a try! :)
Language is a virus.
19.2 Cinn, Nemo
User avatar
Termy
Level 6
Level 6
Posts: 1465
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: How shorten 'recent files' list

Post by Termy »

That would be my reply. :roll: I thought I was going mad, 'cause I could've sworn I posted. :lol:
I use Linux Mint 18.3 with Cinnamon in a VirtualBox VM for testing & sandboxing.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/c/learnlinux
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife
User avatar
ricardogroetaers
Level 5
Level 5
Posts: 635
Joined: Sat Oct 27, 2018 3:06 am
Location: Rio de Janeiro, Brasil

Re: How shorten 'recent files' list

Post by ricardogroetaers »

Pepper-Mint-Patty wrote:
Sun Feb 21, 2021 7:56 am
How shorten 'recent files' list on Mint 19.2?
What is the Work Environment?
Pepper-Mint-Patty
Level 5
Level 5
Posts: 609
Joined: Fri Dec 20, 2019 4:54 pm
Location: Royston Vasey

Re: How shorten 'recent files' list

Post by Pepper-Mint-Patty »

@ricardogroetaers
LM19.2 Cinn menu Nemo
Language is a virus.
19.2 Cinn, Nemo
Pepper-Mint-Patty
Level 5
Level 5
Posts: 609
Joined: Fri Dec 20, 2019 4:54 pm
Location: Royston Vasey

Re: How shorten 'recent files' list

Post by Pepper-Mint-Patty »

mikeflan wrote:
Sun Feb 21, 2021 10:40 am
Type this in terminal

Code: Select all

dconf-editor
That opens a window on
/desktop/gnome/crypto/cache/gpg-cache-method
org.gnome.crypto.cache gpg-cache-method 'session'

Code: Select all

dconf-editor

** (dconf-editor:4306): WARNING **: 12:49:16.359: source-manager.vala:108: The following schemas:
  org.gnome.d-feet
  org.x.apps
  org.cinnamon.invalid-schema
  org.cinnamon.settings-daemon.plugins.csdwacom
contain neither keys nor children.
/com/linuxmint/mintmenu/plugins/recent/num-recent-docs
mikeflan wrote: Navigate to /com/linuxmint/mintmenu/plugins/recent/num-recent-docs
It can be changed there.
I can see no way to navigate nore to change anything whatsoever. 8)
Language is a virus.
19.2 Cinn, Nemo
User avatar
Moem
Level 21
Level 21
Posts: 12575
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: How shorten 'recent files' list

Post by Moem »

mikeflan wrote:
Sun Feb 21, 2021 10:40 am
Type this in terminal

Code: Select all

dconf-editor
Navigate to /com/linuxmint/mintmenu/plugins/recent/num-recent-docs
It can be changed there.
Mikeflan, I bet that you have dconf-editor installed and the OP does not.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Pepper-Mint-Patty
Level 5
Level 5
Posts: 609
Joined: Fri Dec 20, 2019 4:54 pm
Location: Royston Vasey

Re: How shorten 'recent files' list

Post by Pepper-Mint-Patty »

I happen to know OP has Dconf-editor 3.28.0-1installed, not Dconf-Editor flatpak.
Not sure if that matters, sorry to bother.
Language is a virus.
19.2 Cinn, Nemo
User avatar
Moem
Level 21
Level 21
Posts: 12575
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: How shorten 'recent files' list

Post by Moem »

It shouldn't, I think.
Does that program not allow you to make the wanted changes?

Mine does:
dconf.png
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Pepper-Mint-Patty
Level 5
Level 5
Posts: 609
Joined: Fri Dec 20, 2019 4:54 pm
Location: Royston Vasey

Re: How shorten 'recent files' list

Post by Pepper-Mint-Patty »

Image
Language is a virus.
19.2 Cinn, Nemo
User avatar
Welcome
Level 5
Level 5
Posts: 954
Joined: Wed Aug 19, 2020 11:38 am

Re: How shorten 'recent files' list

Post by Welcome »

It might be hard for OP to navigate the directory structure in dconf editor. Here's a quick solution:

Code: Select all

dconf write /com/linuxmint/mintmenu/plugins/recent/num-recent-docs 10
If 10 documents is too much, you can always change the number.

Edit: For Mate
Last edited by Welcome on Tue Mar 02, 2021 9:17 am, edited 1 time in total.
3 steps to find an answer: (1) Search forum with unique key words. (2) Search with Google and add site:linuxmint.com to your unique key word query. (3) Search with Google and add either Linux Mint or Ubuntu to your unique key word query.
User avatar
Termy
Level 6
Level 6
Posts: 1465
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: How shorten 'recent files' list

Post by Termy »

I loaded up my Linux Mint 20.1 Cinnamon installation, and ran this:

Code: Select all

dconf read /com/linuxmint/mintmenu/plugins/recent/num-recent-docs
But it returns nothing. Turns out, the mintmenu and everything therein doesn't even exist. OP didn't mention in his or her initial post which desktop environment is in use, so I'm just guessing from other posts that it's Cinnamon.

Anyway, if you do see something when you run that command, you can try setting it to a desired VALUE (an number) with this:

Code: Select all

# Remember to set VALUE to a number you want.
dconf write /com/linuxmint/mintmenu/plugins/recent/num-recent-docs VALUE
On my (mostly-stock) installation, the dconf(1) command is available.

...damn, previous poster beat me to it. :lol: Didn't realise. :roll:
I use Linux Mint 18.3 with Cinnamon in a VirtualBox VM for testing & sandboxing.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/c/learnlinux
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife
User avatar
Welcome
Level 5
Level 5
Posts: 954
Joined: Wed Aug 19, 2020 11:38 am

Re: How shorten 'recent files' list

Post by Welcome »

Thanks Termy! Great minds think alike! :D
Termy wrote:
Tue Feb 23, 2021 10:22 am

Code: Select all

dconf read /com/linuxmint/mintmenu/plugins/recent/num-recent-docs
But it returns nothing.
It doesn't return anything because the values are still set at their default values. If you change the value, and then run the "read" command, it'll show the value.

If you run the "reset" command, and then run the "read" command, again it'll return nothing (because it will be at it's default value). Hope this isn't too much info for OP! :wink:

Edit: to -> too :roll:
Last edited by Welcome on Tue Feb 23, 2021 10:44 am, edited 1 time in total.
3 steps to find an answer: (1) Search forum with unique key words. (2) Search with Google and add site:linuxmint.com to your unique key word query. (3) Search with Google and add either Linux Mint or Ubuntu to your unique key word query.
User avatar
Termy
Level 6
Level 6
Posts: 1465
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: How shorten 'recent files' list

Post by Termy »

Welcome wrote:
Tue Feb 23, 2021 10:27 am
It doesn't return anything because the values are still set at their default values.
That's weird. I expected it to work like gsettings(1), with which it just shows the current value, regardless of whether it's the default or not. As they say, knowledge is power. :lol:
I use Linux Mint 18.3 with Cinnamon in a VirtualBox VM for testing & sandboxing.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/c/learnlinux
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife
Pepper-Mint-Patty
Level 5
Level 5
Posts: 609
Joined: Fri Dec 20, 2019 4:54 pm
Location: Royston Vasey

Re: How shorten 'recent files' list

Post by Pepper-Mint-Patty »

Well changed to 7

Code: Select all

mint@mint:~$ dconf read /com/linuxmint/mintmenu/plugins/recent/num-recent-docs
7
mint@mint:~$ 
But the list just continues beyond that...
Even after CLEARING list and reboot.

Its LM19.2 Cinn menu Nemo
Termy wrote: OP didn't mention in his or her initial post which desktop environment is
Actually he did but an over eager moderator messed up his post AND deleted OP reply to that! Said before: viewtopic.php?p=1975477#p1975477
As always there is nothing left of these moderator actions! So OP gets the blame :twisted:
Last edited by Pepper-Mint-Patty on Tue Feb 23, 2021 11:41 am, edited 1 time in total.
Language is a virus.
19.2 Cinn, Nemo
User avatar
Termy
Level 6
Level 6
Posts: 1465
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: How shorten 'recent files' list

Post by Termy »

Pepper-Mint-Patty wrote:
Tue Feb 23, 2021 11:32 am
Actually he did but an over eager moderator messed up his post AND deleted OP reply to that!:
Oh! Thanks for clarifying. If it's any consolation, I've been a message board moderator before (not here), and I have to say, it can be quite confusing and even stressful.
I use Linux Mint 18.3 with Cinnamon in a VirtualBox VM for testing & sandboxing.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/c/learnlinux
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife
User avatar
AZgl1500
Level 15
Level 15
Posts: 5753
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: How shorten 'recent files' list

Post by AZgl1500 »

FWIW, 19.3 Cinnamon does not contain dconf editor.

I could install it, but I use TED with the Root command and do just fine.
Linux Mint 19.3 Cinnamon / ASUS FX705GM
Pepper-Mint-Patty
Level 5
Level 5
Posts: 609
Joined: Fri Dec 20, 2019 4:54 pm
Location: Royston Vasey

Re: How shorten 'recent files' list

Post by Pepper-Mint-Patty »

I have reported things don't work out as 'The Great Minds' suggested. viewtopic.php?p=1976525#p1976525

Hope they are still here and this isn't too much info for them to digest... :)
Language is a virus.
19.2 Cinn, Nemo
Post Reply

Return to “Software & Applications”