I think I fixed Nemo's slow startup on my system, at least. Now I'm not running Nemo on Mint but on Ubuntu Unity. I installed Nemo without the Cinnamon desktop from the Ubuntu repos through Ubuntu Software Center, and followed instructions posted here and on http://www.fandigital.com
for integrating Nemo with the Unity desktop. BUT I also had the slow Nemo startup problem, and I think for the same reason Mint users had it. Here's how I discovered this fix, and I hope it'll work for other users:
I saw several suggestions to run from Terminal "nemo --no-desktop" and saw that Nemo started up quickly with the added option. But locking the icon that appeared in the Unity launcher bar, and then closing and re-launching Nemo using the launcher did not preserve the "--no-desktop" option, and Nemo still exhibited a long delay when starting.
DESCRIPTION OF THE METHOD OF THE FIX
I later learned that the xdg-mime command actually modified .desktop files in /usr/share/applications. I used cat to locate the nemo*.desktop files, examined them, and used "gksu gedit usr/share/applications/nemo.desktop" to add "--no-desktop" to the exec=nemo lines (which specifies the program to run.)
- I found three nemo desktop files: nemo.desktop, nemo-folder-handler.desktop, nemo-autorun-software.desktop.
- I added the --no-desktop option to all of the nemo desktop files with no unwanted effects -- and Nemo now starts up with virtually no delay
- I haven't learned how to use xdg-mime to edit specific lines in the specific desktop files, so I used gksu gedit. Someone else may post the proper xdg-mime commands to do the same tasks.
- Beware that in the desktop files the Name= line will specify the filename that appears in the file browser. If nemo-file-handler.desktop or nemo-autorun-software.desktop contains Name=nemo, it will appear as a duplicate Nemo file in the file browser. So make sure that Name= line matches the filename in the Gedit tab when you save it.
In case it may help, below is the content of my /usr/share/applications/nemo.desktop:
- Code: Select all
Comment=Access and organize files
Exec=nemo --no-desktop %U
- The current version of Nemo installed from the Ubuntu repos is 1.72 (see above.) Mint users' files probably will show differences, e.g., in OnlyShowIn= , and the X-GNOME-Bugzilla-Version= lines, etc. Adapt these contents as appropriate.
Okay, that's it. I apologize if this is not crystal-clear. There are probably a half-dozen ways to make these changes, and different systems will have different entries, so it's difficult to be specific. I know this is a Mint forum, but the Mint forum appears to have the most extended discussion of Nemo's slow slartup. Mint users and other desktop environments that don't use the Unity-style lenses for launchers may be able to edit the launcher in the Gnome panel menu to add the --no-desktop option. Ubuntu Unity users, as far as I know, don't have direct access to the menus, and this is the only way to insure Nemo runs with this critical option.