2

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?

setempler
  • 510

1 Answers1

1

One can use the modified version of nemo (ppa here) for unity from webupd8.org (instructions here).

I followed the instructions, but did not install but upgrade only:

sudo add-apt-repository ppa:webupd8team/nemo
sudo sed -i 's/vivid/devel/' /etc/apt/sources.list.d/webupd8team-ubuntu-nemo-vivid.list
sudo apt-get update && sudo apt-get upgrade

Then I changed gsettings to replace nautilus with nemo as desktop handler:

gsettings set org.gnome.desktop.background draw-background false
gsettings set org.gnome.desktop.background show-desktop-icons false
gsettings set org.nemo.desktop show-desktop-icons true

Logout, login, and nemo handles desktop without rendering problems.

setempler
  • 510