Where can I find the default shortcuts on GitHub?

Where can I find the default shortcuts on GitHub?
shortcutsrc has 61 lines, so this are not the default.



Which shortcuts are imported with “import extras”?

I am not a darktable dev, but my guess is there is no master list in the darktable repo. Continuing with my guessing, I think the default list is (at least partly) created on the first run by each module calling dt_action_register for its own defaults, which get used unless the action is already set up. For instance, in histogram.c I can see

dt_action_register(ac, NULL, _lib_histogram_collapse_callback,
                     GDK_KEY_H, GDK_CONTROL_MASK | GDK_SHIFT_MASK);

which will set the default action for hiding the histogram. There is no need for this shortcut to be repeated in a defaults file. I guess.

2 Likes

Search through the recent Pull Requests that were authored by Ralf Brown. He did some work with the shortcut defaults so you can probably figure it out from there.

3 Likes