Jump to content

Nemo: Difference between revisions

From NixOS Wiki
34j (talk | contribs)
Created page with "[https://github.com/linuxmint/nemo Nemo] is the default file manager for Cinnamon. == Installation == Install the <code>nemo-with-extensions</code> or <code>nemo</code> package. == Configuration == === Set Nemo as default file browser === To set Nemo as the default file browser, set xdg.mimeApps in the Home Manager config: {{file|~/.config/home-manager/home.nix|nix|3= xdg.mimeApps = { enable = true; defaultApplications = { "inode/directory" =..."
 
34j (talk | contribs)
mNo edit summary
Line 6: Line 6:


== Configuration ==
== Configuration ==


=== Set Nemo as default file browser ===
=== Set Nemo as default file browser ===


To set Nemo as the default file browser, set xdg.mimeApps in the [[Home Manager]] config:
To set Nemo as the default file browser, create a desktop entry and set it as a default application using [[Home Manager]]:


{{file|~/.config/home-manager/home.nix|nix|3=
{{file|~/.config/home-manager/home.nix|nix|3=
xdg.desktopEntries.nemo = {
    name = "Nemo";
    exec = "${pkgs.nemo-with-extensions}/bin/nemo";
};
xdg.mimeApps = {
xdg.mimeApps = {
     enable = true;
     enable = true;

Revision as of 07:26, 10 February 2025

Nemo is the default file manager for Cinnamon.

Installation

Install the nemo-with-extensions or nemo package.

Configuration

Set Nemo as default file browser

To set Nemo as the default file browser, create a desktop entry and set it as a default application using Home Manager:

❄︎ ~/.config/home-manager/home.nix
xdg.desktopEntries.nemo = {
    name = "Nemo";
    exec = "${pkgs.nemo-with-extensions}/bin/nemo";
};
xdg.mimeApps = {
    enable = true;
    defaultApplications = {
        "inode/directory" = [ "nemo.desktop" ];
        "application/x-gnome-saved-search" = [ "nemo.desktop" ];
    };
};

Change the default terminal emulator for Nemo

To change the default terminal emulator for Nemo, set dconf.settings in the Home Manager config:

❄︎ ~/.config/home-manager/home.nix
dconf = {
    settings = {
        "org/cinnamon/desktop/default-applications/terminal" = {
            exec = "terminal-name";
            # exec-arg = ""; # argument
        };
    };
};