Sample Header Ad - 728x90

Can I mark files as recently-used from the command line?

8 votes
2 answers
729 views
GTK applications mark files as recently used by adding them to the XML in ~/.local/share/recently-used.xbel, but I am frequently working with files from terminal-driven applications like latex, and these are not marked in the GTK list and hence not available from the "Recent" bookmark in GUI file browsers/pickers etc.. Is there a CLI command I can use to explicitly add files to the Recent list, for smoothing operations between the terminal and GUI sides of my Linux usage? Either an official way, or a fast & simple hack with the side-effect of writing to the recently-used.xbel file!
Asked by andybuckley (183 rep)
Mar 29, 2019, 11:42 AM
Last activity: Feb 14, 2025, 01:37 PM