Is there in MX Linux a way to show "Recently used files" somewhere as in Windows? (I mean files,not apps).
Thank you
Recent files
Re: Recent files
In XFCE there is a panel item called Places that shows recent files as well as mounted partitions. Right click on the Panel and choose Panel then Add items. Scroll down to Places and add to panel. Left clicking on its icon will open a popup and at the bottom is an item Recent Documents. Clicking on that will show recently used documents. images, etc.
Forum Rules
Guide - How to Ask for Help
richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB
Guide - How to Ask for Help
richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB
- Mishimainizu
- Posts: 30
- Joined: Sat Apr 20, 2019 2:11 am
Re: Recent files
Thank you very much richb! I had this item installed some time ago, but didn't notice the Recent Documents item.
Re: Recent files
Interesting. I looked for this, and found that there is a file where the info is supposedly stored: ~/.local/share/recently-used.xbel. It's not very readable though, and I'm not sure ATM how to get it parsed.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Recent files
There is a CLI command that lists all modified files in a certain time periodThat shows files from the last 7 days, and you can dump that in a text file with an additionFinally if you are looking for something in particular, say a libreoffice file, you can do something like this:But I don't know finally how useful any of that would be, just fooling around...
Code: Select all
find -type f -mtime -7
Code: Select all
find -type f -mtime -7 > last7.txt
Code: Select all
find -type f -mtime -7 | grep libreoffice > last7_LO.txt
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Recent files
Some applications do not write entries to recently-used.xbel
Even if thunar "Open With" does create an entry (I haven't checked)... the handling app may, or may not, create additional entries for each additional file that is subsequently loaded via Drag-Drop or via File-}Open
A while back, I investigated the prospect of writing a script to "forensically" determine recently used (accessed) files...
and quickly realized this prospect is foiled by our (MX, and antiX, and just about every desktop linux distro) use of noatime or relatime or lazyatime mount options specified in /etc/fstab
FWIW, during an antiX/MX liveboot session, with on-demand (aka "semi-automatic" mode) persistence enabled, a slightly-modified version of the persist-save script can generate a list of recently changed (CREATED//DELETED//EDITED) files.
howto:
Copy the script to a new name (e.g. "persist-save-check")
Add "--dry-run" (and, optionally -verbose) to the rsync options
Redirect the output to /tmp/changed_list.txt
Optionally, insert into the script a tailend "myfavetexteditor /tmp/changed_list.txt" line
Even if thunar "Open With" does create an entry (I haven't checked)... the handling app may, or may not, create additional entries for each additional file that is subsequently loaded via Drag-Drop or via File-}Open
A while back, I investigated the prospect of writing a script to "forensically" determine recently used (accessed) files...
and quickly realized this prospect is foiled by our (MX, and antiX, and just about every desktop linux distro) use of noatime or relatime or lazyatime mount options specified in /etc/fstab
FWIW, during an antiX/MX liveboot session, with on-demand (aka "semi-automatic" mode) persistence enabled, a slightly-modified version of the persist-save script can generate a list of recently changed (CREATED//DELETED//EDITED) files.
howto:
Copy the script to a new name (e.g. "persist-save-check")
Add "--dry-run" (and, optionally -verbose) to the rsync options
Redirect the output to /tmp/changed_list.txt
Optionally, insert into the script a tailend "myfavetexteditor /tmp/changed_list.txt" line