Nemo: Difference between revisions
mNo edit summary |
Add "Set keyboard shortcut for "Open in terminal"" |
||
Line 31: | 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 37: | 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: | |||
{{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]] |