Nemo: Difference between revisions
Appearance
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" =..." |
Undo revision 20639 The category is not redundant. This application is both an application and a file manager. Tag: Undo |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
== Installation == | == Installation == | ||
Install the | Install the {{nixos:package|nemo-with-extensions}} or {{nixos:package|nemo}} package. | ||
== Configuration == | == Configuration == | ||
=== Set Nemo as default file browser === | === Set Nemo as default file browser === | ||
To set Nemo as the default file browser, set | To set Nemo as the default file browser, [[Default_applications|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; | ||
Line 28: | Line 31: | ||
dconf = { | dconf = { | ||
settings = { | settings = { | ||
"org/cinnamon/desktop/ | "org/cinnamon/desktop/applications/terminal" = { | ||
exec = "terminal-name"; | exec = "terminal-name"; | ||
# exec-arg = ""; # argument | # exec-arg = ""; # argument | ||
Line 34: | Line 37: | ||
}; | }; | ||
};}} | };}} | ||
=== Set keyboard shortcut for "Open in terminal" === | |||
To edit keyboard shortcuts, set dconf.settings and edit <code>~/.gnome2/accels/nemo</code> using Home Manager (replacing "F4" with the desired key combination): | |||
{{file|~/.config/home-manager/home.nix|nix|3= | |||
dconf = { | |||
settings = { | |||
"org/cinnamon/desktop/interface" = { | |||
can-change-accels = true; | |||
}; | |||
}; | |||
}; | |||
home.file = { | |||
".gnome2/accels/nemo".text = '' | |||
(gtk_accel_path "<Actions>/DirViewActions/OpenInTerminal" "F4") | |||
''; | |||
};}} | |||
{{ic|<Alt>}}, {{ic|<Primary>}}, and {{ic|<Shift>}} can be used as key modifiers (for example, {{ic|<Primary><Shift>t}}). | |||
See [https://wiki.archlinux.org/index.php?title=Nemo Nemo - ArchWiki] for further information. | |||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:File Manager]] | [[Category:File Manager]] |
Latest revision as of 17:56, 11 March 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/applications/terminal" = {
exec = "terminal-name";
# exec-arg = ""; # argument
};
};
};
Set keyboard shortcut for "Open in terminal"
To edit keyboard shortcuts, set dconf.settings and edit ~/.gnome2/accels/nemo
using Home Manager (replacing "F4" with the desired key combination):

~/.config/home-manager/home.nix
dconf = {
settings = {
"org/cinnamon/desktop/interface" = {
can-change-accels = true;
};
};
};
home.file = {
".gnome2/accels/nemo".text = ''
(gtk_accel_path "<Actions>/DirViewActions/OpenInTerminal" "F4")
'';
};
<Alt>
, <Primary>
, and <Shift>
can be used as key modifiers (for example, <Primary><Shift>t
).
See Nemo - ArchWiki for further information.