RedBearAK / toshy

Keymapper config to make Linux work like a 'Tosh!
https://toshy.app
GNU General Public License v3.0
226 stars 15 forks source link

(Enh) Finder Mods Tracker Issue #223

Open RedBearAK opened 3 months ago

RedBearAK commented 3 months ago

This issue thread will be dedicated to tracking the current state and additions/fixes for the "Finder Mods". This is a set of keymaps and an app class group that cause several Linux file managers (or "file browsers" as some call them) to behave like the Finder in macOS when using common keyboard shortcuts for things like:

The Finder Mods attempt to "normalize" about 20 different common functions across all the different supported Linux file managers. How well the keymaps can make any specific Linux file manager conform to Finder responses for the same key combo depends on whether the file manager has support for a specific behavior, or has a shortcut set for that function. Some have very limited sets of shortcuts, or missing view modes, etc.

Current state of the support for different functions in each supported Linux file manager (and Windows File Explorer, for the Windows version of Kinto) will be kept updated in this spreadsheet document:

Finder_keyboard_shortcut_mapping_project_2024-04-20.ods

Currently supported file managers (and where they are commonly found as the default):

--- File Manager --- ---- Desktop Environment ---- ---- Known As ----
Caja MATE "File Browser"
DDE File Manager Deepin "File Manager"
Dolphin KDE Plasma "Dolphin"
Krusader Alt/old KDE Plasma "Krusader"
Nautilus GNOME "Files"
Nemo Cinnamon "Files"
Pantheon Files Pantheon (elementary OS) "Files"
PCManFM LXDE "PCManFM"
PCManFM-Qt LXQt "PCManFM-Qt"
Peony UKUI (Ubuntu Kylin) "Peony"
SpaceFM Independent/Unknown "SpaceFM"
Thunar Xfce "Thunar"

[!NOTE] The file open/save dialogs are related to this, and with keyszer supporting matching on WM_NAME (window title) rather than just WM_CLASS (application class), there is a little progress toward fixing how keyboard shortcuts work in those dialogs as Linux DEs transition to Wayland and "portals", but there is still a lot of work to do in this area.

RedBearAK commented 2 months ago

Added "Peony" (peony-qt) file manager from Ubuntu Kylin's UKUI desktop environment.

UKUI and Peony have some truly weird problems with keyboard focus and task switching, that I've never seen in any other desktop environment. In the VM where I'm testing I usually have to click on the Peony window to get it to obtain the keyboard focus (and get the Toshy keymapper to see the correct app class instead of the app class of the window you switched away from).

Peony has no preferences/settings dialog that I can find, so Cmd+Comma is blocked because it was trying to rename files as "n" for some reason. Otherwise Peony seems to conform to most of the usual shortcuts, so its keymap is only overriding the tab navigation shortcuts from the general keymap and the general Finder Mods keymap. And a fix for the shortcut to zoom in/enlarge icons.