Nemo: Recent Places in Nemo - Files & Folders

Created on 14 Feb 2014  路  28Comments  路  Source: linuxmint/nemo

I am not sure if this feature existed earlier or if this is planned to be pulled from Nautilus. Anyways, simply put, recent files shown in Cinnamon Menu to be accessed and viewed inside Nemo.
It can also be accessed using "recent:///" in location tool bar)
http://iloveubuntu.net/nautilus-gains-recent-entry-its-sidebar-ubuntu-1210

screenshot from 2014-02-15 00 39 51

I am posting this based on below user request in forums.
http://forums.linuxmint.com/viewtopic.php?f=90&t=158451

Update: This should list both recent files and folders accessed.

FEATURE REQUEST

Most helpful comment

The file open/save dialogs are provided by Gtk. Though we can control to a certain degree what gets shown in those sidebars on an app-by-app basis, the decision of whether or not to show a recent entry is not one of them.

Gimp is likely using an older major version of Gtk, so that's probably why it looks different.

Any of the potential places for recent files to appear is dependent on the switch in cinnamon-settings->Privacy being active or not. (This controls something that gtk and possibly other toolkits know to watch for.)


To address the lack of recent 'folders' in Nemo, we currently get the recent view that we have 'free of charge' - there's no effort on our part, we simply navigate to recent:/// and the backend (gvfs) that serves up our files (this backend also keeps track of metadata for folder views, custom icons, etc... - think of it as a wrapper for your filesystem). This backend gives a list of recent files as if it was just a normal folder. This backend currently filters out folders.

To have a view that consists only of folders, or a mix of both files and folders, we'd need to implement that ourselves, something that just hasn't been a very high priority until now - it's not very difficult, but neither is it trivial to do. I will have a look at it for 4.2 though.

All 28 comments

It is already included in https://github.com/daschuer/nautilus/tree/nemo_nautilus_base
If you are able to build from source, you can give it a try and report your results here.
Thank you!

I'm not sure if the description quite fits the bill: In my original post, I was looking for a clone of Windows 7's "Recent Places" explorer link which shows which _folders_ you were most recently in (i.e. not which files you most recently used.) Is this not slightly different?

@roblevy - Oops, missed it. Will change the title to include both files & folders.

Not sure if a "me too" is helpful in this situation, but I wish for this every day.

@mtwebster - Looks like below commit takes care of Recent Files...Could you confirm i it takes care of Folders as well for me to close it....
https://github.com/linuxmint/nemo/commit/55085e174a951221aa4a286745acaa70c33f0611

@glebihan - Thanks for closing. I presume it adds "Recently" accessed folders as well...

It takes care of files only. Reopen?

Recent folders is not feasible at this time.

If I have a file I'm trying to get at, that's 10 folders deep in a hierarchy, how do I know which of those folders to list? I certainly don't want all of them.

@mtwebster ,How about set default depth as 1, and let users decide later.

@mtwebster I'm translate the words of an angry user on http://segfault.linuxmint.com, that on my opinion have a good idea of how do that.... Please check this procedure:

1- Open Nemo.
2- Click inside a file.
3- Select the option "copy to"/"move to"
4- Select the option browse on the new popup menu...
5- When the new windows will be open, you can see an item of "recently" on the top left box, please select. You will see a list of recent folders, i don't know how will be created that list(but exist).

Please use the same procedure that use nemo to select the recent folder on the menu, if this request will be solved... I don't see that as a great improvement, but well...

I looked at how they're creating this list:
https://git.gnome.org/browse/gtk+/tree/gtk/gtkfilechooserutils.c#n384

Basically, they're taking every file in the recent file list, and listing its parent. We can do this much I suppose.. - what we won't do is add some tracker or zeitgeist dependency.

I know this issue is really old, but I am honestly missing something like this since I often navigate back to places I recently visited. I think it could be implemented like this:

  • whenever Nemo is closed, add the folder to the recently used ones
  • when the user stays in one folder for a longer period of time(maybe something like 2-10 minutes, could be configurable), add it
  • don't add folders which are bookmarked or otherwise already accessible in the sidebar

Many thanks for contributing to Nemo. Your suggestion was reviewed.

For more information on our workflow and feature requests, read https://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/faq.html.

Recent folders is a must have of any recent file manager.
Where can I activate it in Nemo?

Recent folders is not feasible at this time.

If I have a file I'm trying to get at, that's 10 folders deep in a hierarchy, how do I know which of those folders to list? I certainly don't want all of them.

@mtwebster perhaps an option to have a recent folders entry in the side panel that simply parses the location of recent files entries in the same way as the _copy to_ & _move to_ browse option does would be a possible workaround?

I just found that Linux Mint added it in Nemo, but this is option is not in NEMO settings.
Go to the control panel, select PRIVACY, and select on on RECENT FILES:
privacy
recentfiles2

It appears this feature only works in a very small selection of software that comes with Linux Mint?
The "Recent" item is missing in Xed, Firefox, Thunderbird, and just about every other program I've tried.
I was surprised to actually see it working on my machine recently, but I forgot in which application.

GTK applications (such as GIMP) also have a recent item (titled "Recently Used"), and so do my own wxWidgets-based software, but the dialog is entirely different (layout & look), and I'm not sure it shares implementation details.

@angerangel, can you tell me in which application you took the second screenshot? I'd like to verify if I can reproduce that.

Ok, just by chance I've been able to reproduce it. It looks like some bug affects visibility of the "Recent" category in the dialog. I currently have an instance of Xed open that shows the item in the File > Open dialog, but not the File > Save As. Surely that isn't supposed to happen?

At the same time, the same happens in Firefox (only visible in "Open File", but not in "Save Page As").

This only the second time I've seen the "Recent" item in these dialogs since the release of Mint 19.

Can someone (JosephMcc? mtwebster?) confirm this is intended behaviour or not?

The file open/save dialogs are provided by Gtk. Though we can control to a certain degree what gets shown in those sidebars on an app-by-app basis, the decision of whether or not to show a recent entry is not one of them.

Gimp is likely using an older major version of Gtk, so that's probably why it looks different.

Any of the potential places for recent files to appear is dependent on the switch in cinnamon-settings->Privacy being active or not. (This controls something that gtk and possibly other toolkits know to watch for.)


To address the lack of recent 'folders' in Nemo, we currently get the recent view that we have 'free of charge' - there's no effort on our part, we simply navigate to recent:/// and the backend (gvfs) that serves up our files (this backend also keeps track of metadata for folder views, custom icons, etc... - think of it as a wrapper for your filesystem). This backend gives a list of recent files as if it was just a normal folder. This backend currently filters out folders.

To have a view that consists only of folders, or a mix of both files and folders, we'd need to implement that ourselves, something that just hasn't been a very high priority until now - it's not very difficult, but neither is it trivial to do. I will have a look at it for 4.2 though.

@angerangel, can you tell me in which application you took the second screenshot? I'd like to verify if I can reproduce that.

Menu-> Control panel -> Click on "Privacy" icon

@angerangel: I mean the 2nd screenshot, the one showing the "recent" item in the dialog.

It does seem that on my system the recent files list rarely (never?) shows more recent files than the last ~24 hours? Even though I have it set to 5 days in privacy settings. Can anyone confirm this, or is it just my system?

@mtwebster

To have a view that consists only of folders, or a mix of both files and folders, we'd need to implement that ourselves, something that just hasn't been a very high priority until now - it's not very difficult, but neither is it trivial to do. I will have a look at it for 4.2 though.

Thanks in advance for having a look at a view that consists of a mix of both files and folders, especially for "Save as" dialogues.

Sorry to resurface this, but this seems the only truly correct place to find info on including Folders as well as Files in "Recent". Has this been implemented, because I can't find the setting for it if it has. My "Recent" only shows files. If it hasn't then is it still being considered? If it has please help me to feel less stupid and let me know where the setting is, thanks!

An install of Mint/LMDE4 comes with a default Cinnamon setting of "privacy" = "Remember recently accessed files".
Tracking file access is a strange application of privacy.
So its necessary to disable this "privacy" setting and delete the associated nemo bookmark.
Perhaps the default should be forget recently accessed files?

But that would stop all recent files being listed at all wouldn't it? When I want to show files and folders?

It just prevents the collection of a list of filenames you have accessed via nemo from being collected.
Presumably, "remember recently accessed files" gives a performance gain if you regularly re-open files and/or a possible usability gain for long paths?

It certainly makes searching for things I use regularly quicker (there are a couple of things I open nearly every day for example), but as I said, I don't think that's the solution to "showing files and folders in recent" if Mint no longer catalogues recent things?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Hairybiker picture Hairybiker  路  5Comments

memeplex picture memeplex  路  6Comments

jmgomezpoveda picture jmgomezpoveda  路  5Comments

blueray453 picture blueray453  路  5Comments

mikehaertl picture mikehaertl  路  5Comments