1

how to display the recently used programmes (not files, that is implemented)?

  • I am looking for:

  • a function / script or so to do the job.

  • How I would like to have the problem solved is something on those lines: To have a button to just being able to one-click on it, on the desktop.

Can anyone help please?

Simon Sudler
  • 4,111
Rolfi
  • 11

1 Answers1

1

EDIT:

Would this work?

get_recently_used(){
 find "${1:-.}" -type f -printf '%TY-%Tm-%Td %TH:%TM %P\n' 2>/dev/null | sort | tail -n "${2:-10}";
}

For those who don't want this to be enabled: This should work, (if I'm not wrong?)

gsettings set org.gnome.desktop.privacy remember-recent-files false
gsettings set org.gnome.desktop.privacy remember-app-usage false
gsettings set org.gnome.desktop.privacy recent-files-max-age 0
Jane
  • 1,085