Instead of modification of "~/.config/Thunar/accels.scm" by hand, it would be nice to have a GUI for shortcut management. Either by using directly https://developer.gnome.org/gtk3/stable/GtkShortcutsWindow.html, or by providing a custom GUI. A custom GUI should be located in libxfce4ui, so that all xfce application can make use of it. (First to be discussed if such a solution would be fine for all devs)
"Go --> Open location" menu item could be removed if we would have a GUI to configure shortcuts
AFAICT GtkShortcutsWindow only shows the shortcuts, it doesn't allow rebinding them. Just for the record, Thunar already features key bindings to custom actions and for this depends on libxfce4kbd, we just need to think how to extend this to make default actions editable. Anyway, I would postpone this until we migrate away from GtkAction/GtkUIManager.
(In reply to Andre Miranda from comment #2) > AFAICT GtkShortcutsWindow only shows the shortcuts, it doesn't allow > rebinding them. Hah, that third picture on the linked gtk doc page has a enum button "editor shortcuts" .. I only scimmed the page quickly and read "edit shortcuts" :P .... ok, so than GtkShortcutsWindow is not an option. > Just for the record, Thunar already features key bindings to custom actions > and for this depends on libxfce4kbd, we just need to think how to extend > this to make default actions editable. Agreed .. I missed that we already have a own lib for that. > Anyway, I would postpone this until we migrate away from > GtkAction/GtkUIManager. Yes, definately.
When going for such a GUI approch, we should make as many shortcuts as possible configurable to be able to check for collisions. As well exo would need to be fixed in a way that the shortcuts to use are injected, not hard-coded.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/279. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev