My aim is to replace nautilus
with nemo
from universe
in ubuntu devel (currently vivid) using unity. I am close to this goal, after reading about DefaultFileManager from ubuntu help and this or this question on askubuntu.com.
So far I created .desktop
files for nemo
in ~/.local/share/applications
:
cd ~/.local/share/applications
for i in `ls nemo*desktop`; do echo -e "\n### $i\n"; cat $i; done
### nemo-autorun-software.desktop
[Desktop Entry]
Name=Run Software
TryExec=nemo-autorun-software
Exec=nemo-autorun-software %u
Icon=application-x-executable
NoDisplay=true
Terminal=false
StartupNotify=true
Type=Application
MimeType=x-content/unix-software;
### nemo-connect-server.desktop
[Desktop Entry]
Name=Connect to Server
TryExec=nemo-connect-server
Exec=nemo-connect-server
Icon=applications-internet
NoDisplay=true
Terminal=false
StartupNotify=true
Type=Application
### nemo-folder-handler.desktop
[Desktop Entry]
Name=Nemo File Manager
Comment=Access and organize files
Exec=nemo %U
Icon=system-file-manager
Terminal=false
NoDisplay=true
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;Core;
MimeType=inode/directory;application/x-gnome-saved-search;
### nemo.desktop
[Desktop Entry]
Name=Nemo File Manager
Comment=Access and organize files
Keywords=folder;manager;explore;disk;filesystem;
Exec=nemo %U
Icon=system-file-manager
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;Core;FileManager;
Actions=Window;
[Desktop Action Window]
Name=Open a New Window
Exec=nemo
Then I set the following defaults for mime types to use nemo.desktop
as suggested in here:
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
Additionally I set this value (as in DefaultFileManager about mcterm
):
xdg-mime default nemo.desktop x-directory/normal
After logout and login, clicking on desktop folder icons still starts nautilus
. Despite that, the command xdg-open $HOME
opens the folder with nemo
(see here).
I do not want to ...
a) ... handle desktop icons with nemo
, since there exist rendering problems (see here for example).
b) ... uninstall nautilus
(rendering problems with nemo) or rename binaries as suggested in here.
c) ... use a different window manager than unity (so it is not a duplicate of this question, since there, Gnome is used).
So again the question:
How to open folders with nemo
by clicking on folder icons on the desktop handled by nautilus or directly within nautilus?