Skip to content

Commit

Permalink
Zorin OS uses "nautilus" instead of "org.gnome.nautilus".
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
RedBearAK authored Apr 6, 2021
1 parent f041243 commit 4d9d073
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions linux/kinto.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@

# 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
Expand Down Expand Up @@ -325,8 +325,9 @@
"dde-file-manager",
"dolphin",
"io.elementary.files",
"nautilus",
"nemo",
"org.gnome.Nautilus",
"org.gnome.nautilus",
"pcmanfm",
"pcmanfm-qt",
"spacefm",
Expand Down

0 comments on commit 4d9d073

Please sign in to comment.