Zorin OS uses "nautilus" instead of "org.gnome.nautilus".

Zorin OS uses Nautilus as default file manager, but its WM_CLASS is shortened to "nautilus" instead of the original "org.gnome.nautilus". So we have to add that to the list (and also to the overrides for Nautilus).
This commit is contained in:
RedBearAK
2021-04-05 20:40:03 -08:00
committed by GitHub
parent f0412438b4
commit 4d9d073997

View File

@@ -291,7 +291,7 @@ define_keymap(re.compile("io.elementary.files", re.IGNORECASE),{
# Keybindings overrides for Nautilus
# (overrides some bindings from general file manager code block below)
define_keymap(re.compile("org.gnome.Nautilus", re.IGNORECASE),{
define_keymap(re.compile("org.gnome.nautilus|nautilus", re.IGNORECASE),{
K("RC-Super-o"): K("Shift-Enter"), # Open in new window
# K("RC-Super-o"): K("RC-Enter"), # Open in new tab
K("RC-comma"): K("RC-comma"), # Overrides "Open preferences dialog" shortcut below
@@ -325,8 +325,9 @@ filemanagers = [
"dde-file-manager",
"dolphin",
"io.elementary.files",
"nautilus",
"nemo",
"org.gnome.Nautilus",
"org.gnome.nautilus",
"pcmanfm",
"pcmanfm-qt",
"spacefm",