Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No keyboard shortcuts—all are disabled?
#11
(05-14-2025, 04:23 PM)Gmarty39 Wrote: OK, one command in MacVim uncommented all the actions in the default shortcutsrc, so now I have all the default shortcuts. Then I put in a couple of my own using the GIMP > Keyboard Shortcuts window so I could see if they would override a default; one would so I used a different key.

I would still like to know why I got Gimp 3.0 with all the keyboard shortcuts disabled.

Are they actually disabled though?

In my default shortcutsrc file I have the commented out "g" command as 

    # (action "tools-gradient" "g")


...and the "g" shortcut works within my Gimp to start the Gradient tool

The generated shortcutsrc file shows a list of all the possible actions with their defaults all commented out because the defaults don't need to be explicitly set in the file--the comments are for information. If you wanted a list of the gimp shortcuts, you could parse through the shortcutsrc and print out the keys and their actions.
Reply
#12
... for instance, a cheap parsing the v3.2 default shortcutsrc file can show you the assigned shortcut keys:

Code:
 sort shortcutsrc |grep '" "'|sort -k 4 -t ' '
# (action "image-properties" "<Alt>Return")
# (action "file-show-in-file-manager" "<Primary><Alt>f")
# (action "file-open-as-layers" "<Primary><Alt>o")
# (action "edit-paste-in-place" "<Primary><Alt>v" "<Alt>Paste")
# (action "view-fullscreen" "<Primary><Control>f")
# (action "file-open-as-link-layers" "<Primary><Shift><Alt>o")
# (action "select-none" "<Primary><Shift>a")
# (action "dialogs-brushes" "<Primary><Shift>b")
# (action "edit-copy-visible" "<Primary><Shift>c" "<Shift>Copy")
# (action "layers-duplicate" "<Primary><Shift>d")
# (action "file-export-as" "<Primary><Shift>e")
# (action "filters-reshow" "<Primary><Shift>f")
# (action "windows-show-display-previous" "<Primary><Shift>grave" "Back")
# (action "view-zoom-fit-in" "<Primary><Shift>j")
# (action "select-cut-float" "<Primary><Shift>l")
# (action "layers-new" "<Primary><Shift>n")
# (action "filters-offset" "<Primary><Shift>o")
# (action "dialogs-patterns" "<Primary><Shift>p")
# (action "view-show-rulers" "<Primary><Shift>r")
# (action "file-save-as" "<Primary><Shift>s")
# (action "view-show-guides" "<Primary><Shift>t")
# (action "edit-paste-as-new-image" "<Primary><Shift>v" "<Shift>Paste")
# (action "file-close-all" "<Primary><Shift>w")
# (action "edit-strong-redo" "<Primary><Shift>y")
# (action "edit-strong-undo" "<Primary><Shift>z")
# (action "file-open-recent-10" "<Primary>0")
# (action "file-open-recent-01" "<Primary>1")
# (action "file-open-recent-02" "<Primary>2")
# (action "file-open-recent-03" "<Primary>3")
# (action "file-open-recent-04" "<Primary>4")
# (action "file-open-recent-05" "<Primary>5")
# (action "file-open-recent-06" "<Primary>6")
# (action "file-open-recent-07" "<Primary>7")
# (action "file-open-recent-08" "<Primary>8")
# (action "file-open-recent-09" "<Primary>9")
# (action "select-all" "<Primary>a")
# (action "dialogs-toolbox" "<Primary>b")
# (action "edit-copy" "<Primary>c" "Copy")
# (action "edit-fill-fg" "<Primary>comma")
# (action "image-duplicate" "<Primary>d")
# (action "file-export" "<Primary>e")
# (action "filters-repeat" "<Primary>f")
# (action "dialogs-gradients" "<Primary>g")
# (action "windows-show-display-next" "<Primary>grave" "Forward")
# (action "tools-opacity-increase-skip" "<Primary>greater")
# (action "layers-anchor" "<Primary>h")
# (action "select-invert" "<Primary>i")
# (action "view-shrink-wrap" "<Primary>j")
# (action "dialogs-layers" "<Primary>l")
# (action "tools-opacity-decrease-skip" "<Primary>less")
# (action "image-merge-layers" "<Primary>m")
# (action "image-new" "<Primary>n")
# (action "file-open" "<Primary>o")
# (action "edit-fill-bg" "<Primary>period")
# (action "file-quit" "<Primary>q")
# (action "file-save" "<Primary>s")
# (action "edit-fill-pattern" "<Primary>semicolon")
# (action "view-show-selection" "<Primary>t")
# (action "edit-paste" "<Primary>v" "Paste")
# (action "view-close" "<Primary>w")
# (action "edit-cut" "<Primary>x" "Cut")
# (action "edit-redo" "<Primary>y")
# (action "edit-undo" "<Primary>z")
# (action "tools-bucket-fill" "<Shift>b")
# (action "tools-crop" "<Shift>c")
# (action "tools-dodge-burn" "<Shift>d")
# (action "tools-eraser" "<Shift>e")
# (action "tools-flip" "<Shift>f")
# (action "help-context-help" "<Shift>F1")
# (action "tools-cage" "<Shift>g")
# (action "tools-shear" "<Shift>h")
# (action "view-scroll-center" "<Shift>j")
# (action "tools-handle-transform" "<Shift>l")
# (action "tools-measure" "<Shift>m")
# (action "tools-by-color-select" "<Shift>o")
# (action "tools-perspective" "<Shift>p")
# (action "quick-mask-toggle" "<Shift>q")
# (action "tools-rotate" "<Shift>r")
# (action "tools-scale" "<Shift>s")
# (action "tools-unified-transform" "<Shift>t")
# (action "tools-convolve" "<Shift>u")
# (action "paths-selection-from-paths" "<Shift>v")
# (action "tools-transform-3d" "<Shift>w")
# (action "tools-swap" "<Shift>x")
# (action "context-swatch-foreground-next" "0")
# (action "view-zoom-1-1" "1" "KP_1")
# (action "view-zoom-2-1" "2" "KP_2")
# (action "view-zoom-4-1" "3" "KP_3")
# (action "view-zoom-8-1" "4" "KP_4")
# (action "view-zoom-16-1" "5" "KP_5")
# (action "context-swatch-foreground-previous" "9")
# (action "tools-airbrush" "a")
# (action "view-zoom-1-2" "at" "<Shift>KP_2")
# (action "tools-path" "b")
# (action "tools-size-set-to-default" "backslash")
# (action "tools-size-decrease-skip" "braceleft")
# (action "tools-size-increase-skip" "braceright")
# (action "tools-size-decrease" "bracketleft")
# (action "tools-size-increase" "bracketright")
# (action "tools-clone" "c")
# (action "context-colors-default" "d")
# (action "edit-clear" "Delete")
# (action "view-zoom-1-8" "dollar" "<Shift>KP_4")
# (action "tools-ellipse-select" "e")
# (action "layers-select-bottom" "End")
# (action "view-reset" "exclam")
# (action "tools-free-select" "f")
# (action "help-help" "F1")
# (action "tools-gradient" "g")
# (action "view-zoom-revert" "grave")
# (action "tools-opacity-increase" "greater")
# (action "tools-heal" "h")
# (action "layers-select-top" "Home")
# (action "tools-iscissors" "i")
# (action "tools-ink" "k")
# (action "tools-opacity-decrease" "less")
# (action "tools-move" "m")
# (action "view-zoom-out" "minus" "KP_Subtract" "ZoomOut")
# (action "tools-pencil" "n")
# (action "view-zoom-1-4" "numbersign" "<Shift>KP_3")
# (action "tools-color-picker" "o")
# (action "tools-paintbrush" "p")
# (action "layers-select-next" "Page_Down")
# (action "layers-select-previous" "Page_Up")
# (action "view-zoom-1-16" "percent" "<Shift>KP_5")
# (action "view-zoom-in" "plus" "KP_Add" "ZoomIn")
# (action "tools-align" "q")
# (action "tools-rect-select" "r")
# (action "tools-smudge" "s")
# (action "dialogs-action-search" "slash" "KP_Divide")
# (action "tools-text" "t")
# (action "tools-fuzzy-select" "u")
# (action "tools-warp" "w")
# (action "context-colors-swap" "x")
# (action "tools-mypaint-brush" "y")
# (action "tools-zoom" "z")

...and all of these, even though they are commented out, are enabled default shortcuts.

(On my Mac <Primary> means the "Command" key.)
Reply


Forum Jump: