5

By Default in the nautilus for Ubuntu 20.04 (called "Files") I have a number of default bookmarks

  • Starred & Recent

    • "Starred" can be removed using this guide
    • same guide claims to help removing "Recent", but it doesn't work.
  • Default locations: Desktop, Downloads, Pictures, etc

    • can be removed by modifying ~/.config/user-dirs.dirs, see this answer
      • make sure you switch off auto-rollback by echo "enabled=False" > ~/.config/user-dirs.conf, see this answer
  • Trash

    • haven't found any info on how to remove it.

Two questions:

a) how can I still get rid of "Recent" and "Trash"

b) Is there a better way? dconf, gnome.settings or such?

Ufos
  • 419

1 Answers1

1

The item "Recent" is removed when you disable "File History" under "File History & Trash" in the "Privacy" settings.

You still could also remove "Other locations" by changing "show-other-locations" to "False", i.e. <property name="show-other-locations">False</property> in the resource description (cfr. Can the "Starred" folder be removed).

I am not aware of any possibility to remove the "Trash" icon without going into the source code itself.

vanadium
  • 88,010
  • nice. I got rid of "recent", although this is clearly not the ideal solution. I'm not sure what other applications rely on recent files. It's probably, mostly irrelevant, but nonetheless. – Ufos Nov 14 '20 at 16:09
  • gotta love how there's a full manual with pictures on fixing the source code https://askubuntu.com/a/351533/308869 – Ufos Nov 14 '20 at 16:11
  • Yes, other GTK apps do. You indeed remove functionality along, unfortunatelly. – vanadium Nov 14 '20 at 17:46